aboutsummaryrefslogtreecommitdiff
path: root/test/command/4159.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-01-13 22:12:32 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2018-01-13 22:12:32 -0800
commite7d95cadf537909bcb1e7d17d4545932d6bb34bc (patch)
tree30e2fd0f5f116f252d68b894f073a96b779a75ea /test/command/4159.md
parent485535464df27f5c2e2dd144650af318bde239c1 (diff)
downloadpandoc-e7d95cadf537909bcb1e7d17d4545932d6bb34bc.tar.gz
LaTeX reader: pass through macro defs in rawLaTeXBlock...
even if the `latex_macros` extension is set. This reverts to earlier behavior and is probably safer on the whole, since some macros only modify things in included packages, which pandoc's macro expansion can't modify. Closes #4246.
Diffstat (limited to 'test/command/4159.md')
-rw-r--r--test/command/4159.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/command/4159.md b/test/command/4159.md
index 81deba53a..4881edcc5 100644
--- a/test/command/4159.md
+++ b/test/command/4159.md
@@ -3,5 +3,6 @@
\newcommand{\gen}{a\ Gen\ b}
abc
^D
-[Para [Str "abc"]]
+[RawBlock (Format "latex") "\\newcommand{\\gen}{a\\ Gen\\ b}"
+,Para [Str "abc"]]
```