FlamingTempura / bibtex-parse

Parse BibTeX to JSON.
MIT License
7 stars 2 forks source link

Support for TeX escape characters #2

Open Gei0r opened 3 years ago

Gei0r commented 3 years ago

I have a Bibtex file that contains TeX escape characters such as \"{u} for ü. Here's a list of such codes.

Can you add support for these codes? Currently bibtex-parse does it like this: \"{u} --> "u, so I can't use unicodeit to fix this after the fact either.

tonycesar commented 3 years ago

Hi, I have the similar issue with accent in Google Scholar, here a cite:

@article{guach2020caracteristicas,
  title={Caracter{\'\i}sticas cl{\'\i}nico-epidemiol{\'o}gicas de la COVID-19},
  author={Guach, Ronny Alejandro Dieguez and Tejeda, Jairo Jes{\'u}s Gomez and Abreu, Manuel Ram{\'o}n P{\'e}rez},
  journal={Revista Habanera de Ciencias M{\'e}dicas},
  volume={19},
  number={2},
  pages={1--15},
  year={2020}
}