1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
``` % pandoc -f latex -t native \newcommand\foo{+} Testing: $\mu\foo\eta$. ^D [ Para [ Str "Testing:" , Space , Math InlineMath "\\mu+\\eta" , Str "." ] ] ``` <!-- It would be nice to handle this case, but I don't know how: ``` % pandoc -f latex -t native \newcommand{\vecx}{a + b} $\hat\vecx$ ^D [Para [Math InlineMath "\\hat{a+b}"]] ``` -->