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

Fixed two minor issues with `utf82latex` #10

Closed tim6her closed 6 years ago

tim6her commented 6 years ago

Dear phfaist,

thanks for maintaining this great module! However, while using it, I came across a minor issue.

>>> from pylatexenc.latexencode import utf8tolatex
>>> utf8tolatex('Erdős')
"Erd{\\'{o}}s"

Which LaTeX renders as

test

Furthermore, some descriptions were off.