aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.latex
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-05-10 22:04:36 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-05-10 22:04:36 +0000
commit5660e6ba11ed828bab12e48a35a6daf917c1fcbc (patch)
treed40e5014c70d53e81cea1582bfbb0261ad07951b /tests/writer.latex
parentf9731108e82bac5fdfe527440013fb9a91a65dd1 (diff)
downloadpandoc-5660e6ba11ed828bab12e48a35a6daf917c1fcbc.tar.gz
Updated test suite with new tests for definition lists.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@597 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.latex')
-rw-r--r--tests/writer.latex43
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/writer.latex b/tests/writer.latex
index e7b4d08e4..a3bdc06d0 100644
--- a/tests/writer.latex
+++ b/tests/writer.latex
@@ -304,6 +304,49 @@ Same thing but with paragraphs:
\end{itemize}
\begin{center}\rule{3in}{0.4pt}\end{center}
+\section{Definition Lists}
+
+Tight using spaces:
+
+\begin{description}
+\item[apple] red fruit
+\item[orange] orange fruit
+\item[banana] yellow fruit
+\end{description}
+Tight using tabs:
+
+\begin{description}
+\item[apple] red fruit
+\item[orange] orange fruit
+\item[banana] yellow fruit
+\end{description}
+Loose:
+
+\begin{description}
+\item[apple] red fruit
+
+\item[orange] orange fruit
+
+\item[banana] yellow fruit
+
+\end{description}
+Multiple blocks with italics:
+
+\begin{description}
+\item[\emph{apple}] red fruit
+
+contains seeds, crisp, pleasant to taste
+
+\item[\emph{orange}] orange fruit
+
+\begin{verbatim}
+{ orange code block }
+\end{verbatim}
+\begin{quote}
+orange block quote
+
+\end{quote}
+\end{description}
\section{HTML Blocks}
Simple block on one line: