我正在使用 Bibtex 查找参考文献。虽然我\nocite
之前使用过该命令,但仍然收到错误“未定义的控制序列”。在使用命令或其他参考书目命令时,\printbibliography
我没有遇到同样的问题;此问题仅发生在 上。\ref
\nocite
\usepackage[style=alphabetic]{biblatex}
\bibliography{bib}
\begin{document}
\nocite{Arnold89}
\printbibliography
\end{document}
在 bibtex 文件中我们有
@book {Arnold89,
AUTHOR = {Arnol\cprime d, V. I.},
TITLE = {Mathematical methods of classical mechanics},
SERIES = {Graduate Texts in Mathematics},
VOLUME = {60},
EDITION = {Second},
NOTE = {Translated from the Russian by K. Vogtmann and A. Weinstein},
PUBLISHER = {Springer-Verlag, New York},
YEAR = {1989},
PAGES = {xvi+508},
ISBN = {0-387-96890-3},
MRCLASS = {58Fxx (70-02 70H05)},
MRNUMBER = {997295},
DOI = {10.1007/978-1-4757-2063-1},
URL = {https://doi.org/10.1007/978-1-4757-2063-1},
}
我收到的确切错误是“编译器无法理解您使用的命令。请检查命令拼写是否正确。如果命令是包的一部分,请确保已使用 \usepackage{...} 将该包包含在序言中。”
答案1
\cprime
未由您显示的包定义。请添加定义它的包或将其从 bib 文件中删除。
删除并加上\cprime
\usepackage{textcomp}:
@book {Arnold89,
AUTHOR = {Arnol\textquotesingle d, V. I.},
TITLE = {Mathematical methods of classical mechanics},
SERIES = {Graduate Texts in Mathematics},
VOLUME = {60},
EDITION = {Second},
NOTE = {Translated from the Russian by K. Vogtmann and A. Weinstein},
PUBLISHER = {Springer-Verlag, New York},
YEAR = {1989},
PAGES = {xvi+508},
ISBN = {0-387-96890-3},
MRCLASS = {58Fxx (70-02 70H05)},
MRNUMBER = {997295},
DOI = {10.1007/978-1-4757-2063-1},
URL = {https://doi.org/10.1007/978-1-4757-2063-1},
}