chem-acs 스타일이 로드된 biblatex를 사용하는 동안 여러 연속 참조 압축

chem-acs 스타일이 로드된 biblatex를 사용하는 동안 여러 연속 참조 압축

현재 다음을 사용하여 참조하고 있습니다.

\documentclass[12pt,a4paper,bibliography=totoc]{scrreprt}
\usepackage[ngerman]{babel}
\usepackage[backend=biber,bibstyle=chem-acs,sorting=none,biblabel=brackets,sortcites=true]{biblatex}
\addbibresource{references.bib}
\begin{document}
Somebody told me.\cite{James2003,Allendorf2009,Rowsell2004}
\printbibliography
\end{document}

reference.bib 파일에 다음이 포함되어 있다고 가정합니다.

@article{James2003,
author = {James, S. L.},
journal = {Chem. Soc. Rev.},
number = {5},
pages = {276--288},
title = {{Metal-organic frameworks}},
volume = {32},
year = {2003}
}

@article{Rowsell2004,
author = {Rowsell, Jesse L.C. and Yaghi, Omar M.},
journal = {Microporous Mesoporous Mater.},
pages = {3--14},
title = {{Metal-organic frameworks: a new class of porous materials}},
volume = {73},
year = {2004}
}

@article{Allendorf2009,
author = {Allendorf, M. D. and Bauer, C. A. and Bhakta, R. K. and Houk, R. J. T.},
journal = {Chem. Soc. Rev.},
number = {5},
pages = {1330--1352},
title = {{Luminescent metal-organic frameworks.}},
volume = {38},
year = {2009}
}

latex -> biber -> latex -> latex -> dvips -> ps2pdf를 실행하면(다른 이유로 이 절차가 필요함) 다음이 제공됩니다.

Somebody told me.[1, 2, 3]

다음과 같은 압축된 연속 참조를 어떻게 얻을 수 있습니까?

Somebody told me.[1-3]

cite 및 natbib 패키지는 압축 기능을 제공하지만 biblatex와 호환되지 않습니다. biblatex에는 숫자 구성 스타일이 있지만 chem-acs의 참고문헌 형식이 필요합니다. biblatex 문서는 실제로 대괄호 안의 숫자를 정렬하는 것처럼 보이지만 압축을 제공하지 않는 sortcites=true 옵션을 참조합니다.

당신의 도움을 주셔서 감사합니다!

답변1

을 사용하고 있습니다 bibstyle=chem-acs. 이는 인용 스타일이 기본값에서 변경되지 않았음을 의미합니다 biblatex. 아마도 인용 스타일도 원할 것입니다 chem-acs. 다음을 사용하면 훨씬 쉽습니다 style=chem-acs.

\begin{filecontents}{\jobname.bib}
@article{James2003,
author = {James, S. L.},
journal = {Chem. Soc. Rev.},
number = {5},
pages = {276--288},
title = {{Metal-organic frameworks}},
volume = {32},
year = {2003}
}

@article{Rowsell2004,
author = {Rowsell, Jesse L.C. and Yaghi, Omar M.},
journal = {Microporous Mesoporous Mater.},
pages = {3--14},
title = {{Metal-organic frameworks: a new class of porous materials}},
volume = {73},
year = {2004}
}

@article{Allendorf2009,
author = {Allendorf, M. D. and Bauer, C. A. and Bhakta, R. K. and Houk, R. J. T.},
journal = {Chem. Soc. Rev.},
number = {5},
pages = {1330--1352},
title = {{Luminescent metal-organic frameworks.}},
volume = {38},
year = {2009}
}
\end{filecontents}
\documentclass[12pt,a4paper,bibliography=totoc]{scrreprt}
\usepackage[ngerman]{babel}
\usepackage[backend=biber,style=chem-acs,biblabel=brackets]{biblatex}
\bibliography{\jobname}
\begin{document}
Somebody told me.\cite{James2003,Allendorf2009,Rowsell2004}
\printbibliography
\end{document}

이는 자동으로 설정되며 sorting=none이는 sortcites=true화학 스타일의 표준입니다.

관련 정보