A translator of BibTeX to HTML.
Project description
pybib2web
Convert BibTeX .bib files into a directory of HTML files.
The created HTML provide individual HTML pages for publications by year, publication type (category), author, keyword, and funding. A single-page view is also available. pybib2web provides semantics and easy customizability of each BibTeX element through HTML ids and classes.
This makes it easy to choose the data to display and style the bibliography to your needs.
Send us a message or create an issue if you require any assistance and/or have feedback!
Examples
You can find a raw example in doc/example/index.html. This example is generated with:
pybib2web --config doc/example/config.yml --output doc/example doc/example/db.bib
Two pages that use pybib2web with styling:
- Webpage of the Software and Computational Systems Lab (SoSy-Lab) at LMU Munich uses full pybib2web directory structure with individual pages for author, keywords, etc..
- Personal webpage of Thomas Lemberger uses
--singlepage
to display a single page with all entries.
Requirements
- python 3.8
Optional requirements
detex
is required to detexify BibTeX-entries that use LaTeX commands,
e.g., \sc{}
or ~
. If detex
is not installed, these LaTeX commands will be visible
in the HTML output.
Installation
After cloning the repository, run pip install -e .
to install pybib2web and its dependencies.
Usage
Run pybib2web --help
to show all available command-line options.
Basic usage:
pybib2web BIBFILE(s)
This will write a directory of HTML files to bib/
.
The index of these files is bib/index.html
.
This will, among other things, create an individual publication page for all authors that appear in the given BibTeX files. Often, one only wants to create these author-centered pages for individual authors- for example for oneself or a specific group of people. pybib2web can be configured through a config file to do this:
pybib2web --config CONFIG_YAML BIBFILE(s)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pybib2web-0.6.tar.gz
.
File metadata
- Download URL: pybib2web-0.6.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dde2f6b1faa9940a80588a29916e97357ac38db9fefd7e8b415c3b04edbb6070 |
|
MD5 | a082f62668eded6d5c2b0c530f468d0f |
|
BLAKE2b-256 | 1c53cce7a410885ebe84410d6085b5454fa6d116a23c538a3e40724848676ff6 |
File details
Details for the file pybib2web-0.6-py3-none-any.whl
.
File metadata
- Download URL: pybib2web-0.6-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1aea6d8b2ba868cb8a3f5797494ea2f8c06cc0272cacbcf996d634a7a8017d86 |
|
MD5 | 5355ed8c98bf67d335d88af62404798e |
|
BLAKE2b-256 | 5f02bbf6225e62bb5e911b2aed331ec0f365aa25d47ef412a2ea21799582121b |