summaryrefslogtreecommitdiff
path: root/sphinx/builders/latex.py
Commit message (Collapse)AuthorAgeFilesLines
* Convert sphinx.builders.latex to package from moduleTakeshi KOMIYA2018-04-141-341/+0
|
* Fix #4784: latex_show_urls assigns incorrect footnote numbersTakeshi KOMIYA2018-04-121-0/+10
|
* Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-2/+2
| | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
|
* Fix #4230: slowdown in writing document with sphinx 1.6Takeshi KOMIYA2018-01-301-1/+1
| | | | | | ``docutils.utils.new_document()`` is much slower than an instantiation of document node. This adds a much faster alternative of the function which uses caches internally.
* Use flake8-import-orderTakeshi KOMIYA2018-01-281-8/+7
|
* builders: Add 'Builder.epilog' optionStephen Finucane2018-01-111-0/+6
| | | | | | | | | | | | This allows builders to emit a final epilog message containing information such as where resulting files can be found. This is only emitted if the build was successful. This allows us to remove this content from the 'make_mode' tool and the legacy 'Makefile' and 'make.bat' templates. There's room for more dramatic simplification of the former, but this will come later. Signed-off-by: Stephen Finucane <stephen@that.guru>
* Merge branch 'happy_new_year' into masterTakeshi KOMIYA2018-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2018-01-011-1/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-07-021-1/+24
|\ \ | |/
| * Fix #3902: Emit error if ``latex_documents`` contains non-unicode string in py2Takeshi KOMIYA2017-07-021-1/+20
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-05-291-0/+6
|\ \ | |/
| * Fix #3807 by using old Makefile in LaTeX build repertory for windowsjfbu2017-05-281-0/+6
| |
* | latex: Use ENUM for validate config valueTakeshi KOMIYA2017-04-271-10/+2
| |
* | Remove deprecated feature: latex_keep_old_macro_namesTakeshi KOMIYA2017-04-271-18/+0
|/
* Move translators to SphinxFactoryTakeshi KOMIYA2017-04-221-1/+2
|
* Show original image URI on copying imagesTakeshi KOMIYA2017-04-191-11/+18
|
* Add ImageDownloader transform to support remote images on some buildersTakeshi KOMIYA2017-04-191-0/+1
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
| * Fix flake8 violationsTakeshi KOMIYA2017-01-121-3/+3
| |
* | Upgrade to mypy-0.5Takeshi KOMIYA2017-03-031-1/+1
| |
* | Improve latex tables: fix #1574 and other rendering issuesjfbu2017-03-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - allow multi-paragraph contents in grid table merged cells - allow code-blocks in merged cells - allow generally speaking reST contents allowed in regular cells to be also allowed in merged cells, whether multirow, multicolumn, or both. This is made possible by custom LaTeX macros replacing original ``\multicolumn`` and ``\multirow`` (none of the originals allows verbatim contents as is needed for code-blocks). They are defined in bundled LaTeX style file sphinxmulticell.sty. The multicolumn merged cells give much better results with tabulary as it is coerced into taking them into account in its automatic width algorithm. This deprecates use of LaTeX packages eqparbox and multirow, which are not needed anymore. New config setting ``latex_use_latex_multicolumn`` (default value False, currently) as custom Sphinx multicolumn is not fully compatible will all types of custom table col specs which may be inserted via tabularcolumns directive. It works best with standard ``|`` column separator. The default tabulary column specifier has been changed from L (flushleft) to J (justifying). Internally the column type is called T, so ``r'\newcolumntype{T}{L}'`` in preamble key recovers the former behaviour. A ``\Y`` column type is defined which admits one decimal argument in place of the two integers for ``\X``.
* | deprecate :confval:`latex_keep_old_macro_names`jfbu2017-02-181-1/+6
| |
* | Add mypy annotationsTakeshi KOMIYA2017-02-101-1/+1
| |
* | Fix mypy violationsTakeshi KOMIYA2017-02-081-0/+3
| |
* | Merge pull request #3312 from tk0miya/remove_deprecated_codes3Takeshi KOMIYA2017-01-131-2/+5
|\ \ | | | | | | Remove deprecated codes
| * | Emit deprecation warning for latex_elements["footer"] using warnings moduleTakeshi KOMIYA2017-01-071-2/+5
| | |
* | | Fix flake8 violationsTakeshi KOMIYA2017-01-121-3/+3
|/ /
* | Drop deprecated options for latex builderTakeshi KOMIYA2017-01-051-50/+0
| |
* | Update by reviewTakeshi KOMIYA2017-01-041-2/+2
| |
* | Use loggersTakeshi KOMIYA2017-01-021-20/+28
| |
* | Use sphinx.util.logging instead app.info(), verbose(), debug() and debug2()Takeshi KOMIYA2017-01-021-15/+18
| |
* | Merge branch 'stable'Takeshi KOMIYA2016-12-251-8/+19
|\ \ | |/
| * Merge pull request #3251 from tk0miya/refactor_latex_builderTakeshi KOMIYA2016-12-241-8/+19
| |\ | | | | | | LaTeX builder: Refactor the default settings generators (refs: #3244)
| | * LaTeX builder: Refactor the default settings generators (refs: #3244)Takeshi KOMIYA2016-12-161-8/+19
| | |
* | | Merge branch 'stable'Takeshi KOMIYA2016-12-201-1/+1
|\ \ \ | |/ /
| * | Fix #3261: ``latex_use_parts`` makes sphinx crashTakeshi KOMIYA2016-12-191-1/+1
| |/
* | Update type annotationsTakeshi KOMIYA2016-12-151-1/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2016-12-141-0/+6
|\ \ | |/
| * builtin extensions return metadata to allow parallel buildTakeshi KOMIYA2016-12-121-0/+6
| |
* | Merge branch 'stable'Takeshi KOMIYA2016-12-121-1/+1
|\ \ | |/
| * Fix #3204: Fix typoTakeshi KOMIYA2016-12-101-1/+1
| |
* | Add type-check annotations to sphinx.buildersTakeshi KOMIYA2016-11-161-8/+26
|/
* Fix #2877: Rename ``latex_elements['footer']`` to ↵Takeshi KOMIYA2016-09-171-0/+9
| | | | ``latex_elements['postpreamble']``
* Merge pull request #2772 from tk0miya/good_default_settings_for_latexpdfjaTakeshi KOMIYA2016-07-211-1/+6
|\ | | | | better default LaTeX settings for Japanese
| * Use jreport to the docclass for Japanese howto documentsTakeshi KOMIYA2016-07-151-1/+4
| |
| * better default LaTeX settings for JapaneseTakeshi KOMIYA2016-07-151-1/+3
| |
* | Use platex by default if language is "ja"Takeshi KOMIYA2016-07-191-2/+4
| |
* | Support multiple LaTeX engines through `latex_engine`Takeshi KOMIYA2016-07-191-12/+13
| |