From d7fb9db295b5257e6530eebbbe7481a5b7e46d1a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 24 Nov 2016 10:12:13 +0100 Subject: LaTeX writer: use `\autocites*` when "suppress-author" citation used. --- src/Text/Pandoc/Writers/LaTeX.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index 19f29ceeb..52740ebe7 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -1111,8 +1111,9 @@ citationsToBiblatex (c:cs) = do return $ text cmd <> foldl' (<>) empty args where cmd = case citationMode c of - AuthorInText -> "\\textcites" - _ -> "\\autocites" + SuppressAuthor -> "\\autocites*" + AuthorInText -> "\\textcites" + NormalCitation -> "\\autocites" convertOne Citation { citationId = k , citationPrefix = p , citationSuffix = s -- cgit v1.2.3