Skip to main content

A Pelican reader to process BibTeX files

Project description

Pelican BibTeX Reader: A Plugin for Pelican

PyPI Version License

A Pelican reader to process BibTeX files

Installation

This plugin can be installed via:

python -m pip install pelican-bibtex-reader

Usage

This plugin uses python-bibtexparser to parse properly formatted BibTeX files for use in Pelican. Just put a BibTeX file with ending .bib anywhere in your content directory.

The content provided by this plugin consists of only a crude HTML rendering of the key-value pairs of each entry. However, the full bibtex database is available as Python object in the metadata of the page (key: bibtexdatabase). Using an appropriate template, nice lists of literature can be rendered, easily. Check out the literature list on my homepage for an example.

Metadata needed for Pelican (such as the title, the date, or the template to be used) can be added at the top of the .bib-file, using the following syntax:

% Title: Some title
% Date: 01.02.2023
% ...
% Feel free to write anything else; only
% key: value
% pairs are parsed. All other comments are ignored.

@MISC{...}

Contributing

Contributions are welcome and much appreciated. Every little bit helps. You can contribute by improving the documentation, adding missing features, and fixing bugs. You can also help out by reviewing and commenting on existing issues.

To start contributing to this plugin, review the Contributing to Pelican documentation, beginning with the Contributing Code section.

License

This project is licensed under the AGPL-3.0 license.

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

pelican_bibtex_reader-0.1.1.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pelican_bibtex_reader-0.1.1-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file pelican_bibtex_reader-0.1.1.tar.gz.

File metadata

  • Download URL: pelican_bibtex_reader-0.1.1.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.3.9-arch1-1

File hashes

Hashes for pelican_bibtex_reader-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ecb749eaab16c74b8f1ebf70f8935e7b9a04562a106994fce96cf985c043e041
MD5 fae0cd4098cb80ead14135d2e68cbfe2
BLAKE2b-256 167edb17741715ea4c8b4c748c396e01d207e545c8202ae312a0fc833f3b1373

See more details on using hashes here.

File details

Details for the file pelican_bibtex_reader-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pelican_bibtex_reader-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56382841a831181b7bb5ed17dc5f5c07e66361600eb12e96bd9b04a4983f6639
MD5 234a4038aefc22aa41135d0f7c4629a7
BLAKE2b-256 b5fa8d9f76ea6df30217c79cfa2b1ae69345a2680d9ddf53f36dbf59d8ba914d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page