BibSync is a tool to synchronize scientific papers and bibtex bibliography files
BibSync is a tool to synchronize your paper database with a BibTeX file which might be most
useful for Physicists and Mathematicians since it supports synchronization with DOI and arXiv.
I created this tool during the work on my diploma thesis in physics since I was unhappy
with existing tools like Mendeley. I use this tool together with Git for version control
and JabRef for browsing. This tool adheres more to the Unix philosophy that a small tool
for each task is better than one thing which tries to solve everything. If you use JabRef
for browsing and tagging it is unnecessary to sort the papers into different sub directories by hand.
Just throw them all in one directory!
Note: This tool is derived from a script which I used during my thesis. It worked
quite well and reliable during that time. But be aware that I used Git for version control
of the BibTeX file. So any mistakes which might be made by this tool could be reverted.
BibSync supports the following features:
pdftotext
(Linux, Windows, …)At first you have to ensure that you have the pdftotext
program available on your $PATH
. Under Debian you can install
the package using apt-get
as follows
$ apt-get install poppler-utils
$ pdftotext
pdftotext version 0.24.1
...
BibSync requires Ruby >= 1.9.2 to run. It is distributed as a RubyGems package. You can install it via
the command line
$ gem install bibsync
And for updating, you write
$ gem update bibsync
After that you can use the ‘bibsync’ tool on the command line. At first let’s validate
a BibTeX file called ‘thesis.bib’.
$ bibsync -b ~/thesis/thesis.bib
Then we want to synchronize all the papers in our paper directory with ‘bibsync’ and automatically download
the missing metadata.
$ bibsync -d ~/thesis/papers -b ~/thesis/thesis.bib
BibSync tries to download the metadata from arxiv.org and dx.doi.org. If you want to know more about the functions of ‘bibsync’ take a look at the command line help.
$ bibsync --help
If you have a suggestion for a better name, just let me know…
Daniel Mendler
See LICENSE