Minimalistic tool to manage your references with BibTeX
There are many BibTeX management tools out there that read and write BibTeX files, and thus helping to manage a literature database. However, they often alter BibTeX entries in unwanted and unforeseen ways. As this can easily destroy references in scientific publications, we aim to provide a solution that is more minimalistic: MibTeX.
With MibTeX, you are supposed to write and edit the BibTeX file on your own and have full control over it. MibTeX helps you to translate your literature into several other formats that are more suitable for certain tasks. For example, there is an export to an HTML page, which can be used to explore your literature database. It can list all publications by a certain author or conference. You can sort publications by year or number of Google scholar citations. Furthermore, you can define your own tags to classify the literature according to your needs.
Besides the export to HTML, there is an export to CSV, which is useful to embed certain references on a website. Also, there is a bot that continuously updates Google scholar citations for all articles in the literature database.
MibTeX is implemented in Java and comes as an Eclipse/Maven project.
Install and run it with ./MibTeX.sh (Maven required).
As MibTeX requires numerous paths on your local system there are two ways to specify those settings by a configuration file.
Create a configuration file (by default, options.ini in the root directory) specifying the required paths:
[options]
bibtex-dir=[absolute path to your literature.bib file]
main-dir=[absolute path to your output folder]
out-dir-rel=[relative path to the created html page]
pdf-dir=[absolute path to the PDFs for your BibTeX entries]
pdf-dir-rel=[relative path to the PDFs for your BibTeX entries]
comment-dir=[path do BibTags-Comments-Library]
comment-dir-rel=[relative path do BibTags-Comments-Library]
preprints-dir=[path to SoftVarE preprints directory]
tags=[list of BibTeX tags you want to use on the website]
clean=[optional value: true if you want to have the output directory cleaned before export]
citation-service=[optional value: true if you want to start the bot that reads from Google scholar]
citation-dir=[absolute path to the file that contains the file with the Google scholar citations]
out-format=[The type of export you want to run, such as HTML_NEW for output as HTML page; see code for more options]
As an example, this is Thomas' ini file for generating the BibTags website:
[options]
bibtex-dir=/Users/tthuem/git/team/BibTags/literature/
main-dir=/Users/tthuem/git/team/
out-dir-rel=Library/
pdf-dir=BibTags-Library/
pdf-dir-rel=../BibTags-Library/
comment-dir=BibTags-Comments-Library/
comment-dir-rel=../BibTags-Comments-Library/
preprints-dir=../Papers/
tags=tttags,tctags,samplingtags,sampling2tags,sampling3tags,sampling4tags,sampling5tags,sampling6tags,sampling7tags,sampling8tags,sampling9tags,sampling10tags
citation-dir=/Users/tthuem/git/team/BibTags-Old/classification/
out-format=HTML_NEW
- Navigate with the Terminal to the
MibTeXdirectory within this Git repository. You are at the right location whenlslists apom.xmlfile. - You can build with Maven. The following Maven command will build a Jar file for you to run:
mvn package
- The generated Jar file is located in the
targetdirectory, which is Maven's build directory. You can run the file directly or copy it to another place beforehand. The first argument to MibTeX should be a path to your ini file. By default, we group those files in theconfigdirectory at the root of this repository.java -jar target/MibTeX-1.0-SNAPSHOT.jar ../config/typo3.ini
All the above commands are documented in our Makefile which resides right next to the pom.xml for Maven.
- To clean the build files run:
make clean - To build run:
make build
The makefile contains a few default targets to run MibTeX. These goals assume that a respective ini file exists in the config directory. If you do not have a config there, oryour config is in another directory, consider running MibTeX manually (see above) or to adapt the Makefile (but do not commit those changes!).
- To run the HTML export:
make run-html-export. - To run the Typo3 export:
make run-typo3-export.