Skip to main content

Convert bibtex to html.

Project description

# bibtex2html.py

[bibtex2html.py](https://github.com/JianCheng/bibtex2html.py) coverts a bibtex file into an html file or a group of html files. It considers additional fields (e.g., note, code, etc.) in bibtex. It also can show corresponding google scholar citations related with bibtex entries by parsing the google scholar profile. The group mode was inspired by [bibtex2html](http://www-sop.inria.fr/members/Gregoire.Malandain/codes/bibtex2html.html) by Dr. Gregoire Malandain.

## Dependancies

Dependencies can be satisfied by running pip install -r requirements.txt

## Install

  • Use pip:

` sudo pip install bibtex2html.py `

  • Or download latest codes from github

` git clone https://github.com/JianCheng/bibtex2html.py cd  bibtex2html.py pip install -r requirements.txt `

## Examples

#### To generate an html file

  • Generate paper lists by type and by year using a configuration file. It requires access to google scholar.

` cd examples bibtex2html.py papers.bib papers.html -c papers.ini `

  • Do not show paper citations if you cannot access google scholar. Override options in configuration file.

` bibtex2html.py papers.bib papers.html -c papers.ini --nc ` Or

` bibtex2html.py papers.bib papers.html -c papers.ini -i "{'show_citation':'no', 'show_total_citation':False}" `

  • Generate paper list by type with a selected first author and selected years.

` bibtex2html.py papers.bib papers.html -c papers.ini -i "{'show_paper_style':'type', 'selection_and': {'author_first': ['Jian Cheng'], 'year':[2010,2013] }}" `

#### To generate a group of html files

  • Use author_group option to specify a group of people, then generate html files for the group.

` cd examples bibtex2html.py papers_group.bib papers -c papers_group.ini ` It outputs files in the folder papers.

  • Do not show paper citations if you cannot access google scholar. Override options in configuration file.

` bibtex2html.py papers_group.bib papers -c papers_group.ini --nc `

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bibtex2html.py, version 2.2
Filename, size File type Python version Upload date Hashes
Filename, size bibtex2html.py-2.2-py2.py3-none-any.whl (31.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size bibtex2html.py-2.2.tar.gz (42.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page