summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-11-24 10:12:13 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2016-11-24 10:12:13 +0100
commitd7fb9db295b5257e6530eebbbe7481a5b7e46d1a (patch)
treedda4e4bbb53524af847b3d1b159538f6ab02b850 /src
parent07b306040364f71d820958f9c47216f99c483680 (diff)
LaTeX writer: use `\autocites*` when "suppress-author" citation used.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/LaTeX.hs5
1 files changed, 3 insertions, 2 deletions
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