aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-07-03 08:24:01 -0700
committerJohn MacFarlane <[email protected]>2023-07-03 08:24:01 -0700
commit1b52baaf37bddf019d8c11fc1eb433b594f341fa (patch)
tree223e29f249db249c01c3a1435cfb88a691af37f3
parent9e9bdc9c3049064d73714bcc69cf10934c9491e4 (diff)
Typst writer: consolidate bibliography files...
into one `#bibliography` command. (Separate bibliographies are not possible.) Closes #8937.
-rw-r--r--data/templates/default.typst6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/default.typst b/data/templates/default.typst
index 67cbaf4f1..7b3fd0d41 100644
--- a/data/templates/default.typst
+++ b/data/templates/default.typst
@@ -87,10 +87,10 @@ $if(bibliographystyle)$
#set bibliography(style: "$bibliographystyle$")
$endif$
-$for(bibliography)$
+$if(bibliography)$
-#bibliography("$bibliography$")
-$endfor$
+#bibliography($for(bibliography)$"$bibliography$"$sep$,$endfor$)
+$endif$
$endif$
$for(include-after)$