複数文字の頭文字トリック{\relax Ch}arlesは、biblatexとbiberでは機能しなくなりました。

複数文字の頭文字トリック{\relax Ch}arlesは、biblatexとbiberでは機能しなくなりました。

以下のコードは、biblatex名前を(1 文字ではなく)Charlesと省略する必要があると想定していました。バックエンドを から に置き換えても問題なく動作しますが、そのまま使用すると が出力されます。ChC.biberbibtexC.

ほぼ最新の TeXLive 2020 でテストしました。最新の TeXLive 2019 では、biber がセグメント エラーになります (!)。かなり古い TeXLive 2015 では、想定どおりに動作します。

現在の TeXLive と biber を使用して複数文字のイニシャルを作成する方法はありますか?

\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{key,
  author={Doe, {\relax Ch}arles},
  title={Some Article Title},
  journal={Some Journal},
  volume={1},
  year={2020}
}
\end{filecontents}
\usepackage[backend=biber,style=authoryear,firstinits=true]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}

答え1

拡張入力方法を使用できます:

\documentclass{article}

\begin{filecontents}[overwrite]{ch-init.bib}
@article{key,
  author={given=Charles, given-i={Ch}, family=Doe},
  title={Some Article Title},
  journal={Some Journal},
  volume={1},
  year={2020}
}
\end{filecontents}
\usepackage[backend=biber,style=authoryear,uniquename=init,giveninits=true]{biblatex}
\addbibresource{ch-init.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}

ここに画像の説明を入力してください

関連情報