From d32e8664498d799932927d9865ce71e014472ef3 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 1 Jun 2018 09:24:26 -0700 Subject: 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. --- test/command/4553.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/command/4553.md (limited to 'test/command/4553.md') 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"]]] +``` + -- cgit v1.2.3