看起来是在 的上次更新中引入了一个错误biblatex
。下面的代码曾经以小写字母输出作者的姓氏,但现在不行了?
\listfiles
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Lame,
title={Théorie mathématique de l'élasticité des corps solides},
author={Lamé, Gabriel},
year={1852},
publisher={Bachelier},
address={Paris}
}
\end{filecontents}
\usepackage{biblatex}
\addbibresource{\jobname.bib}
\renewcommand{\mkbibnamelast}[1]{\textsc{#1}} % IMPORTANT LINE TO BE COMMENTED
\begin{document}
PLO \textsc{Plo} plo
\nocite{*}
\printbibliography
\end{document}
这也是您所观察到的吗?
biblatex.sty 2016/03/03 v3.3 programmable bibliographies (PK/JW/AB)
biblatex_.sty 2016/03/03 v3.3 programmable bibliographies (biber) (PK/JW/AB)
blx-dm.def
biblatex-dm.cfg
blx-compat.def 2016/03/03 v3.3 biblatex compatibility (PK/JW/AB)
biblatex_.def
standard.bbx 2016/03/03 v3.3 biblatex bibliography style (PK/JW/AB)
numeric.bbx 2016/03/03 v3.3 biblatex bibliography style (PK/JW/AB)
numeric.cbx 2016/03/03 v3.3 biblatex citation style (PK/JW/AB)
biblatex.cfg
english.lbx 2016/03/03 v3.3 biblatex localization (PK/JW/AB)
答案1
这不是错误,而是名称格式系统的故意更改。您现在需要使用其他命令:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Lame,
title={Théorie mathématique de l'élasticité des corps solides},
author={Lamé, Gabriel},
year={1852},
publisher={Bachelier},
address={Paris}
}
\end{filecontents}
\usepackage{biblatex}
\addbibresource{\jobname.bib}
\renewcommand{\mkbibnamefamily}[1]{\textsc{#1}} % IMPORTANT LINE TO BE COMMENTED
\begin{document}
PLO \textsc{Plo} plo
\nocite{*}
\printbibliography
\end{document}
(下一个版本可能会有一些后备系统,但我还是建议改用新命令。)