Metadata-Version: 2.1
Name: pelican-bibtex-reader
Version: 0.1.0
Summary: A Pelican reader to process BibTeX files
Home-page: https://github.com/balanceofcowards/pelican-bibtex-reader
License: AGPL-3.0
Keywords: pelican,plugin,bibtex
Author: Andreas Fischer
Author-email: _@ndreas.de
Requires-Python: >=3.6.2,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Framework :: Pelican
Classifier: Framework :: Pelican :: Plugins
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: markdown
Requires-Dist: markdown (>=3.2); extra == "markdown"
Requires-Dist: pelican (>=4.5)
Project-URL: Documentation, https://docs.getpelican.com
Project-URL: Funding, https://donate.getpelican.com/
Project-URL: Issue Tracker, https://github.com/balanceofcowards/pelican-bibtex-reader/issues
Project-URL: Repository, https://github.com/balanceofcowards/pelican-bibtex-reader
Description-Content-Type: text/markdown

Pelican BibTeX Reader: A Plugin for Pelican
====================================================

[![PyPI Version](https://img.shields.io/pypi/v/pelican-bibtex-reader)](https://pypi.org/project/pelican-bibtex-reader/)
![License](https://img.shields.io/pypi/l/pelican-bibtex-reader?color=blue)

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](https://github.com/sciunto-org/python-bibtexparser) to parse properly formatted BibTeX files for use in
[Pelican](https://getpelican.com/). 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](https://andreas.fischer-family.online/pages/publications.html)
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.

[existing issues]: https://github.com/balanceofcowards/pelican-bibtex-reader/issues
[Contributing to Pelican]: https://docs.getpelican.com/en/latest/contribute.html

License
-------

This project is licensed under the AGPL-3.0 license.

