mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user