Git Product home page Git Product logo

doi2bibtex.jl's Introduction

DOI2BibTeX.jl

Build status Coverage

Get a well-formatted, journal-abbreviated BibTeX string from a DOI:

julia> using DOI2BibTeX
julia> doi = "10.1103/PhysRevLett.45.494"
julia> doi2bib(doi)

With output:

@article{klitzing1980new,
  title = {New Method for High-Accuracy Determination of the Fine-Structure Constant Based on Quantized Hall Resistance},
  volume = {45},
  doi = {10.1103/physrevlett.45.494},
  number = {6},
  journal = {Phys. Rev. Lett.},
  author = {Klitzing, K. v. and Dorda, G. and Pepper, M.},
  year = {1980},
  pages = {494โ€“497}
}

The BibTeX entry is obtained from a GET request to https://doi.org/, following the approach described here.

Journal abbreviations

Journal titles returned by doi2bib are automatically abbreviated using the List of Title Word Abbreviations (disable by setting the abbreviate keyword argument of doi2bib to false).

The functionality is also separately accessible via the exported function journal_abbreviation:

julia> journal_abbreviation("Physical Review Letters")
"Phys. Rev. Lett."

julia> journal_abbreviation("Journal of Physical Chemistry Letters")
"J. Phys. Chem. Lett."

julia> journal_abbreviation("npj Quantum Materials")
"npj Quantum Mater."

Installation

The package is registered in Julia's General registry and can be installed from the pkg> prompt:

pkg> add DOI2BibTeX

doi2bibtex.jl's People

Contributors

thchr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.