jfbercher / jupyter_latex_envs

(Some) LaTeX environments for Jupyter
Other
112 stars 27 forks source link

Compatibility with ADS bib records #45

Open bersavosh opened 5 years ago

bersavosh commented 5 years ago

Hi there,

Thank you for the wonderful NB extension. I use the Astrophysics Data System for a lot of my bib references. ADS bib items are typically recorded like this:

@ARTICLE{1938AnMat..39...65E,
       author = {{Einstein}, Albert and {Infeld}, L. and {Hoffmann}, B.},
        title = "{The Gravitational Equations and the Problem of Motion}",
      journal = {Annals of Mathematics},
         year = "1938",
        month = "Jan",
       volume = {39},
       number = {1},
        pages = {65-100},
       adsurl = {https://ui.adsabs.harvard.edu/abs/1938AnMat..39...65E},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

Where there are curly braces around authors' last name, but not their first names. This format seems not be something bibtex handler in this extension understands. As the output, when used in a notebook looks like:

Screenshot from 2019-05-09 13-05-04