JabRef 4.0
Linux 4.10.0-37-generic amd64
Java 1.8.0_144
Steps to reproduce:
- create an idential folderstructure on Windows and on Linux (f.e. use sync-systems like: dropbox, onedrive, googledrive, owncloud)
- JabRef on Windows&Linux must have the same "Main file directory" (f.e. Linux: /home/jkalliau/ownCloud and Windows: C:/Users/jkalliau/ownCloud)
- add a PDF-File to an article in JabRef to a bibtex-file on Windows
- try to open this PDF-File in JabRef on Linux
The problem is that Windows saves:
File = {:..\\..\\Literature\\DNA\\Weitere\\Bai_Martin_Scheres_Dietz_2012_PNAS.pdf:PDF},
file = {:PhDJK\\Literature\\MD\\Amber17.pdf:PDF},
But Linux saves as:
file = {:PhDJK/Literature/MD/Amber17.pdf:PDF},
With JabRef 3.8.2 neither Windows nor Linux had problems using different File-Structures, but now with JabRef 4 on Linux it does (JabRef can't find the file). :-(
On Windows with JabRef4.0 it still works also with Linux-Filepathes.
This bib-file has developed over some time with JabRef 3.x and it always worked to open with JabRef 3.8.2 on Windows and on Linux, also both added file-paths in a different form.
I would stay with JabRef 3.8.2, but due to bug #2879 I prefer JabRef 4.
Otherwise I might have to use sed to correct the path-mistakes.
bib-file with filepath saved on Windows
```
% Encoding: UTF-8
@Article{bai2012cryo,
Title = {{Cryo-EM} structure of a {3D} {DNA-origami} object},
Author = {Bai, Xiao-chen and Martin, ThomasG and Scheres, SjorsHW and Dietz, Hendrik},
Journal = {Proceedings of the National Academy of Sciences},
Year = {2012},
Month = dec,
Number = {49},
Pages = {20012--20017},
Volume = {109},
Adsnote = {Provided by the SAO/NASA Astrophysics Data System},
Adsurl = {http://adsabs.harvard.edu/abs/2012PNAS..10920012B },
Doi = {10.1073/pnas.1215713109},
File = {:..\..\Literature\DNA\Weitere\Bai_Martin_Scheres_Dietz_2012_PNAS.pdf:PDF},
Groups = {DNA},
Keywords = {rank2},
Publisher = {National Acad Sciences}
}
@Article{case2017amber,
author = {Case, David A and Walker, Ross C and Cheatham III, Thomas E and Simmerling, Carlos LI and Roitberg, Adrian and Merz, Kenneth M and Luo, Ray and Darden, Tom A and Wang, Junmei and Duke, Robert E and Daniel R. Roe and Scott LeGrand and Jason Swails and Andreas W. Götz and David Cerutti and Tyler Luchko and Gérald Monard and Celeste Sagui and Feng Pan and Charles Lin and Daniel Mermelstein and Pengfei Li and Alexey Onufriev and Saeed Izadi and Romain M. Wolf and Xiongwu Wu and Holger Gohlke and Nadine Homeyer and Ruxi Qi and Wesley M. Botello-Smith and Li Xiao and D’Artagnan Greene and Tim Giese and Taisung Lee and Darrin York and Jian Liu and Hai Nguyen and Igor Omelyan and Andriy Kovalenko and Peter A. Kollman and Zhang, W and others},
title = {Amber 2017 Reference Manual (Covers Amber16 and AmberTools17)},
journal = {University of California, San Francisco},
year = {2017},
month = may,
day = {29},
file = {:PhDJK\Literature\MD\Amber17.pdf:PDF},
url = {http://ambermd.org/doc12/Amber17.pdf},
}
@comment{jabref-meta: databaseType:bibtex;}
@comment{jabref-meta: grouping:
0 AllEntriesGroup:;
1 StaticGroup:DNA;0;1;;;;;
}
Steps to reproduce:
The problem is that Windows saves:
But Linux saves as:
With JabRef 3.8.2 neither Windows nor Linux had problems using different File-Structures, but now with JabRef 4 on Linux it does (JabRef can't find the file). :-(
On Windows with JabRef4.0 it still works also with Linux-Filepathes.
This bib-file has developed over some time with JabRef 3.x and it always worked to open with JabRef 3.8.2 on Windows and on Linux, also both added file-paths in a different form.
I would stay with JabRef 3.8.2, but due to bug #2879 I prefer JabRef 4.
Otherwise I might have to use sed to correct the path-mistakes.
bib-file with filepath saved on Windows
``` % Encoding: UTF-8@Article{bai2012cryo,
Title = {{Cryo-EM} structure of a {3D} {DNA-origami} object},
Author = {Bai, Xiao-chen and Martin, Thomas
G and Scheres, SjorsHW and Dietz, Hendrik},Journal = {Proceedings of the National Academy of Sciences},
Year = {2012},
Month = dec,
Number = {49},
Pages = {20012--20017},
Volume = {109},
Adsnote = {Provided by the SAO/NASA Astrophysics Data System},
Adsurl = {http://adsabs.harvard.edu/abs/2012PNAS..10920012B },
Doi = {10.1073/pnas.1215713109},
File = {:..\..\Literature\DNA\Weitere\Bai_Martin_Scheres_Dietz_2012_PNAS.pdf:PDF},
Groups = {DNA},
Keywords = {rank2},
Publisher = {National Acad Sciences}
}
@Article{case2017amber,
author = {Case, David A and Walker, Ross C and Cheatham III, Thomas E and Simmerling, Carlos LI and Roitberg, Adrian and Merz, Kenneth M and Luo, Ray and Darden, Tom A and Wang, Junmei and Duke, Robert E and Daniel R. Roe and Scott LeGrand and Jason Swails and Andreas W. Götz and David Cerutti and Tyler Luchko and Gérald Monard and Celeste Sagui and Feng Pan and Charles Lin and Daniel Mermelstein and Pengfei Li and Alexey Onufriev and Saeed Izadi and Romain M. Wolf and Xiongwu Wu and Holger Gohlke and Nadine Homeyer and Ruxi Qi and Wesley M. Botello-Smith and Li Xiao and D’Artagnan Greene and Tim Giese and Taisung Lee and Darrin York and Jian Liu and Hai Nguyen and Igor Omelyan and Andriy Kovalenko and Peter A. Kollman and Zhang, W and others},
title = {Amber 2017 Reference Manual (Covers Amber16 and AmberTools17)},
journal = {University of California, San Francisco},
year = {2017},
month = may,
day = {29},
file = {:PhDJK\Literature\MD\Amber17.pdf:PDF},
url = {http://ambermd.org/doc12/Amber17.pdf},
}
@comment{jabref-meta: databaseType:bibtex;}
@comment{jabref-meta: grouping:
0 AllEntriesGroup:;
1 StaticGroup:DNA;0;1;;;;;
}