Know you want to use this library with LaTeX, Microsoft Word and OpenOffice/LibreOffice or other external programs.
Problems:
Bibliographic data is formatted the "wrong" way (especially after import from external databases).
in other words:
it can be that this data cannot be read with LaTeX engines
or vice versa, it will create wrong output when exporting to OO/LO
or MS-Word
or using this data for HTML
or ...
Hence the need to (manually or automatically) format the data into the "proper" format depending on which external program is supposed to be used. We have some field formatters for this. They are utilized by cleanup actions (field formatters as can be seen in https://github.com/JabRef/jabref/issues/8790#issuecomment-1125400446) and save actions. Cleanup actions can be found in the UI via Quality > Cleanup entries (ALT + F8). Save actions can be found via right clicking on the library tab and choosing library properties > saving > save actions. Typical examples for field formatters are latex2unicode or unicode2latex, but there are more.
There are (too) many field formatters that all would manually have to be set up.
Draft Solution:
Enhance "recommended" settings for field formatters.
Recommended (default) settings were introduced in an earlier version of JabRef via #2051
Go beyond what the older feature could do: Give recommended settings for various "states" the library could be in.
Example:
state
program user wants to use
recommended cleanup actions / save actions
Data formatted in LaTeX syntax
OpenOffice/LibreOffice
LaTeX2Unicode, normalize date, ...
Data formatted in UTF8 syntax
LaTeX
Unicode2LaTeX, normalize date, ...
Data formatted in LaTeX syntax
UnicodeAwareLaTeX
LaTeXtoUnicodAwareLaTeX (does not yet exist. See #8715 though, ...
Data formatted in UTF8 syntax
Microsoft Word
no change (i think?)
Data formatted in UTF8 syntax
OpenOffice/LibreOffice
no change (i think?)
...
...
...
Maybe it would be good to tie this to library modes, but I am not sure how that could look like exactly...
Additional context
There was a less thorough attempt at alleviating the situation in #8672.
Another related issue: #5579
Maybe connect this also to work with the integrity checker. This would be tracked #8736. The integrity checker could detect the "state" or the mode the library is in and notify users about compatibility.
Prerequisites
Problems:
Bibliographic data is formatted the "wrong" way (especially after import from external databases).
Hence the need to (manually or automatically) format the data into the "proper" format depending on which external program is supposed to be used. We have some field formatters for this. They are utilized by cleanup actions (field formatters as can be seen in https://github.com/JabRef/jabref/issues/8790#issuecomment-1125400446) and save actions. Cleanup actions can be found in the UI via
Quality > Cleanup entries (ALT + F8)
. Save actions can be found via right clicking on the library tab and choosinglibrary properties > saving > save actions
. Typical examples for field formatters arelatex2unicode
orunicode2latex
, but there are more.There are (too) many field formatters that all would manually have to be set up.
Draft Solution:
Enhance "recommended" settings for field formatters.
Go beyond what the older feature could do: Give recommended settings for various "states" the library could be in.
Example:
Maybe it would be good to tie this to library modes, but I am not sure how that could look like exactly...
Additional context