mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
LaTeX reader: make macroDef polymorphic and allow in inline context.
Otherwise we can't parse something like
```
\lowercase{\def\x{Foo}}
```
I have actually seen tex like this in the wild.
This commit is contained in:
@@ -5,6 +5,5 @@
|
||||
\h{a}
|
||||
\h{b}
|
||||
^D
|
||||
[Para [Emph [Str "no"]]
|
||||
,Para [Str "\225",SoftBreak,Str "b"]]
|
||||
[Para [Emph [Str "no"],SoftBreak,Str "\225",SoftBreak,Str "b"]]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user