Add new API: Sphinx.add_latex_package()

Sphinx.add_latex_package() allows sphinx extensions to add latex packages.
It helps creating extensions for latex (for example, latex-theming)
This commit is contained in:
tk0miya
2014-09-27 12:47:27 +09:00
parent 7984f81a5e
commit c04ad2908e
5 changed files with 24 additions and 0 deletions

View File

@@ -288,6 +288,12 @@ package.
.. versionadded:: 1.0
.. method:: Sphinx.add_latex_package(packagename)
Add *packagename* to the list of packages that LaTeX source code will include.
.. versionadded:: 1.3
.. method:: Sphinx.add_lexer(alias, lexer)
Use *lexer*, which must be an instance of a Pygments lexer class, to