pandoc/test/command/4553.md
John MacFarlane d32e866449 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.
2018-06-01 09:25:10 -07:00

15 lines
246 B
Markdown

```
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"]]]
```