2017-10-19 21:52:12 +02:00
|
|
|
```
|
2018-10-07 21:21:43 +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
|
|
|
|
[RawBlock (Format "latex") "\\makeatletter"
|
|
|
|
,RawBlock (Format "latex") "\\makeatother"]
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2018-10-07 21:21:43 +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
|
|
|
|
[RawBlock (Format "latex") "\\makeatletter"
|
|
|
|
,RawBlock (Format "latex") "\\makeatother"]
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2018-10-07 21:21:43 +02:00
|
|
|
pandoc -f latex+raw_tex -t native
|
2017-10-19 21:52:12 +02:00
|
|
|
\def\foo{bar}
|
|
|
|
\expandafter\bam\foo
|
|
|
|
^D
|
|
|
|
[RawBlock (Format "latex") "\\bambar"]
|
|
|
|
```
|