Closed ghost closed 1 year ago
I'm using citation-style-language.sty 2022-09-23 vv0.2.2 Citation Style Language for LaTeX
This appears to be the latest version, apparently after the implementation of cite collapsing that came in version 0.2.0?
I can't reproduce the bug. Please provide a MRE like this. And which compiler are you using, pdflatex or lualatex?
\documentclass{article}
\begin{filecontents}[overwrite, noheader]{example.bib}
@book{ITEM-1,
author = {D'Arcus, Bruce},
date = {2005-11-22},
note = {The apostrophe in Bruce's name appears in proper typeset form.},
publisher = {Routledge},
title = {Boundaries of Dissent: Protest and State Power in the Media Age},
}
@article{ITEM-2,
author = {Bennett, Jr., Frank G.},
year = {2009},
title = {Getting Property Right: ``Informal'' Mortgages in the {Japanese} Courts},
journal = {Pac. Rim L. \& Pol'y J.},
month = aug,
volume = {18},
pages = {463--509},
}
@book{ITEM-3,
author = {Leslie Lamport},
title = {{LaTeX}: A Document Preparation System: User's Guide
and Reference Manual},
publisher = {Addison-Wesley},
address = {Reading, MA, USA},
edition = {2},
year = {1994},
ISBN = {0-201-52983-1},
}
@Book{ITEM-4,
author = {Frank Mittelbach and Michel Goossens and Johannes Braams and
David Carlisle and Chris Rowley},
title = {The {LaTeX} Companion},
publisher = {Addison-Wesley},
address = {Reading, MA, USA},
edition = {2},
year = {2004},
ISBN = {0-201-36299-6},
}
\end{filecontents}
\usepackage[style = nature]{citation-style-language}
\addbibresource{example.bib}
\begin{document}
\cite{ITEM-1, ITEM-2, ITEM-3, ITEM-4}
\end{document}
When using a citation style with numeric citations (e.g., nature), a command like "\cite{ProgressAndPromise,10YrsGWAS,GWAScatalog,15YrsGWAS}" generates the superscript citation "14" instead of the expected "1-4".
I've read the documentation for the citation-style-language package, but I cannot see how to fix this seemingly basic problem. What am I missing? I can provide a minimal reproducible example, if needed.