2017-10-19 12:52:12 -07:00
|
|
|
```
|
2021-09-21 10:16:45 -07:00
|
|
|
% pandoc -f latex+raw_tex -t native
|
2017-10-19 12:52:12 -07:00
|
|
|
\def\filename@area{foo:bar:baz}
|
|
|
|
\makeatletter
|
|
|
|
\graphicspath\expandafter{\expandafter{\filename@area}}%
|
|
|
|
\makeatother
|
|
|
|
^D
|
2021-09-29 08:28:54 -07:00
|
|
|
[ RawBlock (Format "latex") "\\makeatletter"
|
|
|
|
, RawBlock (Format "latex") "\\makeatother"
|
2021-09-19 12:09:51 -07:00
|
|
|
]
|
2017-10-19 12:52:12 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2021-09-21 10:16:45 -07:00
|
|
|
% pandoc -f latex+raw_tex -t native
|
2017-10-19 12:52:12 -07:00
|
|
|
\makeatletter
|
|
|
|
\newcommand\urlfootnote@[1]{\footnote{\url@{#1}}}
|
|
|
|
\DeclareRobustCommand{\urlfootnote}{\hyper@normalise\urlfootnote@}
|
|
|
|
\makeatother
|
|
|
|
^D
|
2021-09-28 21:17:53 -07:00
|
|
|
[ RawBlock (Format "latex") "\\makeatletter"
|
|
|
|
, RawBlock (Format "latex") "\\makeatother"
|
2021-09-19 12:09:51 -07:00
|
|
|
]
|
2017-10-19 12:52:12 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2021-09-21 10:16:45 -07:00
|
|
|
% pandoc -f latex+raw_tex -t native
|
2017-10-19 12:52:12 -07:00
|
|
|
\def\foo{bar}
|
|
|
|
\expandafter\bam\foo
|
|
|
|
^D
|
2021-09-28 21:17:53 -07:00
|
|
|
[ RawBlock (Format "latex") "\\bambar" ]
|
2017-10-19 12:52:12 -07:00
|
|
|
```
|