Skip to main content

Pelican cite plugin modified to work with nice-blog theme

Project description

pelican-cite-nice

Pelican cite plugin modified to work with nice-blog theme

Allows the use of BibTeX citations within a Pelican site.

Requirements

pelican-cite requires pybtex.

pip install pybtex

How to Use

This plugin reads a user-specified BibTeX file and generates bibliographic information within your articles and pages.

Configuration is simply:

PUBLICATIONS_SRC = 'content/pubs.bib'

If the file is present and readable, then content will be scanned for references to citation keys. These take the format [@Bai2011] or [@@Bai2011]. These will be replaced by incline citations which provide links to the full bibliographic information at the end of the article. The former reference would be replaced by a citation of the form "Bai & Stone (2011)", while the latter would be replaced by "(Bai & Stone, 2011)".

If a citation key is used which does not exist within the BibTeX file then a warning will be displayed.

The BibTeX file may, optionally, be provided or overridden on a per-article basis by supplying the meta-data publications_src.

Attribution

pelican-cite-nice is based on the pelican-cite plugin written by Chris MacMackin.

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_cite_nice-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

pelican_cite_nice-0.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file pelican_cite_nice-0.1.0.tar.gz.

File metadata

  • Download URL: pelican_cite_nice-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for pelican_cite_nice-0.1.0.tar.gz
Algorithm Hash digest
SHA256 55a675b1f8f5caffda6da406682387a6b3fb0849ce9d2890507b1ee354e82170
MD5 0ea3e24d288b1eb87dcacd4807259a37
BLAKE2b-256 5ec4ef907c79e28f0c3dbce9e3d5498bd9c3bafbb46fcd1be315229edb2adfca

See more details on using hashes here.

File details

Details for the file pelican_cite_nice-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pelican_cite_nice-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for pelican_cite_nice-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 012fdcef26540d21d4ea484d82428ab299dd6ddac70041668c270b2a4537ccd8
MD5 28fd56c0df45c56f023490c91a9273b1
BLAKE2b-256 2411d1972da20f4203539f5ef7b553b927a32d6375a2103bfa3f4ee468809216

See more details on using hashes here.

Supported by

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