Commit Graph

1159 Commits

Author SHA1 Message Date
André Klitzing
62c49763f8 Fix broken TOC of PDFs if section includes an image
If someone adds an image to a section it will be added to the sidebar
TOC of a PDF, too. A PDF viewer will show the "width and height"
data instead of an image. So we need to filter out images for this with
the optional "short title" of latex sections.
2016-01-08 10:15:39 +01:00
Takeshi KOMIYA
23eb0e24fc Add testcase for #1860 2016-01-08 16:00:26 +09:00
Takeshi KOMIYA
0ea518d563 Add sphinx.ext.githubpages to publish the docs on GitHub Pages 2016-01-06 22:14:57 +09:00
Takeshi KOMIYA
e03dc8d27e Fix #2072: Footnotes in chapter-titles do not appear in PDF output 2016-01-06 11:13:30 +09:00
Takeshi KOMIYA
26e29de904 Fix broken testcase; Split test-toctree-maxdepth from test-tocdepth 2016-01-06 09:54:48 +09:00
Takeshi KOMIYA
b0a5a1339e Fix #771: latex output doesn't set tocdepth 2016-01-06 01:34:29 +09:00
Takeshi KOMIYA
d0576cd012 Fix #1408: Check latex_logo validity before copying 2016-01-05 16:48:22 +09:00
Maximilian Köhl
65ad78daec [tests] beautify collapsed grouped field 2016-01-05 00:19:36 +09:00
Takeshi KOMIYA
f81ab1e8b9 Fix #2162: Add Sphinx.add_source_parser() to add source_suffix and source_parsers from extension 2016-01-04 10:23:17 +09:00
Takeshi KOMIYA
26c43643d3 Fix broken tests by 7bb685bbe9 2016-01-03 20:52:39 +09:00
Takeshi KOMIYA
7bb685bbe9 Fix #2197: Slightly cryptic error message for missing index.rst file 2016-01-03 20:26:38 +09:00
Hong Xu
01c381363e Run xelatex and lualatex as well in latex tests. 2016-01-02 17:58:41 +09:00
Takeshi KOMIYA
b0f376fdb8 Fix #2201: wrong table caption for tables with over 30 rows 2016-01-01 19:31:36 +09:00
Takeshi KOMIYA
584f05154b Fix #2206: Sphinx latex doc build failed if footnotes in caption of figure
At same time, refactored around pending footnotes (tables, terms and
figures). They are all controled as ``pending_footnotes``.
2016-01-01 19:07:43 +09:00
Hong Xu
ea25284d0a Replace pngmath with imgmath in quickstart. 2015-12-29 15:14:04 -08:00
Hong Xu
355fe2a233 Add the imgmath extension, the successor of pngmath.
In addition to the features which pngmath supports, imgmath also
supports svg output format.
2015-12-29 15:13:57 -08:00
Takeshi KOMIYA
07cc02a512 Fix #2178: Unparseable C++ cross-reference when referencing a function with :cpp:any: 2015-12-27 16:29:07 +09:00
Takeshi KOMIYA
8a763feb6b Fix #2189: previous sibling link has broken if previous doc is under nested toctree 2015-12-26 23:57:09 +09:00
Takeshi KOMIYA
222a51e0cf Fix #2189: next sibling link has broken if the file was appeared twice or more 2015-12-26 21:43:54 +09:00
Takeshi KOMIYA
66ef8102c4 Fix broken in py3 2015-12-25 16:10:37 +09:00
Takeshi KOMIYA
f1cf5d594a Fix #2040: UnicodeDecodeError in sphinx-apidoc when author contains non-ascii characters 2015-12-25 15:52:51 +09:00
Takeshi KOMIYA
0719611d54 Fix #2071: Same footnote in more than two section titles => LaTeX/PDF Bug 2015-12-25 10:43:41 +09:00
Takeshi KOMIYA
ee7e3cc078 Fix empty cell in table header causes LaTeX error (#1574) 2015-12-24 12:43:22 +09:00
Takeshi KOMIYA
02f013aba5 Fix TestApp.cleanup_trees was obsoleted 2015-12-24 10:57:03 +09:00
Takeshi KOMIYA
63f6d917b3 Merge pull request #2188 from xuhdev/latex-math-section-title
Fix #1480: LaTeX: Support math in section titles
2015-12-22 11:33:58 +09:00
Hong Xu
4d3fdc0e47 Fix LaTeX output of \mathbb in math
If \mathbb is used in math, which is commonly used to represent sets,
the output LaTeX won't compile. This commit fixes this issue by adding
amsfonts package in the setup of sphinx.ext.mathbase .
2015-12-21 01:30:14 -08:00
Takeshi KOMIYA
4234c88f21 Fix #2113: Allow `:class:` option to code-block directive 2015-12-20 22:44:32 +09:00
Hong Xu
eac142f8b8 LaTeX: Support math in section titles
Fix #1480
2015-12-20 03:16:54 -08:00
shimizukawa
bf1cc70996 Merge with 'stable' 2015-12-20 08:48:38 +09:00
shimizukawa
91fe0b6ceb Fix #2185: Use with syntax to open files on testing. 2015-12-20 08:13:02 +09:00
Takeshi KOMIYA
9669f2a48b Fix #2171: cannot linkcheck url with unicode 2015-12-19 22:58:53 +09:00
Takeshi KOMIYA
788c0ebffc Add testcase for encoding URIs in linkcheck builder 2015-12-19 22:49:14 +09:00
shimizukawa
0b0f6d66cb Fix #2158: test_latex_build.test_footnote and some tests fail on Windows environment with py3 2015-12-19 19:00:39 +09:00
Takeshi KOMIYA
9f96bbaf35 Move testcases for footnotes to roots/test-footnote 2015-12-19 16:45:23 +09:00
Takeshi KOMIYA
5983d02787 Fix #1237 footnotes not working in definition list in LaTeX 2015-12-19 16:45:23 +09:00
Takeshi KOMIYA
9fec96d327 Refactor latex_show_urls processor to Transform class 2015-12-19 16:44:45 +09:00
Takeshi KOMIYA
885b997a25 Add testcases for latex_show_urls 2015-12-19 16:40:10 +09:00
Takeshi KOMIYA
7f55295650 Merge pull request #1833 from xuhdev/latex-mailto
Email addresses should not be showed again if latex_show_urls is not None
2015-12-19 10:45:53 +09:00
Georg Brandl
8232707a12 merge stable to default 2015-12-18 21:42:55 +01:00
Hong Xu
2ee03a2729 Fix #981: LaTeX: support image file names with more than 1 dots
LaTeX cannot detect image file names with more than 1 dots in it
correctly. The solution is to use '{}' to surround the base name. See
https://tex.stackexchange.com/questions/10574/includegraphics-dots-in-filename

Fix #981
2015-12-17 19:03:31 -08:00
Hong Xu
0084004cfd Add testing cases for the "latex_show_urls" option 2015-12-11 15:06:14 -08:00
Takaaki AOKI
07ed539ad3 modify test strings to be found after build_latex 2015-12-10 00:13:37 +09:00
Takeshi KOMIYA
8648bdeec1 Fix #2094 rubric with reference not working in Latex 2015-12-03 14:48:00 +09:00
Takeshi KOMIYA
c8837338d3 Fix section and table titles with reference cause latex build error 2015-12-03 11:39:25 +09:00
Takeshi KOMIYA
32b483d5bc Fix #2134 figure caption with reference causes latex build error 2015-12-03 10:33:29 +09:00
Jakob Lykke Andersen
0e28d366bc C++, add support for pointers to member (function)
See sphinx-doc/sphinx#2146
2015-12-02 20:00:28 +01:00
shimizukawa
e800fef3d1 merge with 'stable' 2015-12-02 18:38:52 +09:00
Takeshi KOMIYA
47e7b022c2 Fix #2012 exception occurred if `numfig_format` is invalid 2015-11-30 11:38:37 +09:00
shimizukawa
9ceea10a62 Merge with 'stable' 2015-11-29 23:10:21 +09:00
shimizukawa
4c7db6c67d fix line length 2015-11-29 22:23:56 +09:00