Skip to main content

A tool to automatically retrieve bibtex entries

Project description

caleb

PyPI version Coverage Status Build Status

caleb is a tool to automatically fill in your Latex citations.

Usage examples

See the examples directory along with the an_example.tex file. The following examples occur in the examples directory.

  • The best way is probably to integrate into latexmk. The -pdflatex flag allows us to run caleb after each pdflatex call.
latexmk -pdf -pdflatex='pdflatex %O %S; caleb %B' an_example
  • We can set the -pdflatex flag in a .latexmkrc file. This can either go in the your tex project folder or in the home directory. So in the .latexmkrc file, include the following line (see examples directory for an example):
$pdflatex='pdflatex %O %S; caleb %B'
  • The barebone approach is to run caleb before running bibtex.
pdflatex an_example
caleb an_example
bibtex an_example
pdflatex an_example
pdflatex an_example
  • By default, caleb will ignore any citation where crossref.org returns multiple results. To take the first result ordered by relevance, pass the --take-first flag. For example,
caleb --take-first an_example

Installation

Dependencies

Testing and Development Dependencies

setup.py

python setup.py install --user

pip

pip3 install caleb --user

Goal of project

  • Reach feature parity with IRL Caleb

Homepage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

caleb-0.5.0.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

caleb-0.5.0-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page