Commit Graph

197 Commits

Author SHA1 Message Date
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
Georg Brandl
d47a7587f9 Complete test suite overhaul.
* rename a few test modules to make the names more consistent

* do not copy/use Sphinx from build/ (unnecessary without 2to3)

* use a temporary dir for *all* test projects, the source tree
  will stay pristine that way  (default is tests/build)

* speed up tests by ~3x by splitting up test projects and avoiding
  rebuilds
2014-09-21 17:17:02 +02:00
Takayuki Shimizukawa
1e58062692 remove 'six' name except importing line. 2014-04-30 21:30:46 +09:00
Takayuki Shimizukawa
68290a266c introduce the six module and reduce sphinx.util.pycompat implementation. refs #1350. 2014-04-29 11:46:47 +09:00
Georg Brandl
ac92719ac3 Update copyright year. 2014-03-01 08:18:23 +01:00
Georg Brandl
e030031321 Update copyright year. 2014-03-01 08:18:16 +01:00
Dmitry Shachnev
ce2185ce27 Modernize the code now that Python 2.5 is no longer supported
- Use print function instead of print statement;
- Use new exception handling;
- Use in operator instead of has_key();
- Do not use tuple arguments in functions;
- Other miscellaneous improvements.

This is based on output of `futurize --stage1`, with some
manual corrections.
2014-01-19 14:17:10 +04:00
Takayuki Shimizukawa
53810ae607 fix: test_build_latex and test_build_texinfo raise SkipTest if command missing. Closes #1184. 2013-09-23 09:57:36 +09:00
Takayuki Shimizukawa
9d3bac3b8e Fix: Citation target missing cause AssertionError. Closes #1160 2013-05-02 10:37:12 +09:00
Georg Brandl
1af3e3ea71 tests: replace "from util import *" by explicit imports 2013-04-01 11:39:32 +02:00
Georg Brandl
21f0ca8197 Closes #896: use SkipTest in build_latex test if latex is not installed 2013-04-01 11:26:21 +02:00
Georg Brandl
151856819c Copyright update. 2013-01-01 22:13:15 +01:00
Takayuki Shimizukawa
48128c7b9b * fix test for Windows: test failed by test-code problem depends on os.sep. 2012-05-02 12:05:41 +09:00
Georg Brandl
9d5215c1c9 Fix #728: escape root dir when putting it into a regex in latex/texinfo tests. 2011-09-21 09:15:11 +02:00
Georg Brandl
bf767d5222 #454: Add more index markup capabilities: marking see/seealso entries, and main entries for a given key. 2011-01-07 19:00:29 +01:00
Georg Brandl
17efae5622 merge with 1.0 2011-01-04 11:29:09 +01:00
Georg Brandl
0e1db6ad90 New year update. 2011-01-04 10:00:51 +01:00
Georg Brandl
3b64ec2a2e Now that the expected warnings are regexes, diffing them with the actual output makes no sense anymore. 2010-07-27 19:07:51 +02:00
Georg Brandl
dd4f973221 merge with 0.6 2010-06-03 17:25:16 +02:00
Daniel Neuhäuser
98b6073a7e Fixed warnings in python3 2010-06-20 22:39:38 +02:00
Georg Brandl
ed6562960c Remove "group" identifier from get_index() entries; let the template figure that out. 2010-02-20 14:21:03 +01:00
Georg Brandl
03d5917a53 Split out test_build_latex. 2010-01-17 12:29:00 +01:00