diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-10-15 19:11:01 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-10-15 19:53:57 -0700 |
commit | 7499499b68934ae6f3418940328c7fc2bd9fcadd (patch) | |
tree | 191f56880bb1758623aa44f48e60811ec06021ed /tests/Tests | |
parent | b28630f577fd149580b18a300252cd0e1f173574 (diff) | |
download | pandoc-7499499b68934ae6f3418940328c7fc2bd9fcadd.tar.gz |
LaTeX reader: Use new suppressParens option for footnote citations.
Also changed Biblio, Markdown reader, and LaTeX reader tests because
of new citationSuppressParens field in Citation.
Diffstat (limited to 'tests/Tests')
-rw-r--r-- | tests/Tests/Readers/LaTeX.hs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/Tests/Readers/LaTeX.hs b/tests/Tests/Readers/LaTeX.hs index febc91765..ade998388 100644 --- a/tests/Tests/Readers/LaTeX.hs +++ b/tests/Tests/Readers/LaTeX.hs @@ -62,12 +62,13 @@ tests = [ testGroup "basic" ] baseCitation :: Citation -baseCitation = Citation{ citationId = "item1" - , citationPrefix = [] - , citationSuffix = [] - , citationMode = AuthorInText - , citationNoteNum = 0 - , citationHash = 0 } +baseCitation = Citation{ citationId = "item1" + , citationPrefix = [] + , citationSuffix = [] + , citationMode = AuthorInText + , citationNoteNum = 0 + , citationSuppressParens = False + , citationHash = 0 } rt :: String -> Inlines rt = rawInline "latex" |