inspirer 0.1.0-alpha

For working with LaTeX, inspirehep.net, and BibTeX/BibLaTeX
Documentation

Inspirer crates.io crates.io

Travis build status AppVeyor build status Gitlab build status

For fetching BibTeX entries from INSPIRE and ADS.

This currently a rust clone of some features from inspiretools, with the added ability to fetch BibTeX entries from ADS.

Installation

First, install rust.

To install from git:

cargo install --git https://github.com/musoke/inspirer
cargo install --git https://gitlab.com/musoke/inspirer

To install from crates.io: to be released.

I haven't really tested with Windows, but do have tests on Appveyor which seem to pass sometimes.

AppVeyor build status

Usage

To read from file test_bibtex.aux (usually corresponding to a LaTeX file test_bibtex.tex) and write to stdout:

aux2bib test_bibtex.aux

To write to a file:

aux2bib test_bibtex.aux bibliography.bib

blg2bib works analogously but takes a BibTeX or BibLaTeX log as input. This allows retrieval of only entries which are not currently in the database.

There are some sample input files in example_files:

cargo run --bin aux2bib example_files/test_bitex.aux
cargo run --bin blg2bib example_files/test_bitex.blg
cargo run --bin blg2bib example_files/test_biber.blg

Things that are stupid

  • not yet parallelized
  • overly verbose logging
  • 7 MB binaries

Licence

Apache Licence 2.0