diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2012-09-06 16:27:01 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2012-09-06 16:27:01 -0700 |
| commit | 7d0438897b0df6cc861c9fc679ceeb976cb24c1a (patch) | |
| tree | dfaa0d928139166746660f24b9f8a7f1e900c318 /tests | |
| parent | e2cc9e7ca1cfc095482c72bee6684b5897e82445 (diff) | |
| download | pandoc-7d0438897b0df6cc861c9fc679ceeb976cb24c1a.tar.gz | |
LaTeX reader: Support obeylines environment.
Closes #604.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/latex-reader.latex | 5 | ||||
| -rw-r--r-- | tests/latex-reader.native | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/latex-reader.latex b/tests/latex-reader.latex index cd424baec..dd7854eb1 100644 --- a/tests/latex-reader.latex +++ b/tests/latex-reader.latex @@ -155,6 +155,11 @@ And: These should not be escaped: \$ \\ \> \[ \{ \end{verbatim} + +\begin{obeylines} +this has \emph{two +lines} +\end{obeylines} \begin{center}\rule{3in}{0.4pt}\end{center} \section{Lists} diff --git a/tests/latex-reader.native b/tests/latex-reader.native index 2ba7a78f2..b7cf39bc3 100644 --- a/tests/latex-reader.native +++ b/tests/latex-reader.native @@ -57,6 +57,7 @@ Pandoc (Meta {docTitle = [Str "Pandoc",Space,Str "Test",Space,Str "Suite"], docA ,CodeBlock ("",[],[]) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab" ,Para [Str "And:"] ,CodeBlock ("",[],[]) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{" +,Para [Str "this",Space,Str "has",Space,Emph [Str "two",LineBreak,Str "lines"]] ,HorizontalRule ,Header 1 [Str "Lists"] ,Header 2 [Str "Unordered"] |
