Hong Xu
875e6a503b
Run LaTeX in testing: don't skip the test unless all latexes do not exist
...
Until now when one of the 3 latexes (pdflatex, xelatex, lualatex) does
not exist, the test was skipped. This commit changes the behavior to
"unless none of the 3 latexes exists, don't skip the test".
2016-01-15 11:39:17 -08:00
Hong Xu
afcc7f4626
Move the testing code which spawns pdflatex to a function
...
There are currently two locations in the testing code running the same
code to spawn pdflatex. This commit puts these code into one single
function to reduce redundancy.
2016-01-15 01:48:49 -08:00
Georg Brandl
4f72bdb722
Merge branch 'stable'
2016-01-14 22:54:08 +01:00
Georg Brandl
46d7e8558e
Obligatory copyright update.
2016-01-14 22:54:04 +01:00
Takeshi KOMIYA
3f998a0096
Fix line numbers was not shown on warnings of indecies
2016-01-13 11:37:07 +09:00
Takeshi KOMIYA
4c8b575dcc
Fix filenames were not shown on warnings of citations
2016-01-13 00:37:28 +09:00
Takeshi KOMIYA
6dc7ca0234
Fix line numbers were not shown on warnings in LaTeX and texinfo builder
2016-01-13 00:36:51 +09:00
shimizukawa
f824539119
merge with stable
2016-01-13 00:13:35 +09:00
shimizukawa
d33b32323f
95 chars in line. It was warned by make check
.
2016-01-12 23:53:45 +09:00
Takeshi KOMIYA
ca896755a9
Fix #2229 , any-role and `-W
` option are conflicted
2016-01-12 13:35:52 +09:00
Takeshi KOMIYA
bba3f388e9
Fix #2229 : No warning is given for unknown options
2016-01-11 23:31:28 +09:00
Takeshi KOMIYA
e4b9eb51f6
Merge branch 'stable'
2016-01-11 00:27:26 +09:00
shimizukawa
e5860fd75c
Merge with '87998df9cbef2380345d436121e6bca43345d2bd' on stable
...
Conflicts:
tests/test_build_latex.py
2016-01-10 10:21:27 +09:00
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
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
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
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
02f013aba5
Fix TestApp.cleanup_trees was obsoleted
2015-12-24 10:57:03 +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
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
Takeshi KOMIYA
f4c5a2e136
Fix #2140 : footnotes in caption of table has broken in LaTeX
2015-11-29 21:55:36 +09:00
Takeshi KOMIYA
12396a71d9
Fix #2140 : footnotes in table has broken in LaTeX
2015-11-29 21:47:55 +09:00
Takeshi KOMIYA
20d992cdf5
Close #1990 : Use caption of toctree to title of \tableofcontents in LaTeX
2015-08-21 14:15:30 +09:00
shimizukawa
65fb5a664d
fix test: numfig test depends ja translation.
2015-03-09 22:33:41 +09:00
shimizukawa
297e436aac
fix testcases for windows that introduced at 3d62e353a5
2015-03-08 21:59:43 +09:00
Takeshi KOMIYA
3d62e353a5
Update testcases for changing prefix of captions
2015-03-08 08:30:16 +09:00
Takeshi KOMIYA
9f06027836
#1719 Add prefix to linkname of :numref: on LaTeX mode
2015-03-03 01:16:06 +09:00
Takeshi KOMIYA
1ee7f5a163
#1719 Use numfig_format for prefix of captions in LaTeX builder
2015-03-03 01:16:02 +09:00
Georg Brandl
a23903d8d5
Merge branch 'stable'
2015-01-03 21:41:14 +01:00
Georg Brandl
567d52f199
all: update copyright
2015-01-03 21:36:32 +01:00
tk0miya
0f1d8433e7
Fix #1607 : Sphinx crashes on building latexpdf with "howto" class
2014-11-24 12:13:17 +09:00
tk0miya
88103c112a
Fix #1603 :numref: doesn't work correctly when label contain underscore
...
If label contains underscore, the underscores are replaced with hyphens on normalization.
:numref: confuses the normalization with explicit notation.
This fix uses `target` variable insted of labelid to check the role is explicit or not.
2014-10-27 11:02:54 +09:00
tk0miya
8270575a9c
Update testcases for :numref:
2014-10-02 11:17:34 +09:00
tk0miya
7e59c5385e
Merge with default
2014-09-28 21:56:20 +09:00
tk0miya
16529c5604
Add options argument to Sphinx.add_latex_package()
2014-09-28 21:10:26 +09:00
Takayuki Shimizukawa
39c843106f
fix testing on Windows.
2014-09-28 21:00:51 +09:00
tk0miya
c04ad2908e
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)
2014-09-27 12:47:27 +09:00
Georg Brandl
b637f0a728
No need to insist on fresh builds with test_build_*
2014-09-21 18:41:08 +02:00