JabRef / jabref

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

Cleanup entries ruins BibTeX-file-field #4195

Closed JoKalliauer closed 6 years ago

JoKalliauer commented 6 years ago

JabRef 4.3.1 Linux 4.15.0-24-generic amd64 Java 1.8.0_171

Steps to reproduce:

  1. open input.bib
  2. Mark all entries
  3. Cleanup entries
  4. Mark screenshot from 2018-07-12 16-59-36 4.a Upgrade external PDF/PS links tu use the 'file' field 4.b Convert to BibTeX format
  5. check if filelink is ruined output.bib

screenshot from 2018-07-12 17-04-19

so where is the difference:

input: file = {DNA.pdf:PhDJK/LaTeX/REFTable/DNA.pdf:PDF}, Output: file = {DNA.pdf\:PDF:DNA.pdf\:PhDJK/LaTeX/REFTable/DNA.pdf\:PDF:PDF},

Files: input.bib

File to open [input.bib](https://github.com/JabRef/jabref/files/2189068/input.bib.txt) ```bib % Encoding: UTF-8 @String { apr = {April} } @String { aug = {August} } @String { dec = {December} } @String { feb = {February} } @String { jan = {January} } @String { jul = {July} } @String { jun = {June} } @String { mar = {March} } @String { may = {May} } @String { nov = {November} } @String { oct = {October} } @String { sep = {September} } @Misc{wikiElastizitaetsmoduln, author = {Kalliauer, Johannes}, title = {{Vorlage:Elastizit{\"{a}}tsmoduln}}, howpublished = {Website}, month = jul, year = {2013}, note = {\url{https://de.wikipedia.org/w/index.php?title=Vorlage:Elastizitätsmoduln&oldid=120750110 } [Online; date: 21-July-2013]}, file = {ZusammenhaengeZwischenElastizitätsmoduln-Wikipedia_php.mht:PhDJK/Literature/DNA/Weitere/ZusammenhaengeZwischenElastizitätsmoduln-Wikipedia_php.mht:MHT}, groups = {DNA}, keywords = {rank2}, url = {\url{https://de.wikipedia.org/w/index.php?title=Vorlage:Elastizitätsmoduln&oldid=120750110 }}, urldate = {2013-07-21}, } @TechReport{kalliauer2017structural, author = {Kalliauer, Johannes and Hellmich, Christian}, title = {Structural mechanics of DNA}, year = {2017}, type = {resreport}, address = {Karslplatz 13/202, 1040 Wien}, month = dec, file = {DNA.pdf:PhDJK/LaTeX/REFTable/DNA.pdf:PDF}, groups = {AnStefan}, owner = {jkalliau}, school = {TU Wien}, timestamp = {2018.03.06}, } @Article{Kalliauer2018, author = {Kalliauer, Johannes and Schlappal, Thomas and Vill, Markus and Mang, Herbert and Pichler, Bernhard}, title = {Bearing capacity of concrete hinges subjected to eccentric compression: multiscale structural analysis of experiments}, journal = {Acta Mechanica}, year = {2018}, volume = {229}, number = {2}, pages = {849--866}, month = feb, issn = {1619-6937}, day = {01}, doi = {10.1007/s00707-017-2004-3}, file = {Kalliauer2018Bearing.pdf:Master/IMWS/Text/TeX/ActaMechanica.pdf:PDF; 10.1007_s00707-017-2004-3.pdf:PhDJK/Literature/10.1007_s00707-017-2004-3.pdf:PDF; Kalliauer2018Bearing.pdf:PhDJK/Literature/Kalliauer2018Bearing.pdf:PDF}, keywords = {read}, owner = {jkalliau}, publisher = {Springer Nature}, timestamp = {2018.03.06}, } @Conference{kalliauer2018parameter, author = {Kalliauer, Johannes and Schlappal, Thomas and Mang, Herbert A. and Pichler, Bernhard}, title = {Parameter identification as the basis for Finite Element simulations of Ultimate Limit States of concrete hinges}, booktitle = {Computational Modelling of Concrete Structures: Proceedings of the Conference on Computational Modelling of Concrete and Concrete Structures (EURO-C 2018), February 26 - March 1, 2018, Bad Hofgastein, Austria}, year = {2018}, editor = {Günther Meschke and Bernhard Pichler and {Jan G.} Rots}, number = {Euro-C2018}, pages = {689}, organization = {CRC Press}, file = {Kalliauer_et_al_EUROC_Paper.pdf:Master/IMWS/Text/EuroC/HM/Kalliauer_et_al_EUROC_Paper.pdf:PDF}, keywords = {read}, owner = {jkalliau}, timestamp = {2018.03.06}, url = {https://www.crcpress.com/Computational-Modelling-of-Concrete-Structures-Proceedings-of-the-Conference/Meschke-Pichler-Rots/p/book/9781138741171}, } @Comment{jabref-meta: databaseType:bibtex;} @Comment{jabref-meta: grouping: 0 AllEntriesGroup:; 1 StaticGroup:DNA\;0\;1\;\;\;\;; 2 StaticGroup:DNAOrigami\;0\;1\;\;\;\;; 2 StaticGroup:Importance\;0\;1\;\;\;\;; 2 StaticGroup:MD_DNA\;0\;1\;\;\;\;; 3 StaticGroup:AMBER_DNA\;0\;1\;\;\;\;; 2 StaticGroup:experiments\;0\;1\;\;\;\;; 3 StaticGroup:strechtingexperiment\;0\;1\;\;\;\;; 4 StaticGroup:Unloading\;0\;1\;\;\;\;; 2 StaticGroup:WLC\;0\;1\;\;\;\;; 3 StaticGroup:Persistenzlänge\;0\;1\;\;\;\;; 2 StaticGroup:S StrechingModulus\;0\;1\;\;\;\;; 2 StaticGroup:YoungsModulus\;0\;1\;\;\;\;; 2 StaticGroup:FEM\;0\;1\;\;\;\;; 2 StaticGroup:Sound\;0\;1\;\;\;\;; 2 StaticGroup:BelowPersitencelength\;0\;1\;\;\;\;; 1 StaticGroup:MD/MC\;0\;1\;\;\;\;; 2 StaticGroup:Amber\;0\;1\;\;\;\;; 2 StaticGroup:free energy\;0\;1\;\;\;\;; 2 StaticGroup:Monte Carlo\;0\;1\;\;\;\;; 2 StaticGroup:MD_DNA\;0\;1\;\;\;\;; 2 StaticGroup:ForceField\;0\;1\;\;\;\;; 3 StaticGroup:H2O\;0\;1\;\;\;\;; 3 StaticGroup:FF_DNA\;0\;1\;\;\;\;; 4 StaticGroup:parmbsc\;0\;1\;\;\;\;; 1 StaticGroup:Request\;0\;1\;\;\;\;; 2 StaticGroup:SHub\;0\;1\;\;\;\;; 2 StaticGroup:wait\;0\;1\;\;\;\;; 2 StaticGroup:LiteraturbestellungErhalten\;0\;1\;\;\;\;; 3 StaticGroup:LieferscheinE-Mail\;0\;1\;\;\;\;; 3 StaticGroup:Hauspost\;0\;1\;\;\;\;; 3 StaticGroup:digitalPerMail\;0\;1\;\;\;\;; 1 StaticGroup:VonHellmich\;0\;1\;\;\;\;; 1 StaticGroup:AnHellmich\;0\;1\;\;\;\;; 1 StaticGroup:AnStefan\;0\;1\;\;\;\;; 1 StaticGroup:VonKahl\;0\;1\;\;\;\;; 1 StaticGroup:AnKahl\;0\;1\;\;\;\;; 1 StaticGroup:Report of State of the art\;0\;1\;\;\;\;; 1 StaticGroup:PVP\;0\;1\;\;\;\;; 1 StaticGroup:Electron Density\;0\;1\;\;\;\;; } ```
File to open [output.bib](https://github.com/JabRef/jabref/files/2189119/output.bib.txt) ```bib % Encoding: UTF-8 @String { apr = {April} } @String { aug = {August} } @String { dec = {December} } @String { feb = {February} } @String { jan = {January} } @String { jul = {July} } @String { jun = {June} } @String { mar = {March} } @String { may = {May} } @String { nov = {November} } @String { oct = {October} } @String { sep = {September} } @Misc{wikiElastizitaetsmoduln, author = {Kalliauer, Johannes}, title = {{Vorlage:Elastizit{\"{a}}tsmoduln}}, howpublished = {Website}, month = jul, year = {2013}, note = {\url{https://de.wikipedia.org/w/index.php?title=Vorlage:Elastizitätsmoduln&oldid=120750110 } [Online; date: 21-July-2013]}, file = {ZusammenhaengeZwischenElastizitätsmoduln-Wikipedia_php.mht\:MHT:ZusammenhaengeZwischenElastizitätsmoduln-Wikipedia_php.mht\:PhDJK/Literature/DNA/Weitere/ZusammenhaengeZwischenElastizitätsmoduln-Wikipedia_php.mht\:MHT:PDF}, groups = {DNA}, keywords = {rank2}, url = {\url{https://de.wikipedia.org/w/index.php?title=Vorlage:Elastizitätsmoduln&oldid=120750110 }}, urldate = {2013-07-21}, } @TechReport{kalliauer2017structural, author = {Kalliauer, Johannes and Hellmich, Christian}, title = {Structural mechanics of DNA}, year = {2017}, type = {resreport}, address = {Karslplatz 13/202, 1040 Wien}, month = dec, file = {DNA.pdf\:PDF:DNA.pdf\:PhDJK/LaTeX/REFTable/DNA.pdf\:PDF:PDF}, groups = {AnStefan}, owner = {jkalliau}, school = {TU Wien}, timestamp = {2018.03.06}, } @Article{Kalliauer2018, author = {Kalliauer, Johannes and Schlappal, Thomas and Vill, Markus and Mang, Herbert and Pichler, Bernhard}, title = {Bearing capacity of concrete hinges subjected to eccentric compression: multiscale structural analysis of experiments}, journal = {Acta Mechanica}, year = {2018}, volume = {229}, number = {2}, pages = {849--866}, month = feb, issn = {1619-6937}, day = {01}, doi = {10.1007/s00707-017-2004-3}, file = {Kalliauer2018Bearing.pdf\:PDF:Kalliauer2018Bearing.pdf\:Master/IMWS/Text/TeX/ActaMechanica.pdf\:PDF\; 10.1007_s00707-017-2004-3.pdf\:PhDJK/Literature/10.1007_s00707-017-2004-3.pdf\:PDF\; Kalliauer2018Bearing.pdf\:PhDJK/Literature/Kalliauer2018Bearing.pdf\:PDF:PDF}, keywords = {read}, owner = {jkalliau}, publisher = {Springer Nature}, timestamp = {2018.03.06}, } @Conference{kalliauer2018parameter, author = {Kalliauer, Johannes and Schlappal, Thomas and Mang, Herbert A. and Pichler, Bernhard}, title = {Parameter identification as the basis for Finite Element simulations of Ultimate Limit States of concrete hinges}, booktitle = {Computational Modelling of Concrete Structures: Proceedings of the Conference on Computational Modelling of Concrete and Concrete Structures (EURO-C 2018), February 26 - March 1, 2018, Bad Hofgastein, Austria}, year = {2018}, editor = {Günther Meschke and Bernhard Pichler and {Jan G.} Rots}, number = {Euro-C2018}, pages = {689}, organization = {CRC Press}, file = {Kalliauer_et_al_EUROC_Paper.pdf\:PDF:Kalliauer_et_al_EUROC_Paper.pdf\:Master/IMWS/Text/EuroC/HM/Kalliauer_et_al_EUROC_Paper.pdf\:PDF:PDF}, keywords = {read}, owner = {jkalliau}, timestamp = {2018.03.06}, url = {https://www.crcpress.com/Computational-Modelling-of-Concrete-Structures-Proceedings-of-the-Conference/Meschke-Pichler-Rots/p/book/9781138741171}, } @Comment{jabref-meta: databaseType:bibtex;} @Comment{jabref-meta: grouping: 0 AllEntriesGroup:; 1 StaticGroup:DNA\;0\;1\;\;\;\;; 2 StaticGroup:DNAOrigami\;0\;1\;\;\;\;; 2 StaticGroup:Importance\;0\;1\;\;\;\;; 2 StaticGroup:MD_DNA\;0\;1\;\;\;\;; 3 StaticGroup:AMBER_DNA\;0\;1\;\;\;\;; 2 StaticGroup:experiments\;0\;1\;\;\;\;; 3 StaticGroup:strechtingexperiment\;0\;1\;\;\;\;; 4 StaticGroup:Unloading\;0\;1\;\;\;\;; 2 StaticGroup:WLC\;0\;1\;\;\;\;; 3 StaticGroup:Persistenzlänge\;0\;1\;\;\;\;; 2 StaticGroup:S StrechingModulus\;0\;1\;\;\;\;; 2 StaticGroup:YoungsModulus\;0\;1\;\;\;\;; 2 StaticGroup:FEM\;0\;1\;\;\;\;; 2 StaticGroup:Sound\;0\;1\;\;\;\;; 2 StaticGroup:BelowPersitencelength\;0\;1\;\;\;\;; 1 StaticGroup:MD/MC\;0\;1\;\;\;\;; 2 StaticGroup:Amber\;0\;1\;\;\;\;; 2 StaticGroup:free energy\;0\;1\;\;\;\;; 2 StaticGroup:Monte Carlo\;0\;1\;\;\;\;; 2 StaticGroup:MD_DNA\;0\;1\;\;\;\;; 2 StaticGroup:ForceField\;0\;1\;\;\;\;; 3 StaticGroup:H2O\;0\;1\;\;\;\;; 3 StaticGroup:FF_DNA\;0\;1\;\;\;\;; 4 StaticGroup:parmbsc\;0\;1\;\;\;\;; 1 StaticGroup:Request\;0\;1\;\;\;\;; 2 StaticGroup:SHub\;0\;1\;\;\;\;; 2 StaticGroup:wait\;0\;1\;\;\;\;; 2 StaticGroup:LiteraturbestellungErhalten\;0\;1\;\;\;\;; 3 StaticGroup:LieferscheinE-Mail\;0\;1\;\;\;\;; 3 StaticGroup:Hauspost\;0\;1\;\;\;\;; 3 StaticGroup:digitalPerMail\;0\;1\;\;\;\;; 1 StaticGroup:VonHellmich\;0\;1\;\;\;\;; 1 StaticGroup:AnHellmich\;0\;1\;\;\;\;; 1 StaticGroup:AnStefan\;0\;1\;\;\;\;; 1 StaticGroup:VonKahl\;0\;1\;\;\;\;; 1 StaticGroup:AnKahl\;0\;1\;\;\;\;; 1 StaticGroup:Report of State of the art\;0\;1\;\;\;\;; 1 StaticGroup:PVP\;0\;1\;\;\;\;; 1 StaticGroup:Electron Density\;0\;1\;\;\;\;; } ```

output.bib

JoKalliauer commented 6 years ago

Solved in JabRef 5.0-dev--snapshot--2018-07-12--master--dd9b22911