FlamingTempura / bibtex-tidy

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

Adding unnecessary backslash for $ sign #413

Closed chenle02 closed 5 days ago

chenle02 commented 10 months ago

Here is the entry that I have

@article{MR131578,
  author        = {Fox, Charles},
  title         = {The {$G$} and {$H$} functions as symmetrical {F}ourier  kernels},
  journal       = {Trans. Amer. Math. Soc.},
  fjournal      = {Transactions of the American Mathematical Society},
  volume        = {98},
  year          = {1961},
  pages         = {395--429},
  issn          = {0002-9947},
  mrclass       = {33.21},
  mrnumber      = {131578},
  mrreviewer    = {K. Chandrasekharan},
  doi           = {10.2307/1993339},
  url           = {https://doi.org/10.2307/1993339}
}

After processing, $H$ becomes \$H\$, which is not desired:

@article{MR131578,
  author        = {Fox, Charles},
  title         = {The {$G$} and {\$H\$} functions as symmetrical {F}ourier  kernels},
  journal       = {Trans. Amer. Math. Soc.},
  fjournal      = {Transactions of the American Mathematical Society},
  volume        = {98},
  year          = {1961},
  pages         = {395--429},
  issn          = {0002-9947},
  mrclass       = {33.21},
  mrnumber      = {131578},
  mrreviewer    = {K. Chandrasekharan},
  doi           = {10.2307/1993339},
  url           = {https://doi.org/10.2307/1993339}
}