I'm using biblatex to handle my bibliography, and there are certain names in my .bib file that contain unusual characters. Normally, biblatex handles this just fine.
Unfortunately, the journal I'm submitting to has \usepackage[T1]{fontenc}
as part of their template, and in the T1 encoding, these characters disappear. Composing the characters out of standard LaTeX diacritics rather than using precomposed Unicode characters seems to make no difference.
Is there any way around this without changing the font encoding (which I'm unsure if I can do)?
MWE:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{biblatex}
\addbibresource{mwe.bib}
\begin{document}
\cite{testentry}
\v{S} \v{s} \v{r}
\printbibliography
\end{document}
@misc{testentry,
author={\v{S}a\v{s}kov\'{a}, Kate\v{r}ina},
title={Test Entry},
year={2021},
}
The same happens if I give the name in UTF-8 as {Šašková, Kateřina}
instead of using \v{S}
and \'
. Strangely, this doesn't happen if I use \v{S}
and such in my document itself.
biblatex
and Biber version you are using? If I run your MWE on a recently-updated MikTeX system (biblatex
v3.19 and Biber 2.19) I get the expected output i.stack.imgur.com/u3OdP.png. It's true that with BibTeX you should have additional curly braces as Mico writes and that with Biber (which your MWE should use by default) it's nicer to just go with the UTF-8 characters directly, but it surprises me a bit that the code shown here does not work when at least one of the other two options does work for you.fontenc
should not be used with XeLaTeX and LuaLaTeX as they handle fonts differently. (With German for example\usepackage[T1]{fontenc}
will cause wrong output forß
in XeLaTeX and LuaLaTeX.)\usepackage[T1]{fontenc}
that probably means the authors of that template don't want you to use anything other than pdfLaTeX or they didn't think anyone would use anything else.