Is there some tool (disciple-specific or general) which takes as input a .bib file and shortens the entries, as much as possible? e.g.
- Replacing given names with initials ("Smith, John" -> "Smith, J." and "John Smith" to "J. Smith")
- Replacing journal and conference names with shorter versions (e.g. "Communications of the ACM" -> "Comm. ACM")
- Shortens names of cities and states
- Removes non-critical fields
I don't care whether the changes are in-place or to another file.
Note: I realize the bibliography style can take care of some of this, but - I want to work on .bib files themselves, plus, for the purposes of this question I don't have control of the bibliography style.
.bibfile somehow goes against what I see as the spirit of BibTeX, but I fully well see that it is the easiest and sometimes maybe even the only solution to produce the output that one might need. – moewe Aug 23 '19 at 20:12--toolmode (see in particular https://tex.stackexchange.com/q/415028/35864) and withbibtool. https://hsborges.github.io/bibtex-normalizer/ or https://github.com/sirrice/bibcleaner (never used them) might also be of interest – moewe Aug 23 '19 at 20:14