diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-06-01 09:24:26 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-06-01 09:25:10 -0700 |
commit | d32e8664498d799932927d9865ce71e014472ef3 (patch) | |
tree | 84ee3b27a1a442cfd9bc1a13e589ded4afd9f047 /test/command/4553.md | |
parent | 0fc7d38544346779051c2e25fb1d6f9c98a83a00 (diff) | |
download | pandoc-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.md | 15 |
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"]]] +``` + |