pcubillos / bibmanager

A BibTeX manager for LaTeX projects
https://bibmanager.rtfd.io
MIT License
62 stars 13 forks source link

bibm ads-update #72

Closed AaronDavidSchneider closed 3 years ago

AaronDavidSchneider commented 3 years ago

Hi,

I have a small bug to report. Sometimes, when I hit bibm ads-update and the shell returns

There were 1 entries updated from ArXiv to their peer-reviewed version.

I get the following error upon compiling a bibliography (bibm pdflatex):

! Undefined control sequence.
l.466   [\eprint
                [arXiv]{2009.09444}]

here is the corrisponding bibliography entry:

pdf: Notsu2020_arXiv_2009_9444.pdf
@ARTICLE{Notsu2020,
       author = {{Notsu}, Shota and {Eistrup}, Christian and {Walsh}, Catherine and
         {Nomura}, Hideko},
        title = "{The composition of hot Jupiter atmospheres assembled within chemically evolved protoplanetary discs}",
      journal = {\mnras},
     keywords = {astrochemistry, protoplanetary discs, ISM: molecules, planets and satellites: gaseous planets, planets and satellites: atmospheres, Astrophysics - Earth and Planetary Astrophysics, Astrophysics - Solar and Stellar Astrophysics},
         year = 2020,
        month = sep,
          doi = {10.1093/mnras/staa2944},
archivePrefix = {arXiv},
       eprint = {2009.09444},
 primaryClass = {astro-ph.EP},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2020MNRAS.tmp.2754N},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

I can silene the error by removing the eprint line.

Tested: removed entry completely using bibm edit and readded with

bibm ads-add 2020MNRAS.tmp.2754N Notsu2020

The error is still the same. Looks like this is an ADS error?

pcubillos commented 3 years ago

Hi, thanks for the report, I will take a look, but my gut feeling is that this is a .bst issue.

AaronDavidSchneider commented 3 years ago

ok thanks!

pcubillos commented 3 years ago

Hi Aaron, Sorry for the late answer, I was having too much fun with the other issue (btw, I noticed you looked at the browser issue, feel free to try the draft I wrote and give me your feedback if you want).

So, yeah, I can't reproduce your error when I include that entry into my bibtex file. But this is what I think is going on:

Let me know if that works!

AaronDavidSchneider commented 3 years ago

Thanks! That solved the problem! I love the browser by the way! I will give you feedback soon!

pcubillos commented 3 years ago

Awesome!