A Pelican plugin that adds an RST directive for including a BibTeX publication list.
Project description
A plugin for the Pelican static website generator that embeds a BibTeX publication list in a page or article using a publications restructured text directive.
Usage:
.. publications:: path/to/publications.bib :template: path/to/publications.html :sort: date
By default pelican_publications uses a publications template in the Pelican theme. This can be overridden by setting the template option as a path to a Jinja2 template. The template is passed one parameter, publications, which is a list of BibTeX entries. These BibTeX entries are simple dictionaries in the format used by the bibtexparser Python package, with a few customisations such as converting page ranges to use an html en dash and splitting the author field into a list of authors.
Possible sort options are:
- date
Sort by publication date (this is the default).
- key
Sort by BibTeX key.
- name
Sort by author names.
Project details
Release history Release notifications | RSS feed
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
Hashes for pelican_publications-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41f5676507a974f44eb2ba0a649dcf52e423b735cad81e73a790aab18f388b71 |
|
MD5 | 759efa19a11d0f50a592dea6535efffe |
|
BLAKE2b-256 | cd6e985d73836313aa44a4dba49d111e253fbf8418f9a8ba10a9067199b6b9b3 |
Hashes for pelican_publications-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1b2a33c9c5c8bc13142256ff4e277e12a62c362789885b7b108ab4e5f8e9b2a |
|
MD5 | f98abb009955ce951bbb0097d453ca0b |
|
BLAKE2b-256 | 9f3dcefe01b07770b510bab071a69575a8b17092909a55b312060d11f44e448f |