pcooksey/bibtex-js

Some LaTeX special characters are not converted properly

Opened this issue · 1 comments

I found two LaTeX special characters that cannot be properly converted:

"\c{c}" in BibTeX shows as "\cc" in HTML (not the correct character ç)
"{\c{C}}" in BibTeX shows as "\cC" in HTML (not the correct character Ç)
"'{\i}" in BibTeX shows as "\i" in HTML (not the correct character í)

For both cases, the latex_to_unicode variable has already included the correct Unicode conversion rules, so I am not sure what is going wrong.

"\\c{c}":"\u00E7" (ç)
"\\c{C}": "\u00C7" (Ç)
"\\'{\\i}":"\u00ED" (í)

The above errors can be found at https://www.hooklee.com/Research/SoK/SoK.html by searching "\cc", "\cC" and "\i". The .bib file is here: http://www.hooklee.com/Research/SoK/SoK.bib