I started to use biblatex
not so long ago. Everything is working properly in general, however, I have had some trouble with the special character \'i
, used in order to obtain the character "í".
It will render only under very specific conditions. For example, I have had no trouble when render it using the book
entry type, but with the misc
entry type there is almost every time a problem and here is where the specific conditions begin. Let's see the MWE first.
main.tex
\documentclass{IEEEtran}
\usepackage[style=ieee,backend=biber]{biblatex}
\addbibresource{references.bib}
\begin{document}
\nocite{Citation}
\printbibliography
\end{document}
references.bib
@misc{Citation,
title={{\'a}{\'i}}
}
As you can see this MWE causes an error, a curious thing discovered is that if you make a brief modification in the references.bib file, the error is gone: instead of {\'a}{\'i}
put {\'i}{\'a}
.
A brief look at the output.bbl file can tell what is happening in the background: the input \'i
is being interpreted as \'\i{}
. This happens both in the misc
and book
entry types, the difference is that, for some reason, if the reference.bib (without the previous modification) is modified changing the entry type from misc
to book
, it will render without problem.
Question
How can this be fixed? What should be the correct workaround?
Additional info
I am working in an online platform (namely Overleaf).
\MakeSentenceCase
has some problems with the characters ... (biblatex-ieee
uses\MakeSentenceCase
for@misc
s, but not for@book
s). But maybe Biber's output routine needs tweaking.\'i
is at the beginning no uppercase alteration is performed. One more thing is that if you delete the\'a
(leaving the\'i
alone), the problem disappears but no character is rendered.\MakeSentenceCase
has some trouble with the characters from the.bbl
(\'{a}\'\i{}
).