![! 未定义控制序列。\bibrangeledash ->\bibendash](https://linux22.com/image/269164/!%20%E6%9C%AA%E5%AE%9A%E4%B9%89%E6%8E%A7%E5%88%B6%E5%BA%8F%E5%88%97%E3%80%82%5Cbibrangeledash%20-%3E%5Cbibendash%20.png)
此代码说明了该问题:
\documentclass[a4paper,12pt,catalan]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[catalan]{babel}
\usepackage[backend=biber]{biblatex}
\usepackage[style=english]{csquotes}
\usepackage[pdftex]{graphicx}
\usepackage{setspace}
\usepackage[dayofweek]{datetime}
\usepackage{mathtools}
\usepackage{eurosym}
\usepackage{filecontents}
\begin{filecontents}{example.bib}
@article{cerf_rfc_2007,
title = {{RFC} 4838, delay-tolerant networking architecture},
volume = {2},
number = {4},
journal = {{IRTF} {DTN} Research Group},
author = {Cerf, V and Burleigh, S and Hooke, A and Torgerson, L and Durst, R and Scott, K and Fall, K and Weiss, H},
year = {2007},
pages = {6}
}
@article{burleigh2003delay,
title={Delay-tolerant networking: an approach to interplanetary internet},
author={Burleigh, Scott and Hooke, Adrian and Torgerson, Leigh and Fall, Kevin and Cerf, Vint and Durst, Bob and Scott, Keith and Weiss, Howard},
journal={Communications Magazine, IEEE},
volume={41},
number={6},
pages={128--136},
year={2003},
publisher={IEEE}
}
\end{filecontents}
\addbibresource{./example.bib}
\begin{document}
\paragraph{}
cite\cite{cerf_rfc_2007}, cite2\cite{burleigh2003delay}
\printbibliography
\end{document}
使用 \printbibliography 打印参考书目时出现未定义的控制序列错误。这似乎是 biber 或 bilbaltex 对加泰罗尼亚语支持的问题,如果我将 babel 语言更改为英语,一切就都正常了。
编辑:添加 MWE。