diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-10-22 19:11:56 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-10-22 19:17:00 -0700 |
commit | 6f2347635ca86f4152e71ad766fea486692dd63d (patch) | |
tree | e992e4284831f199d7c3451b7bb8c14b0eeacde6 /tests | |
parent | a23a8e8b670fbcedc3d8ce9f71491197a68bb40b (diff) | |
download | pandoc-6f2347635ca86f4152e71ad766fea486692dd63d.tar.gz |
LaTeX reader: Initialize citationSuppressParens field.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Tests/Readers/LaTeX.hs | 3 | ||||
-rw-r--r-- | tests/latex-reader.native | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/Tests/Readers/LaTeX.hs b/tests/Tests/Readers/LaTeX.hs index febc91765..19e0aa4dd 100644 --- a/tests/Tests/Readers/LaTeX.hs +++ b/tests/Tests/Readers/LaTeX.hs @@ -67,7 +67,8 @@ baseCitation = Citation{ citationId = "item1" , citationSuffix = [] , citationMode = AuthorInText , citationNoteNum = 0 - , citationHash = 0 } + , citationHash = 0 + , citationSuppressParens = False } rt :: String -> Inlines rt = rawInline "latex" diff --git a/tests/latex-reader.native b/tests/latex-reader.native index 67a4e9011..6ddcac6d7 100644 --- a/tests/latex-reader.native +++ b/tests/latex-reader.native @@ -260,7 +260,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 ",",Space,Str "22-23"], citationMode = AuthorInText, citationNoteNum = 0, citationHash = 0}] [RawInline "latex" "\\cite[22-23]{smith.1899}"]]] + [[Para [Cite [Citation {citationId = "smith.1899", citationPrefix = [], citationSuffix = [Str ",",Space,Str "22-23"], citationMode = AuthorInText, citationNoteNum = 0, citationSuppressParens = False, 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"]] |