Commit Graph

8595 Commits

Author SHA1 Message Date
jfbu
069b937513 Separate `\sphinxcapstartof` macro, to facilitate caption below table 2017-05-04 15:45:28 +02:00
jfbu
2034be9b9e LaTeX table caption widths will not exceed line width
This applies to tables rendered by tabular or tabulary which may occur
inside list items. Also ``\sphinxcaptionof`` admits an optional first
argument, which replaces the ``\LTcapwidth`` default. For example:

    ``\sphinxcaptionof[0.5\linewidth]{table}{...}``

can be used in the tabular/tabulary templates.
2017-05-03 18:57:39 +02:00
jfbu
0b2b2d204c LaTeX: improve caption positioning for figures in table cells
The defaults of 10pt for abovecaptionskip and 0pt for belowcaptionskip
are not suitable for figures in table cells. By default, this will now
be ``\smallskipamount`` for both, so that the caption can also be
located above figure (currently it is put below by latex writer).
2017-05-03 18:33:01 +02:00
jfbu
cec526458a Use TeX primitive for efficiency 2017-05-02 11:59:45 +02:00
Jean-François B
9db5ba3d65 Merge branch '1.6-release' into dropthreeparttable 2017-05-01 17:43:08 +02:00
jfbu
a80d097534 Merge branch 'stable' into 1.6-release 2017-05-01 17:26:28 +02:00
jfbu
efb544898b Better handling of titlesec 2.10.1's bug (ref #3241) 2017-05-01 17:22:54 +02:00
jfbu
e21a1702c2 Fix tests after dropping latex threeparttable 2017-05-01 16:22:04 +02:00
jfbu
5c87879754 Drop usage of threeparttable LaTeX package (closes #3532) 2017-05-01 15:42:05 +02:00
shimizukawa
23b1d846f1 refs #3588: No compact (p tag) html output in the i18n document build even when :confval:html_compact_lists is True. 2017-05-01 17:22:05 +09:00
shimizukawa
fdebd2b1b2 refs #3588: No compact (p tag) html output in the i18n document build even when :confval:html_compact_lists is True. 2017-05-01 17:18:44 +09:00
Takeshi KOMIYA
b9b982d5f0 Fix dependency errors 2017-04-30 01:04:30 +09:00
Takeshi KOMIYA
4de4fd060a bump_version.py: Fix generate non-beta version number on beta release 2017-04-30 00:40:33 +09:00
Takeshi KOMIYA
004dfae2db Bump version 2017-04-29 23:50:17 +09:00
Takeshi KOMIYA
0f25c18ce9 Bump to 1.6b2 2017-04-29 23:46:19 +09:00
Takeshi KOMIYA
0960c7d857 Bump to 1.6b2 2017-04-29 23:29:43 +09:00
Takeshi KOMIYA
d8f57ea865 Update CHANGES 2017-04-29 23:26:28 +09:00
Takeshi KOMIYA
9d0338777c Merge pull request #3681 from tk0miya/make_websupport_dependency_optional
Make websupport dependency optional
2017-04-29 22:59:59 +09:00
Takeshi KOMIYA
370bdddc7c make websupport-dependency optional 2017-04-29 15:29:51 +09:00
Takeshi KOMIYA
721c3d5fae Merge branch 'stable' into 1.6-release 2017-04-29 15:11:55 +09:00
shimizukawa
ac5e76f598 extract messages 2017-04-29 01:02:00 +09:00
Takeshi KOMIYA
7808e72976 Merge pull request #3679 from tk0miya/update_doc_version
Fix the unreleased version number is shown (refs: #3678, #3027)
2017-04-28 22:55:23 +09:00
Takeshi KOMIYA
bd66ffc1fa Fix the unreleased version number is shown (refs: #3678, #3027) 2017-04-28 01:19:01 +09:00
Takeshi KOMIYA
44f9146488 Merge pull request #3675 from tk0miya/3657_epub_builder_crashes
Fix #3657: EPUB builder crashes if document startswith genindex exists
2017-04-27 22:00:31 +09:00
Takeshi KOMIYA
5c5272c4ab Fix #3657: EPUB builder crashes if document startswith genindex exists 2017-04-27 21:44:46 +09:00
Takeshi KOMIYA
8462d4bcda doc: Update 2017-04-27 21:24:33 +09:00
Takeshi KOMIYA
45a61843ec Make ImportWarning silent 2017-04-27 21:24:29 +09:00
Takeshi KOMIYA
83d3fd2c36 Merge pull request #3663 from tk0miya/3662_deprecate_builder.css_files
deprecate builder.css_files
2017-04-27 10:08:06 +09:00
Takeshi KOMIYA
84213da197 Merge pull request #3671 from tk0miya/3669_gettext_raises_ValueError
3669 gettext raises value error
2017-04-27 01:10:11 +09:00
Takeshi KOMIYA
02ff0863c6 Move deprecation warning 2017-04-27 00:33:40 +09:00
Takeshi KOMIYA
f8b58e41cd Fix #3669: gettext builder fails with "ValueError: substring not found" 2017-04-27 00:17:07 +09:00
Takeshi KOMIYA
50609f2000 Update CHANGES for PR #3666 2017-04-25 23:28:13 +09:00
Takeshi KOMIYA
961432ed96 Merge pull request #3666 from mitya57/1.6-release
Remove the custom smartypants code [rebased]
2017-04-25 23:25:31 +09:00
Dmitry Shachnev
4721767d08 Also monkey-patch the educate_tokens from Docutils
To fix https://sourceforge.net/p/docutils/bugs/317/.
2017-04-25 14:17:32 +03:00
Dmitry Shachnev
a9cbb42e7f Remove bulk_text_processors methods, they are no longer needed 2017-04-25 14:17:31 +03:00
Dmitry Shachnev
f99f5b23ee Backport fixes for French quotes from docutils 2017-04-25 14:17:31 +03:00
Dmitry Shachnev
9236beb9ee Deprecate the html_use_smartypants option 2017-04-25 14:17:30 +03:00
Dmitry Shachnev
4f4014c7c0 Remove sphinxquotedblleft and sphinxquotedblright, no longer needed 2017-04-25 14:17:29 +03:00
Dmitry Shachnev
1f9e251943 Add tests for English, Russian and French smart quotes 2017-04-25 14:17:29 +03:00
Dmitry Shachnev
c857f52f4b Monkey patch docutils’ educateQuotes function to fix apostrophes handling 2017-04-25 14:17:13 +03:00
Dmitry Shachnev
edc7f30b9c Remove the custom smartypants code
Instead rely on docutils’ ‘smart_quotes’ option which is available
since docutils 0.10.

This adds support for internationalization: our code supported only
English quotes, while docutils code supports 27 different languages.

Closes #498, #580, #3345, #3472.
2017-04-25 14:17:13 +03:00
Takeshi KOMIYA
b3f596a133 Fix #3662: `builder.css_files` is deprecated 2017-04-25 20:13:09 +09:00
Takeshi KOMIYA
710ddb3880 Fix mypy violations 2017-04-25 20:05:58 +09:00
jfbu
6c1c8948cb Merge branch 'stable' into 1.6-release 2017-04-25 12:14:11 +02:00
Jean-François B
67c1a8a59e Merge pull request #3665 from jfbu/fixfullineitemslabelsep
Fix #3664 relative to ``\labelsep`` setting in LaTeX fulllineitems
2017-04-25 12:11:44 +02:00
jfbu
7c2f5f16eb Fix #3664 relative to `\labelsep` setting in LaTeX fulllineitems
This also removes re-definition of description environment which is not
needed anymore as ``\labelsep`` is not modified.
2017-04-25 10:14:53 +02:00
Takeshi KOMIYA
e3d14e7862 Merge branch 'stable' into 1.6-release 2017-04-25 00:40:04 +09:00
Takeshi KOMIYA
10afb48b8e Revert "Remove empty 1.5.6 section in CHANGES file"
This reverts commit ac1020b540.
2017-04-25 00:39:00 +09:00
Takeshi KOMIYA
2807175f10 Fix #3661: sphinx-build crashes on parallel build 2017-04-25 00:38:07 +09:00
jfbu
ac1020b540 Remove empty 1.5.6 section in CHANGES file 2017-04-24 10:19:49 +02:00