aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-02 21:03:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-02 21:03:05 -0700
commit6b286a1d74dd145d08565aaf85e2273ac9e7cef0 (patch)
treef10ba74265b6d830e8db051a5926c9dbb3f4e14f /test
parentd79242796b5bfa24788d30b239de3b15c0ed326c (diff)
downloadpandoc-6b286a1d74dd145d08565aaf85e2273ac9e7cef0.tar.gz
LaTeX reader: don't try to parse includes if raw_tex is set.
When the `raw_tex` extension is set, we just carry through `\usepackage`, `\input`, etc. verbatim as raw LaTeX. Closes #5673.
Diffstat (limited to 'test')
-rw-r--r--test/command/3530.md7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/command/3530.md b/test/command/3530.md
index 66393c856..178b36ff0 100644
--- a/test/command/3530.md
+++ b/test/command/3530.md
@@ -14,9 +14,6 @@
\subfile{command/sub-file-chapter-1}
\subfile{command/sub-file-chapter-2}
^D
-[Header 1 ("chapter-1",[],[]) [Str "Chapter",Space,Str "1"]
-,Para [Str "This",Space,Str "is",Space,Str "Chapter",Space,Str "1,",Space,Str "provided",Space,Str "in",Space,Str "a",Space,Str "sub",Space,Str "file."]
-,Header 1 ("chapter-2",[],[]) [Str "Chapter",Space,Str "2"]
-,Para [Str "This",Space,Str "is",Space,Str "Chapter",Space,Str "2,",Space,Str "provided",Space,Str "in",Space,Str "a",Space,Str "second",Space,Str "sub",Space,Str "file."]]
-
+[RawBlock (Format "latex") "\\subfile{command/sub-file-chapter-1}"
+,RawBlock (Format "latex") "\\subfile{command/sub-file-chapter-2}"]
```