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:
John MacFarlane
2018-10-15 11:46:31 -07:00
parent e6ee032a6d
commit 6f6ad0514d
2 changed files with 5 additions and 12 deletions
+1 -2
View File
@@ -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"]]
```