A tool to automatically retrieve bibtex entries
Project description
caleb
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 runcaleb
after eachpdflatex
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
- crossref_commons_py
python3
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
Release history Release notifications | RSS feed
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)
Built Distribution
caleb-0.5.0-py3-none-any.whl
(6.7 kB
view hashes)