diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-10-07 12:21:43 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-10-07 12:21:43 -0700 |
commit | b806bff5b44abff96a1400f23448f986d238bff1 (patch) | |
tree | 52b7bd16bbd3e7023da1b0f4d809dca5efeca5d8 /test/command/3983.md | |
parent | 9b481c8787f2c6e69bce3bb264b4d4f1fe8ed78e (diff) | |
download | pandoc-b806bff5b44abff96a1400f23448f986d238bff1.tar.gz |
LaTeX reader: fix bugs omitting raw tex.
The default is `-raw_tex`, so no raw tex should result
unless we explicitly say `+raw_tex`. Previously some
raw commands did make it through.
Closes #4527.
Diffstat (limited to 'test/command/3983.md')
-rw-r--r-- | test/command/3983.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/command/3983.md b/test/command/3983.md index 7eaeb99f0..5d83941e7 100644 --- a/test/command/3983.md +++ b/test/command/3983.md @@ -1,5 +1,5 @@ ``` -pandoc -f latex -t native +pandoc -f latex+raw_tex -t native \def\filename@area{foo:bar:baz} \makeatletter \graphicspath\expandafter{\expandafter{\filename@area}}% @@ -10,7 +10,7 @@ pandoc -f latex -t native ``` ``` -pandoc -f latex -t native +pandoc -f latex+raw_tex -t native \makeatletter \newcommand\urlfootnote@[1]{\footnote{\url@{#1}}} \DeclareRobustCommand{\urlfootnote}{\hyper@normalise\urlfootnote@} @@ -21,7 +21,7 @@ pandoc -f latex -t native ``` ``` -pandoc -f latex -t native +pandoc -f latex+raw_tex -t native \def\foo{bar} \expandafter\bam\foo ^D |