summaryrefslogtreecommitdiff
path: root/tests/latex-reader.native
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-02-06 12:41:34 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-02-06 12:42:12 -0800
commitdf3f3ddb6eacc01b2462a862eb7bf8ee6db6b9f7 (patch)
treeca54e82ec14c7ec2e15104b07039324130189cec /tests/latex-reader.native
parent630c9f81ff77137b29ece2f2faf63ed4070a8768 (diff)
LaTeX reader: use raw latex as fallback for Cites.
This way you can still get the raw latex back, even if you don't process with citeproc. Previously, cites were not visible at all unless you specified --biblio on the command line and converted them using citeproc, or used --natbib or --biblatex.
Diffstat (limited to 'tests/latex-reader.native')
-rw-r--r--tests/latex-reader.native2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/latex-reader.native b/tests/latex-reader.native
index 070264ced..cac12eb71 100644
--- a/tests/latex-reader.native
+++ b/tests/latex-reader.native
@@ -259,7 +259,7 @@ Pandoc (Meta {docTitle = [Str "Pandoc",Space,Str "Test",Space,Str "Suite"], docA
,HorizontalRule
,Header 1 [Str "LaTeX"]
,BulletList
- [[Para [Cite [Citation {citationId = "smith.1899", citationPrefix = [], citationSuffix = [Str "22-23"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] []]]
+ [[Para [Cite [Citation {citationId = "smith.1899", citationPrefix = [], citationSuffix = [Str "22-23"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [RawInline "latex" "\\cite[22-23]{smith.1899}"]]]
,[Para [RawInline "latex" "\\doublespacing"]]
,[Para [Math InlineMath "2+2=4"]]
,[Para [Math InlineMath "x \\in y"]]