Total Pageviews

Monday, 8 May 2017

bibliograpy: 把BibTeX文件转换为HTML文件

pip install latexcodec
(源码:https://github.com/mcmtroffaes/latexcodec)

pip install pybtex
(会显示:
 Installing pybtex-convert script to /usr/local/bin
    Installing pybtex-format script to /usr/local/bin
    Installing pybtex script to /usr/local/bin
Successfully installed pybtex )
(https://pybtex.org/, https://docs.pybtex.org/index.html) 
-------------- 

Converts BibTeX files to HTML bibliographies. 
 

bibliograpy

This tool converts BibTeX files to HTML bibliographies. Bibliograpy currently powers CensorBib, BlockchainBib, 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 bibtex2html, bibhtml, bib2xhtml, or anonbib.

from https://github.com/NullHypothesis/bibliograpy
 

No comments:

Post a Comment