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