aboutsummaryrefslogtreecommitdiff
path: root/test/command/4159.md
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2017-12-22 17:59:47 -0800
committerJohn MacFarlane <[email protected]>2017-12-22 18:03:51 -0800
commit28b736bf957da0df79ffb211fc5e7ec4ff713c4b (patch)
tree5c8d905498626c2f32c49cacde3af7096485c21c /test/command/4159.md
parent4a07977715021da241b1bf5ab3e1ee62fef89fa1 (diff)
`latex_macros` extension changes.
Don't pass through macro definitions themselves when `latex_macros` is set. The macros have already been applied. If `latex_macros` is enabled, then `rawLaTeXBlock` in Text.Pandoc.Readers.LaTeX will succeed in parsing a macro definition, and will update pandoc's internal macro map accordingly, but the empty string will be returned. Together with earlier changes, this closes #4179.
Diffstat (limited to 'test/command/4159.md')
-rw-r--r--test/command/4159.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/command/4159.md b/test/command/4159.md
index 4881edcc5..81deba53a 100644
--- a/test/command/4159.md
+++ b/test/command/4159.md
@@ -3,6 +3,5 @@
\newcommand{\gen}{a\ Gen\ b}
abc
^D
-[RawBlock (Format "latex") "\\newcommand{\\gen}{a\\ Gen\\ b}"
-,Para [Str "abc"]]
+[Para [Str "abc"]]
```