FlamingTempura / bibtex-tidy

Cleaner and Formatter for BibTeX files
https://flamingtempura.github.io/bibtex-tidy/
MIT License
859 stars 66 forks source link

Special characters and brackets enclosing #407

Closed benoitseron closed 1 month ago

benoitseron commented 1 year ago

When using the option "Enclose values in double braces" I found that special characters induce bugs. For instance,

      author={Garc{\'\i}a-Patr{\'o}n, Ra{\'u}l and Renema, Jelmer J and Shchesnovich, Valery},

becomes

    author       = {{Garc\'\i}a-Patr{\'o}n, Ra{\'u}l and Renema, Jelmer J and Shchesnovich, Valery}}}},

I am not sure if this is normal behaviour but it leads to problems at compilation (next lines will usually not show).

FlamingTempura commented 1 year ago

Thanks for the report - appears to be related to #410.

This is top of my list to look into when I find some time to work on bibtex-tidy.

FlamingTempura commented 1 month ago

Fixed in v1.14.0