API

class pybtex_docutils.Backend(encoding=None)[source]

Bases: pybtex.backends.BaseBackend

citation(entry, document, use_key_as_label=True)[source]

Return citation node, with key as name, label as first child, and rendered text as second child. The citation is expected to be inserted into document prior to any docutils transforms.

citation_reference(entry, document, use_key_as_label=True)[source]

Return citation_reference node to the given citation. The citation_reference is expected to be inserted into document prior to any docutils transforms.

Project Versions

Previous topic

Getting Started

Next topic

Changes

This Page