typst / hayagriva

Rusty bibliography management.
Apache License 2.0
289 stars 44 forks source link

Additional page gets displayed when only one is specified in the bibliography entry #142

Closed xkevio closed 2 months ago

xkevio commented 3 months ago

Since #104, I believe, single page numbers in the pages field (.bib) or in the page-range field (.yml) no longer render correctly. It always adds the following page as well, turning p. 103, for example, into p. 103 -- 104. Note that, whatever the CSL style uses as a word for page does not get pluralized.

This can be reproduced with just about any simple entry and many styles, like the default IEEE. https://typst.app/project/rxfSNvq9A61PlAievgf9sa

xkevio commented 3 months ago

@Drodt / @DerDrodt, maybe you know what caused this since you worked on the recent page range commits.

DerDrodt commented 3 months ago

Yes, I have a quick fix in #145.