aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/latex-reader.latex7
-rw-r--r--tests/latex-reader.native5
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:"]