aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-01-17 09:22:35 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2018-01-17 09:22:35 -0800
commitca8cd38bdca72d1db4ba740481c48e3705b6ee63 (patch)
treec2ce07f9d7c1f869f33f34a647eef20401301b24 /test/command
parentfcbec16e573e6f6bcab2775f48a3ad0a2e1a540f (diff)
downloadpandoc-ca8cd38bdca72d1db4ba740481c48e3705b6ee63.tar.gz
Markdown reader: don't coalesce adjacent raw LaTeX blocks...
if they are separated by a blank line. See lierdakil/pandoc-crossref#160 for motivation.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/adjacent_latex_blocks.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/command/adjacent_latex_blocks.md b/test/command/adjacent_latex_blocks.md
new file mode 100644
index 000000000..3e72f1d4f
--- /dev/null
+++ b/test/command/adjacent_latex_blocks.md
@@ -0,0 +1,9 @@
+```
+% pandoc -f markdown -t native
+\listoffigures
+
+\listoftables
+^D
+[RawBlock (Format "latex") "\\listoffigures"
+,RawBlock (Format "latex") "\\listoftables"]
+```