pandoc/test/command/4960.md
John MacFarlane a92e43575f 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.
2018-10-08 20:47:09 -07:00

22 lines
254 B
Markdown

```
% 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}
```