diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-10-08 20:47:09 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-10-08 20:47:09 -0700 |
commit | a92e43575fb44c47263603b1dc5db9ef4f7421d3 (patch) | |
tree | a6ba58a1552d58d65c2264a351c6da64838e3820 /test/command | |
parent | b60c64d06e1fa7d5f3e41cc0c93da965a286e11c (diff) | |
download | pandoc-a92e43575fb44c47263603b1dc5db9ef4f7421d3.tar.gz |
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.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/4960.md | 22 |
1 files changed, 22 insertions, 0 deletions
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} +``` + + |