From 7499499b68934ae6f3418940328c7fc2bd9fcadd Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 15 Oct 2012 19:11:01 -0700 Subject: 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. --- tests/Tests/Readers/LaTeX.hs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'tests') 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" -- cgit v1.2.3