From 3b5949e8f278a8d407777f567fdaf8e421323ced Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 21 Aug 2018 21:01:52 -0700 Subject: LaTeX reader: support blockcquote, foreignblockquote from csquotes. Also foreigncblockquote, hyphenblockquote, hyphencblockquote. Closes #4848. But note: currently foreignquote will be parsed as a regular Quoted inline (not using the quotes appropriate to the foreign language). --- test/command/4848.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/command') diff --git a/test/command/4848.md b/test/command/4848.md index 287bd9d33..2cd2bab34 100644 --- a/test/command/4848.md +++ b/test/command/4848.md @@ -39,7 +39,8 @@ consectetuer. ^D [Para [Str "Lorem",Space,Str "ipsum"] ,BlockQuote - [Para [Str "dolor",Space,Str "sit",Space,Str "amet",Space,Cite [Citation {citationId = "Knu86", citationPrefix = [], citationSuffix = [Str "198"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [RawInline (Format "latex") "\\cite[198]{Knu86}"]]] + [Para [Str "dolor",Space,Str "sit",Space,Str "amet"] + ,Para [Cite [Citation {citationId = "Knu86", citationPrefix = [], citationSuffix = [Str "198"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] []]] ,Para [Str "consectetuer."]] ``` @@ -50,8 +51,8 @@ Lorem ipsum consectetuer. ^D [Para [Str "Lorem",Space,Str "ipsum"] -,Div ("",[],[("lang","it")]) - [BlockQuote +,BlockQuote + [Div ("",[],[("lang","it")]) [Para [Str "dolor",Space,Str "sit",Space,Str "amet"]]] ,Para [Str "consectetuer."]] ``` -- cgit v1.2.3