You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Integer overflow in the pages field of BibLaTeX entries #9117
I noticed that if the pages field for an article in a bibliography file exceeds the 32-bit limit, it will overflow. I noticed this first with the style american-physics-society. This is on Typst 0.15.1.
test.bib:
@article{test,
title = {Example where pages == i32::MAX},
author = {quarterwave0},
journaltitle = {Bugs and Erratum},
date = {2026},
pages = {2147483647},
}
@article{test2,
title = {Example where pages == 1 + i32::MAX},
author = {quarterwave0},
journaltitle = {Bugs and Erratum},
date = {2026},
pages = {2147483648},
}
main.typ:
#bibliography("test.bib", full: true)
I have attached a screenshot of the resultant output, based on the web app.
Activity
Lege19 commentedon Nov 28, 2026
I'm sure this will effect a lot of typst users between now and the end of the world