diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-11-24 10:12:13 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-11-24 10:12:13 +0100 |
commit | d7fb9db295b5257e6530eebbbe7481a5b7e46d1a (patch) | |
tree | dda4e4bbb53524af847b3d1b159538f6ab02b850 /src | |
parent | 07b306040364f71d820958f9c47216f99c483680 (diff) | |
download | pandoc-d7fb9db295b5257e6530eebbbe7481a5b7e46d1a.tar.gz |
LaTeX writer: use `\autocites*` when "suppress-author" citation used.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 5 |
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 |