From a92e43575fb44c47263603b1dc5db9ef4f7421d3 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 8 Oct 2018 20:47:09 -0700 Subject: LaTeX writer: with `--biblatex`, use `\autocite` when possible. `\autocites{a1}{a2}{a3}` will not collapse the entries. So, if we don't have prefixes and suffixes, we use instead `\autocite{a1;a2;a3}`. Closes #4960. --- test/command/4960.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test/command/4960.md (limited to 'test') diff --git a/test/command/4960.md b/test/command/4960.md new file mode 100644 index 000000000..7253b533a --- /dev/null +++ b/test/command/4960.md @@ -0,0 +1,22 @@ +``` +% pandoc -t latex --biblatex +[@a1;@a2;@a3] +^D +\autocite{a1,a2,a3} +``` + +``` +% pandoc -t latex --biblatex +@a1 [@a2;@a3] +^D +\textcite{a1,a2,a3} +``` + +``` +% pandoc -t latex --biblatex +[@a1, blah; @a2; see @a3] +^D +\autocites[blah]{a1}{a2}[see][]{a3} +``` + + -- cgit v1.2.3