这是indexloc提供的服务,不要输入任何密码
Skip to content

mitya57/sphinxcontrib-bibtex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sphinx extension for bibtex style references.

The sphinxcontrib-bibtex extension allows bibtex references to be inserted into your documentation. The extension adds a bibliography directive, and a cite role, which work similarly to LaTeX's \bibliography and \cite commands.

author:Matthias C. M. Troffaes <matthias.troffaes@gmail.com>
license:BSD, see LICENSE.rst for details

Inspired by bibstuff.sphinxext.bibref by Matthew Brett.

Installation

Install the module with pip install sphinxcontrib-bibtex, or from source using python setup.py install. Then add:

extensions = ['sphinxcontrib.bibtex']

to your project's Sphinx configuration file conf.py.

Minimal Example

In your project's documentation, you can then write for instance:

See :cite:`1987:nelson` for an introduction to non-standard analysis.

.. bibliography:: refs.bib

where refs.bib would contain an entry:

@Book{1987:nelson,
  author = {Edward Nelson},
  title = {Radically Elementary Probability Theory},
  publisher = {Princeton University Press},
  year = {1977},
  series = {Annals of Mathematical Studies}
}

About

Sphinx extension for bibtex style references.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 67.3%
  • TeX 22.4%
  • Makefile 5.0%
  • Batchfile 4.8%
  • Nix 0.5%