Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup - rename PDF does not work #1251

Closed
leezu opened this issue Apr 20, 2016 · 6 comments
Closed

Cleanup - rename PDF does not work #1251

leezu opened this issue Apr 20, 2016 · 6 comments
Labels
status: waiting-for-feedback The submitter or other users need to provide more information about the issue

Comments

@leezu
Copy link

leezu commented Apr 20, 2016

JabRef version 3.3 on Linux, but was also not working for me at least in 3.2

Steps to reproduce:

  1. Have some entry with a linked PDF
  2. Use the cleanup entries functionality and select rename PDF or ask jabref to automatically download a PDF for the entry
  3. The entry does not get renamed / is downloaded and saved with \bibtexkey.pdf instead of \bibtexkey\begin{title} - \format[RemoveBrackets]{\title}\end{title}.pdf .

Also if the file is not named as the \bibtexkey (e.g. if its named uiae.pdf) no renaming happens.

I am not sure, if I misunderstood how the feature is working, but jabref only tells, that no cleanup of any entries is necessary, even though not a single file follows the \bibtexkey\begin{title} - \format[RemoveBrackets]{\title}\end{title}.pdf pattern.

Thank you for developing this awesome software.

@tobiasdiez
Copy link
Member

There was a problem that changes of the format specified under Preferences -> Import didn't carried over to the cleanup process. Restarting JabRef should fix this. Make sure that the correct rename format is displayed in the cleanup dialog under "File format pattern: ...".

If this also don't solve your problem, then please post the file field of your bibtex entries and the file-related configurations under File -> Database properties.

@tobiasdiez tobiasdiez added bug Confirmed bugs or reports that are very likely to be bugs status: waiting-for-feedback The submitter or other users need to provide more information about the issue labels Apr 20, 2016
@leezu
Copy link
Author

leezu commented Apr 21, 2016

So I created a new bib with only one PDF downloaded from arXiv ( http://arxiv.org/abs/1603.05382 ).

The File format pattern in the settings is:

\bibtexkey\begin{title} - \format[RemoveBrackets]{\title}\end{title}

The file field of the entry is

file = {:Zhaba2016.pdf:PDF}

I'd expect it to be something like

Zhaba2016 - [Part of the title].pdf

The cleanup action doesn't change the file field

jabref1
jabref2

tobiasdiez added a commit to tobiasdiez/jabref that referenced this issue Apr 22, 2016
@tobiasdiez
Copy link
Member

Thank you for the follow up. I tried to replicate the problem #1278, however without luck. Can you please try out the latest development version http://builds.jabref.org/master/. Maybe the problem was already fixed (although I doubt it).

@tobiasdiez tobiasdiez reopened this Apr 22, 2016
@leezu
Copy link
Author

leezu commented Apr 24, 2016

I can confirm that the problem still exists with JabRef-3.4dev--snapshot--2016-04-22--master--9c07a14.jar

Thanks for helping to investigate this issue tobias.

@tobiasdiez tobiasdiez removed the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Apr 24, 2016
@simonharrer
Copy link
Contributor

Cannot reproduce on current master - here the rename works as expected but I use the default preferences. Can you provide a minimal example (.bib file and the pdf) and your preferences (options - preferences - export preferences)?

@simonharrer simonharrer added the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label May 9, 2016
@stefan-kolb stefan-kolb removed the bug Confirmed bugs or reports that are very likely to be bugs label May 12, 2016
@tobiasdiez
Copy link
Member

Closing this issue due to inactivity 💤
Please reopen the issue with additional information if the problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-feedback The submitter or other users need to provide more information about the issue
Projects
None yet
Development

No branches or pull requests

4 participants