blob: ffd2cef8dcc5dbaaea94efbc7f94bbf71e5bb39a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
```
% 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}"]]
```
-->
|