Total Pageviews

Wednesday, 20 May 2020

bibliograpy,Converts BibTeX files to HTML files


This tool converts BibTeX files to HTML bibliographies. Bibliograpy currently powers CensorBibBlockchainBib, and MixBib.

Dependencies

You need Pybtex and latexcodec.

Usage

To create an HTML bibliography in OUTPUT_DIRECTORY, simply run:
$ ./bibliogra.py -f BIBTEX_FILE OUTPUT_DIRECTORY
Alternatively, you can feed the tool over stdin:
$ cat BIBTEX_FILE | ./bibliogra.py OUTPUT_DIRECTORY
Running bibliograpy will result in five HTML files that sort the bibliography by year, reverse year, author, and reverse author. Furthermore, the tool tries to add links to local copies of publications. It adds such a link if it can find the respective publication in OUTPUT_DIRECTORY/pdf/BIBTEX_KEY.pdf. So if you have a BibTeX entry that starts with @inproceedings{JohnDoe, ...}, then bibliograpy will look for OUTPUT_DIRECTORY/pdf/JohnDoe.pdf.

Alternatives

Don't like bibliograpy? Then have a look at bibtex2htmlbibhtmlbib2xhtml, or anonbib.
from https://github.com/NullHypothesis/bibliograpy
--------------------

Overview

This repository contains the BibTeX file and HTML templates that are used to create the Internet censorship bibliography.

Build it

You first need bibliogra.py to turn the BibTeX file into an HTML bibliography.
Then, run the following commands to write the bibliography to OUTPUT_DIR.
$ ./fetch_pdfs.py references.bib OUTPUT_DIR
$ bibliogra.py -H header.tpl -F footer.tpl -f references.bib OUTPUT_DIR
from https://github.com/NullHypothesis/censorbib

No comments:

Post a Comment