package doi2bib

  1. Overview
  2. Docs
CLI tool to get bibtex entries from DOI/arXiv/PubMed IDs

Install

dune-project
 Dependency

Authors

Maintainers

Sources

doi2bib-0.7.7.tbz
sha256=667d14ba4d0fe8aea933187645368db40b7d16ebcd407a8e8c7991530f7913fd
sha512=524e6b62c3ebc40476af208cc94c9ba252dcf1c96a1900a5298f452b3e3e945dad3eb8bafab0486aa59d2aefad8b77f8653c76df3a690a938b437ec96c4e7df6

doc/CHANGES.html

0.7.7 (2025-08-07)

  • bibfmt and doi2bib drop the month field in bibtex. It is useless and the way DOI API reports it is also incompatible with many bibtex configurations.
  • doi2bib: fix for changes in PubMed API
  • bibfmt: add support for field entries capitalization and stricter parsing. Now, by default, field names are always upper cased.
  • doi2bib: make the parser fails if there are duplicate fields in a bibtex entry.

0.7.6 (2025-06-24)

  • Introduced new bibfmt tool and library (as a new package) for pretty printing and formatting BibTeX files.
  • doi2bib: always uses the improved BibTeX pretty-printer from bibfmt for output.
  • doi2bib: removed custom url-unescaping logic; this is now handled by bibfmt in a more systematic way.
  • Improved error reporting if parsing a BibTeX entry fails.

0.6.2 (2022-10-17)

  • Workaround for %-escapes in crossref's doi url field

0.6.1 (2022-02-03)

  • Fix batch processing: don't quit if some IDs are invalid
  • Fix static compilation of artifacts

0.6.0 (2022-02-03)

  • Support batch processing of files of IDs
  • Support append result to file

0.5.2 (2021-12-17)

  • Move from cuz to the published clz
  • Move from dx.doi.org to crossref rest api service, the latter gives better and more consistent results and does not seem to require a fallback service any longer
  • Update arxiv generated bibtex accordingly
  • Update ocamlformat

0.5.1 (2021-07-01)

  • Fix for transitive dependency in cuz
  • Improved lower bounds on the opam file

0.5.0 (2021-07-01)

  • Use cuz for the get calls with compression
  • Use arxiv.org/bibtex to obtain the bibtex entry for unpublished arxiv manuscripts and rely on the manual generation only if that fails reachable.
  • Handcrafted pretty printing of the output from crossref

0.4.1 (2021-04-20)

  • Fix incorrect use of Lwt.ignore_result

0.4.0 (2021-04-02)

  • Added support for gzipped stream using decompress
OCaml

Innovation. Community. Security.