diff options
author | tk0miya <i.tkomiya@gmail.com> | 2014-09-27 12:47:27 +0900 |
---|---|---|
committer | tk0miya <i.tkomiya@gmail.com> | 2014-09-27 12:47:27 +0900 |
commit | 61685efc5772b58ba9c7bed48b78a6a65de86c68 (patch) | |
tree | 5d8ce7c7b6ef7286fcb4b44eea8ccf1f7a8f5188 /doc | |
parent | 1e564a159efeab006af11d42ad8c812ee66a8b4a (diff) | |
download | sphinx-61685efc5772b58ba9c7bed48b78a6a65de86c68.tar.gz |
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)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/extdev/appapi.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/extdev/appapi.rst b/doc/extdev/appapi.rst index 4fed158c..35d226a5 100644 --- a/doc/extdev/appapi.rst +++ b/doc/extdev/appapi.rst @@ -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 |