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}

ファイル references.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 には numeric-comp スタイルがありますが、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=nonesortcites=true化学スタイルの標準となります。

関連情報