A simple script to generate a local bib file from a central database
Project description
A simple script to generate a local bib file from a central database so that only items actually cited appear.
Usage
$ makebib arg
where arg is either
the basename of a TeX-file, in which case the script creates a bib file and populates it with items which are cited by the document and can be found in the central database. Then it runs (a python version) of bibtex on the texfile.
or
--list which is followed by one of cited, missing, all, cfg and (in the first three cases) a TeX-file in which case the program prints out a list of
cited citekeys which are cited in the TeX-file
missing citekeys which are cited in the TeX-file but not present in the central database
all all citekeys in the central database
cfg configuration
or
--help which prints out a short help message
Configuration
The program reads its configuration from the files /etc/makebib, ~/.makebib or .makebib in the current directory. If either of the files does not exist, it is skipped. Also, options specified in later files override options specified in the previous files (and defaults). The files follow a simple
key = val
format with each line specifying a single case-insensitive option. Spaces around = are ignored as is everything following a # sign. Currently the only available option is db which specifies the location of the central BibTeX database.
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
Built Distribution
Hashes for makebib-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01c2f4048d1e2022f384617f7f4af3d832f23e4d60f7792a220da1b5fc820d57 |
|
MD5 | 7412d97e0ad30458176a65b44624500a |
|
BLAKE2b-256 | d4042e10193c358bc577ac9223550fc40d37dba98d2975985889f5c962ad8cb8 |