Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/changelog-1.9.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ All changes included in 1.9:
- ([#13474](https://github.com/quarto-dev/quarto-cli/issues/13474)): Heading font for title should default to `mainfont`.
- ([#13555](https://github.com/quarto-dev/quarto-cli/issues/13555)): Add support for `icon=false` in callouts when used in `format: typst`.
- ([#13589](https://github.com/quarto-dev/quarto-cli/issues/13589)): Fix callouts with invalid ID prefixes crashing with "attempt to index a nil value". Callouts with unknown reference types now render as non-crossreferenceable callouts with a warning, ignoring the invalid ID.
- ([#13602](https://github.com/quarto-dev/quarto-cli/issues/13602)): Fix support for multiple files set in `bibliography` field in `biblio.typ` template partial.

## Projects

Expand Down
2 changes: 1 addition & 1 deletion src/resources/formats/typst/pandoc/quarto/biblio.typ
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ $elseif(bibliographystyle)$
$endif$
$if(bibliography)$

#bibliography($for(bibliography)$"$bibliography$"$sep$,$endfor$)
#bibliography(($for(bibliography)$"$bibliography$"$sep$,$endfor$))
$endif$
$endif$
15 changes: 15 additions & 0 deletions tests/docs/smoke-all/2025/10/23/13602/13602-1.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Multiple bib in typst
format: typst
keep-typ: true
bibliography: references.bib
_quarto:
tests:
typst:
ensureTypstFileRegexMatches:
- ['\#bibliography\(\("references.bib"\)\)']
- []
---

A reference from the first file @smith1776inquirynaturecauses

19 changes: 19 additions & 0 deletions tests/docs/smoke-all/2025/10/23/13602/13602-2.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: Multiple bib in typst
format: typst
keep-typ: true
bibliography:
- references.bib
- references-1.bib
_quarto:
tests:
typst:
ensureTypstFileRegexMatches:
- ['\#bibliography\(\("references.bib","references-1.bib"\)\)']
- []
---

A reference from the first file @smith1776inquirynaturecauses

A reference from the second file @ricardo1817principlespoliticaleconomy

8 changes: 8 additions & 0 deletions tests/docs/smoke-all/2025/10/23/13602/references-1.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@book{ricardo1817principlespoliticaleconomy,
title = {On the Principles of Political Economy and Taxation},
author = {Ricardo, D.},
date = {1817},
publisher = {John Murray},
url = {https://books.google.com.au/books?id=cUBKAAAAYAAJ},
lccn = {18015237}
}
10 changes: 10 additions & 0 deletions tests/docs/smoke-all/2025/10/23/13602/references.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@book{smith1776inquirynaturecauses,
title = {An {{Inquiry}} into the {{Nature}} and {{Causes}} of the {{Wealth}} of {{Nations}}},
author = {Smith, Adam},
year = 1776,
edition = {1},
publisher = {Wiley},
urldate = {2024-11-07},
langid = {english},

}
Loading