JabRef / jabref

Graphical Java application for managing BibTeX and biblatex (.bib) databases
https://devdocs.jabref.org
MIT License
3.53k stars 2.47k forks source link

Add cleanup action for "LaTeX to LaTeX aware Unicode" #8715

Open JasonGross opened 2 years ago

JasonGross commented 2 years ago

Problem:

Desired Solution:

Example workflow:

  1. Have the following entry (BEFORE using the cleanup action):

      @Article{Testkey,
        author   = {Testauthor},
        title    = {Bibliographic data that can be read by LaTeX engines},
        a = {Here is a backslashed percentage sign \% and it should be excluded from conversion},
        b = {Here is a \textcopyright{} and it should be converted to Unicode}, 
      }

    (Comment: \textcopyright{} can be converted to © by the inputenc package. When using the LaTeX to Unicode aware LaTeX cleanup action, the result of the conversion should also be ©)

  2. Use cleanup action "LaTeX to Unicode aware LaTeX"

  3. AFTER using the cleanup action, the following result should emerge:

      @Article{Testkey,
        author   = {Testauthor},
        title    = {Bibliographic data that can be read by LaTeX engines},
        a = {Here is a backslashed percentage sign \% and it should be excluded from conversion},
        b = {Here is a © and it should be converted to Unicode}, 
      }

"Special Symbols" that would need to be excluded from conversion:

Additional Information

Originally posted by @ThiloteE in https://github.com/JabRef/jabref/issues/8490#issuecomment-1107461770

zkl-ai commented 2 years ago

Hello, can I take this issue? I have done something related to cleanup actions.

ThiloteE commented 2 years ago

Sure you can!