aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-06-01 23:24:49 -0700
committerJohn MacFarlane <[email protected]>2022-06-01 23:24:49 -0700
commitf53977e295a4c301759d54787a39d0737c155a16 (patch)
tree919090a2b338646e748cdefe64522b2d82dd7f99 /test/command
parente8be78f91af78bef31438b65954d411dcb635fae (diff)
LaTeX writer: Improve grouping with autocites.
Closes #8088.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/5849-prefix.md2
-rw-r--r--test/command/8088.md6
2 files changed, 7 insertions, 1 deletions
diff --git a/test/command/5849-prefix.md b/test/command/5849-prefix.md
index f3217a187..fe348205e 100644
--- a/test/command/5849-prefix.md
+++ b/test/command/5849-prefix.md
@@ -20,7 +20,7 @@
% pandoc -t latex --biblatex
[e.g. @a1;@a2, ch.3 and elsewhere;@a3; but also @a4;@a5]
^D
-\autocites[e.g.][ch.3 and elsewhere]{a1,a2}{a3}[but also][]{a4,a5}
+\autocites[e.g.][]{a1}[ch.3 and elsewhere]{a2}{a3}[but also][]{a4,a5}
```
```
% pandoc -t latex --biblatex
diff --git a/test/command/8088.md b/test/command/8088.md
new file mode 100644
index 000000000..34798ee8d
--- /dev/null
+++ b/test/command/8088.md
@@ -0,0 +1,6 @@
+```
+% pandoc -t latex --biblatex
+[@first, 1; @second; @third, 3]
+^D
+\autocites[1]{first}{second}[3]{third}
+```