JabRef / JabRef-Browser-Extension

Browser extension for JabRef to allow importing of new items directly from the browser.
https://www.jabref.org/
GNU Affero General Public License v3.0
83 stars 22 forks source link

Differences between browser extension and JabRef web search for arXiv import #171

Closed Socob closed 4 years ago

Socob commented 4 years ago

I’m seeing some differences when importing entries on arXiv using the browser extension compared to using the web search within JabRef itself. Using the following URL for example: https://arxiv.org/abs/1909.04667

The browser extension gives me

@Article{Weinberger2019,
  author       = {Weinberger, Rainer and Springel, Volker and Pakmor, Rüdiger},
  journal      = {arXiv:1909.04667 [astro-ph, physics:physics]},
  title        = {The {Arepo} public code release},
  year         = {2019},
  month        = sep,
  note         = {arXiv: 1909.04667},
  abstract     = {We introduce the public version of the cosmological magnetohydrodynamical moving-mesh simulation code Arepo. This version contains a finite-volume magnetohydrodynamics algorithm on an unstructured, dynamic Voronoi tessellation coupled to a tree-particle-mesh algorithm for the Poisson equation either on a Newtonian or cosmologically expanding spacetime. Time-integration is performed adopting local timestep constraints for each cell individually, solving the fluxes only across active interfaces, and calculating gravitational forces only between active particles, using an operator-splitting approach. This allows simulations with high dynamic range to be performed efficiently. Arepo is a massively distributed-memory parallel code, using the Message Passing Interface (MPI) communication standard and employing a dynamical work-load and memory balancing scheme to allow optimal use of multi-node parallel computers. The employed parallelization algorithms of Arepo are deterministic and produce binary-identical results when re-run on the same machine and with the same number of MPI ranks. A simple primordial cooling and star formation model is included as an example of sub-resolution models commonly used in simulations of galaxy formation. Arepo also contains a suite of computationally inexpensive test problems, ranging from idealized tests for automated code verification to scaled-down versions of cosmological galaxy formation simulations, and is extensively documented in order to assist adoption of the code by new scientific users.},
  annote       = {Comment: 33 pages, 6 figures, submitted to ApJS, https://www.arepo-code.org, repository: https://gitlab.mpcdf.mpg.de/vrs/arepo},
  file         = {:Weinberger2019/Weinberger2019 - The Arepo Public Code Release.pdf:PDF;arXiv Fulltext PDF:https\://arxiv.org/pdf/1909.04667.pdf:application/pdf},
  keywords     = {Astrophysics - Instrumentation and Methods for Astrophysics, Astrophysics - Cosmology and Nongalactic Astrophysics, Astrophysics - Astrophysics of Galaxies, Physics - Computational Physics},
  url          = {http://arxiv.org/abs/1909.04667},
  urldate      = {2020-05-11},
}

While using the JabRef arXiv web search results in

@Article{Weinberger2019,
  author       = {Rainer Weinberger and Volker Springel and Rüdiger Pakmor},
  title        = {The Arepo public code release},
  abstract     = {We introduce the public version of the cosmological magnetohydrodynamical moving-mesh simulation code Arepo. This version contains a finite-volume magnetohydrodynamics algorithm on an unstructured, dynamic Voronoi tessellation coupled to a tree-particle-mesh algorithm for the Poisson equation either on a Newtonian or cosmologically expanding spacetime. Time-integration is performed adopting local timestep constraints for each cell individually, solving the fluxes only across active interfaces, and calculating gravitational forces only between active particles, using an operator-splitting approach. This allows simulations with high dynamic range to be performed efficiently. Arepo is a massively distributed-memory parallel code, using the Message Passing Interface (MPI) communication standard and employing a dynamical work-load and memory balancing scheme to allow optimal use of multi-node parallel computers. The employed parallelization algorithms of Arepo are deterministic and produce binary-identical results when re-run on the same machine and with the same number of MPI ranks. A simple primordial cooling and star formation model is included as an example of sub-resolution models commonly used in simulations of galaxy formation. Arepo also contains a suite of computationally inexpensive test problems, ranging from idealized tests for automated code verification to scaled-down versions of cosmological galaxy formation simulations, and is extensively documented in order to assist adoption of the code by new scientific users.},
  date         = {2019-09-10},
  eprint       = {1909.04667},
  eprintclass  = {astro-ph.IM},
  eprinttype   = {arXiv},
  file         = {:http\://arxiv.org/pdf/1909.04667v1:PDF},
  keywords     = {astro-ph.IM, astro-ph.CO, astro-ph.GA, physics.comp-ph},
}

Is there any way to make this consistent? In particular, the browser extension is missing the eprint-related fields (eprint, eprintclass, eprinttype).

tobiasdiez commented 4 years ago

The browser extension uses the information printed on the page, while JabRef uses the official arXiv API. You can report the issue with the missing eprint fields at https://github.com/zotero/translators. Moreover, JabRef has a cleanup action that should extract the information from the note field and puts it in the eprint fields.