TeX - LaTeX Asked by Sergei Golovan on June 19, 2021
The code below used to trick biblatex
into assuming that the name Charles
should be abbreviated as Ch
(and not as one letter C.
). It still happily works if I replace the backend from biber
to bibtex
, but emits C.
if it’s used as it is.
I’ve tested it on more or less up-to date TeXLive 2020. On the latest TeXLive 2019 it segfaults biber (!). On fairly old TeXLive 2015 it works as supposed to.
Is there any way to create multi-letter initials using the currrent TeXLive and 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}
You can use the extended input method:
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}
Correct answer by Ulrike Fischer on June 19, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP