aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
Diffstat (limited to 'test/command')
-rw-r--r--test/command/latex-thebibliography.md49
1 files changed, 49 insertions, 0 deletions
diff --git a/test/command/latex-thebibliography.md b/test/command/latex-thebibliography.md
new file mode 100644
index 000000000..54b257c61
--- /dev/null
+++ b/test/command/latex-thebibliography.md
@@ -0,0 +1,49 @@
+# The bibliography
+
+```
+% pandoc -f latex -t native
+\begin{thebibliography}{10}
+ \bibitem{two} The Second.
+ \bibitem{four} The Fourth.
+\end{thebibliography}
+\begin{thebibliography}{100}
+ \bibitem[One1990]{one} The First.
+ \bibitem{two} The Second.
+\end{thebibliography}
+^D
+[ Div
+ ( "" , [ "thebibliography" ] , [] )
+ [ OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Div
+ ( "two" , [] , [] )
+ [ Para [ Str "The" , Space , Str "Second." ] ]
+ ]
+ , [ Div
+ ( "four" , [] , [] )
+ [ Para [ Str "The" , Space , Str "Fourth." ] ]
+ ]
+ ]
+ ]
+, Div
+ ( "" , [ "thebibliography" ] , [] )
+ [ DefinitionList
+ [ ( [ Str "One1990" ]
+ , [ [ Div
+ ( "one" , [] , [] )
+ [ Para [ Str "The" , Space , Str "First." ] ]
+ ]
+ ]
+ )
+ , ( [ Str "1" ]
+ , [ [ Div
+ ( "two" , [] , [] )
+ [ Para [ Str "The" , Space , Str "Second." ] ]
+ ]
+ ]
+ )
+ ]
+ ]
+]
+```
+