diff options
author | John MacFarlane <jgm@berkeley.edu> | 2012-03-19 08:29:19 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2012-03-19 08:29:19 -0700 |
commit | 2894df7b76776c0418be217539e27a9acb67f7fa (patch) | |
tree | bc9a9dc3191f7b341867e5638a3a7822c89ed9e5 | |
parent | 1db909e49bca332800bd6de38c22722ea559d40f (diff) | |
download | pandoc-2894df7b76776c0418be217539e27a9acb67f7fa.tar.gz |
Added test for one column table in LaTeX.
-rw-r--r-- | tests/latex-reader.latex | 7 | ||||
-rw-r--r-- | tests/latex-reader.native | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/latex-reader.latex b/tests/latex-reader.latex index 119ad0881..cd424baec 100644 --- a/tests/latex-reader.latex +++ b/tests/latex-reader.latex @@ -631,6 +631,13 @@ Dog & 2 \\ Cat & 1 \\ \hline \end{tabular} +A table with one column: + +\begin{tabular}{c} +Animal \\ +Vegetable +\end{tabular} + \begin{center}\rule{3in}{0.4pt}\end{center} \section{Special Characters} diff --git a/tests/latex-reader.native b/tests/latex-reader.native index c6f6ce500..2873529ae 100644 --- a/tests/latex-reader.native +++ b/tests/latex-reader.native @@ -281,6 +281,11 @@ Pandoc (Meta {docTitle = [Str "Pandoc",Space,Str "Test",Space,Str "Suite"], docA ,[Plain [Str "2"]]] ,[[Plain [Str "Cat"]] ,[Plain [Str "1"]]]] +,Para [Str "A",Space,Str "table",Space,Str "with",Space,Str "one",Space,Str "column:"] +,Table [] [AlignCenter] [0.0] + [[]] + [[[Plain [Str "Animal"]]] + ,[[Plain [Str "Vegetable"]]]] ,HorizontalRule ,Header 1 [Str "Special",Space,Str "Characters"] ,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "unicode:"] |