I am running JabRef and I have run into a weird behaviour I cannot comprehend. It is about adding a pdf file to an already existing entry via the “File” field in the “General” tab of an entry.
Minimum working example:
Create a folder testpdfs and a new database, saved as test.bib in the same folder as testpdfs. Set the general directory to .\testpdfs\ in Database Properties -> General File Directory. Add an empty entry (I choose Article class because that is my most common document). Navigate to the “General” tab of this entry and try to drag&drop a pdf (test.pdf) into the file field. A popup appears asking how test.pdf should be linked to the entry. Choose “Copy file to file directory” and press OK.
The file is not copied into \testpdfs\ and the file path entry uses the absolute file path to the current file directory.
I do not understand why JabRef does not copy my pdf to the folder \testpdfs\ and links that as a relative file. I would be very thankful for any help.