phfaist / pylatexenc

Simple LaTeX parser providing latex-to-unicode and unicode-to-latex conversion
https://pylatexenc.readthedocs.io
MIT License
301 stars 37 forks source link

i-acute in context of BibTeX #107

Closed rjaiser closed 3 months ago

rjaiser commented 3 months ago

Hi

I found that the default replacement for í in pylatexenc.latexencode is {\'\i}, which unfortunately causes problems in the context of BibTeX. My own research led me to https://tex.stackexchange.com/questions/23817/biber-writes-incorrect-unicode-encoding-of-i. The suggestion there is to replace í with {\'{i}}.

Thanks for considering this improvement Ralf