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

Unable to download arXiv PDFs if Title contains curly brackets #7633

Closed
1 task done
vlawhern opened this issue Apr 15, 2021 · 3 comments · Fixed by #7652
Closed
1 task done

Unable to download arXiv PDFs if Title contains curly brackets #7633

vlawhern opened this issue Apr 15, 2021 · 3 comments · Fixed by #7652
Labels
bug Confirmed bugs or reports that are very likely to be bugs fetcher good first issue An issue intended for project-newcomers. Varies in difficulty.

Comments

@vlawhern
Copy link

vlawhern commented Apr 15, 2021

JabRef version 5.2/5.3 (developmental) on Ubuntu 18.04 with the portable binary

JabRef is unable to download arXiv links if there are curly braces in the article title. For example, the following BibTeX source works just fine when searching for the full text online:

@Article{zhang_machine_2021v2,
  author  = {Zhang, Ruohan and Guo, Sihang and Liu, Bo and Zhu, Yifeng and Hayhoe, Mary and Ballard, Dana and Stone, Peter},
  journal = {arXiv:2010.15942v2 [cs]},
  title   = {Machine versus Human Attention in Deep Reinforcement Learning Tasks},
  year    = {2021},
  month   = feb,
  url     = {http://arxiv.org/abs/2010.15942v2},
}

However this version of the BibTeX source fails, giving a "No full text document found..." when trying to look up the document online and download the PDF:

@Article{zhang_machine_2021v2,
  author  = {Zhang, Ruohan and Guo, Sihang and Liu, Bo and Zhu, Yifeng and Hayhoe, Mary and Ballard, Dana and Stone, Peter},
  journal = {arXiv:2010.15942v2 [cs]},
  title   = {Machine versus {Human} {Attention} in {Deep} {Reinforcement} {Learning} {Tasks}},
  year    = {2021},
  month   = feb,
  url     = {http://arxiv.org/abs/2010.15942v2},
}

with the only difference being the curly braces around the words that are capitalized.

An easy fix for this is to simply delete the braces (the easiest way I've found is to use "Find and Replace" to delete the braces, limiting it to the Title field) but it would be great if it worked regardless of how the title is formatted.

The reason this comes up for me a lot is because I use a third-party resource to pull in several BibTeX sources at once and it automatically puts the braces around capitalized words... I currently have to remove the braces for every article manually.

@Siedlerchr Siedlerchr added good first issue An issue intended for project-newcomers. Varies in difficulty. bug Confirmed bugs or reports that are very likely to be bugs labels Apr 15, 2021
@Pikayue11
Copy link
Contributor

Hi, I think I have reproduced this bug and I'm intersting in this issue, could I try to fix it?

@Siedlerchr
Copy link
Member

Sure, go ahead.

@Pikayue11
Copy link
Contributor

Ok, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs fetcher good first issue An issue intended for project-newcomers. Varies in difficulty.
Projects
Archived in project
3 participants