aboutsummaryrefslogtreecommitdiff
path: root/test/command/4553.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-06-01 09:24:26 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-06-01 09:25:10 -0700
commitd32e8664498d799932927d9865ce71e014472ef3 (patch)
tree84ee3b27a1a442cfd9bc1a13e589ded4afd9f047 /test/command/4553.md
parent0fc7d38544346779051c2e25fb1d6f9c98a83a00 (diff)
downloadpandoc-d32e8664498d799932927d9865ce71e014472ef3.tar.gz
LaTeX reader: handle includes without surrounding blanklines.
In addition, `\input` can now be used in an inline context, e.g. to provide part of a paragraph, as it can in LaTeX. Closes #4553.
Diffstat (limited to 'test/command/4553.md')
-rw-r--r--test/command/4553.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/command/4553.md b/test/command/4553.md
new file mode 100644
index 000000000..e5122d4d9
--- /dev/null
+++ b/test/command/4553.md
@@ -0,0 +1,15 @@
+```
+pandoc -f latex -t native
+foo \include{command/bar}
+^D
+[Para [Str "foo"]
+,Para [Emph [Str "hi",Space,Str "there"]]]
+```
+
+```
+pandoc -f latex -t native
+foo \input{command/bar}
+^D
+[Para [Str "foo",Space,Emph [Str "hi",Space,Str "there"]]]
+```
+