Commit Graph

8163 Commits

Author SHA1 Message Date
jfbu
33bf5410f6 Update tests after 'stable' merge (refs: #3497) 2017-03-03 10:00:56 +01:00
jfbu
a7afad3952 Merge branch 'stable' 2017-03-03 09:57:15 +01:00
jfbu
f8391ea487 Update CHANGES for PR#3497 2017-03-03 09:56:39 +01:00
jfbu
fb5dd840f4 Merge branch 'stable' 2017-03-03 09:53:50 +01:00
Jean-François B
812d835fd1 Merge pull request #3497 from jfbu/fixlongtablelastcolumn
Fix #3496: latex longtable's last column may be wider than its contents
2017-03-03 09:48:47 +01:00
jfbu
e9304fd41d Keep the frame around "Continued on next page" longtable footer 2017-03-03 09:39:59 +01:00
Takeshi KOMIYA
d20caeb063 Merge pull request #3498 from shibukawa/fix/multiple_id_for_table
fix #1733: fix span tags for ids is in table tag (for html5 validation)
2017-03-03 13:40:50 +09:00
Takeshi KOMIYA
beca8d7aea Merge pull request #3500 from tk0miya/3499_pin_mypy_0.4
Pin mypy < 0.5 (refs: #3499)
2017-03-03 13:40:24 +09:00
Takeshi KOMIYA
6e7d878003 Pin mypy==0.471 (refs: #3499) 2017-03-03 13:23:34 +09:00
Yoshiki Shibukawa
2118e0a581 fix #1733: fix span tags for ids is in table tag (for html5 validation) 2017-03-03 11:46:19 +09:00
jfbu
eb46ae20f8 Fix #3496: latex longtable's last column...
... may be much wider than its contents
2017-03-02 19:11:22 +01:00
Takeshi KOMIYA
7332023970 Merge pull request #3464 from shibukawa/feature/experimental_html5_writer
Add experimental HTML5 writer
2017-03-03 01:28:23 +09:00
Takeshi KOMIYA
811df6b2e3 Fix #3487: intersphinx: failed to refer options 2017-03-03 00:50:55 +09:00
Jean-François B
042c2beafa Merge pull request #3492 from jfbu/fixhtmlcompactlistsdoc
Close #3489: bullet list rendered "opened up"
2017-03-02 15:22:22 +01:00
jfbu
4119439f3a Close #3489: bullet list rendered "opened up" 2017-03-02 14:56:27 +01:00
Takayuki SHIMIZUKAWA
dbad2bfcda update CHANGES refs #2073, #3443, #3490 2017-03-02 16:52:56 +09:00
Takayuki SHIMIZUKAWA
7fceef480f Merge pull request #3490 from shibukawa/fix/pot_creation_date
fix gettext builder that writes pot files unless the content are same without creation date
2017-03-02 16:49:30 +09:00
Yoshiki Shibukawa
8ebc97d0c8 fix gettext builder that writes pot files unless the content are same without creation date 2017-03-02 15:11:12 +09:00
Takeshi KOMIYA
4773a5c048 Merge branch 'stable' 2017-03-02 13:59:33 +09:00
Takeshi KOMIYA
3a3cec7a8e Fix #3488: objects.inv has broken when `release or version` contain return code 2017-03-02 13:32:46 +09:00
Yoshiki Shibukawa
0ef9ac54f1 Add experimental HTML5 writer 2017-03-02 09:56:50 +09:00
jfbu
e14b296ef0 Update CHANGES for PR#3435 2017-03-01 22:34:47 +01:00
jfbu
c28e1da763 Update (again) latex docs after PR##3429 2017-03-01 22:26:49 +01:00
Jean-François B
74b46505f6 Merge pull request #3435 from jfbu/improvelatextables
Fix #1574 via improvement to latex tables (allow general contents in merged cells)
2017-03-01 20:58:41 +01:00
jfbu
e8e8616079 Solve the LaTeX multirow issue with colour panels
This uses the same macro for suppressing column colours which was used
for multi-column. Bottom cells of multi-row must have no colour panels,
else they hide the text which is inserted from the top row.
2017-03-01 09:46:36 +01:00
jfbu
080d8854af Re-instore `\X` columns under old condition for problematic
Indeed the ``l`` specifier must be avoided as much as possible to allow
cells having much more contents than others to be handled sanely.
Related to issue #3447. Parent commit would have made the issue more
frequent, this one helps restrain cases to those already in existence.
2017-03-01 09:45:31 +01:00
jfbu
bc67d4298f Improve latex tables: fix #1574 and other rendering issues
- 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``.
2017-03-01 09:41:30 +01:00
Jean-François B
a4d1fb7dec Merge pull request #3481 from jfbu/spx@ifundefined
Remove now unneeded internal LaTeX macro as TL2013's one is OK
2017-03-01 08:48:10 +01:00
Takeshi KOMIYA
58e63a31ed Update CHANGES for PR#3476 2017-03-01 15:31:15 +09:00
Takeshi KOMIYA
a98818bf06 Merge pull request #3476 from stephenfin/feat/sphinx-setuptools-multiple-builders
setuptools: Support multiple builders
2017-03-01 15:30:33 +09:00
Takeshi KOMIYA
0b1178bff7 Merge branch 'stable' 2017-03-01 15:04:28 +09:00
Takeshi KOMIYA
cdacabdab3 Merge pull request #3483 from shibukawa/fix/replace_etree
replace internal copy of ElementTree with standard library's ElementTree
2017-03-01 13:39:27 +09:00
Yoshiki Shibukawa
3502831214 replace internal copy of ElementTree with standard library's ElementTree 2017-03-01 12:01:40 +09:00
jfbu
99a0a6f76a Remove now unneeded internal LaTeX macro as TL2013's one is OK 2017-02-28 20:49:29 +01:00
Stephen Finucane
8b500fe383 tox: Add 'mypy' target
Like the recently added 'docs' target, this is easier than creating a
virtualenv, installing deps and running make.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-02-28 17:32:34 +00:00
Takeshi KOMIYA
099ddc9c76 Update CHANGES for PR#3470 2017-03-01 02:32:33 +09:00
Takeshi KOMIYA
1e9c791285 Merge pull request #3470 from mitya57/stable
Make genindex support all kinds of letters, not only Latin ones
2017-03-01 02:31:32 +09:00
Stephen Finucane
2afa0b6627 setuptools: Support multiple builders
At present, the 'builder' option for the setuptools integration only
supports a single output format, typically HTML, like so:

  [build_sphinx]
  builder = man

There is value in being able to specify multiple format, like so:

  [build_sphinx]
  builder = html man

Make this possible.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-02-28 17:30:28 +00:00
Takeshi KOMIYA
b10d7281d2 Skip test with the combination of py3 and docutils-0.12 2017-03-01 00:26:49 +09:00
Takeshi KOMIYA
fed8e8b97a Merge pull request #3463 from shibukawa/fix/epub_dublincore_validation_error
Add warning messages for required EPUB3 metadata
2017-03-01 00:22:26 +09:00
Takeshi KOMIYA
98d0be208c Merge branch 'master' into fix/epub_dublincore_validation_error 2017-03-01 00:22:15 +09:00
jfbu
95d9261f1e Update CHANGES for PR#3480 2017-02-28 16:07:01 +01:00
Jean-François B
7d0ac36e2d Merge pull request #3478 from jfbu/transitionlatex
Remove unneeded ``{}`` in LaTeX transition code
2017-02-28 16:04:37 +01:00
Jean-François B
c8e55b3e54 Merge pull request #3480 from jfbu/extraclassoptions
Make ``'extraclassoptions'`` key of ``latex_elements`` public
2017-02-28 16:03:41 +01:00
Takeshi KOMIYA
dea2064dfc Update docstring to patches for table directives
table directives on docutils-0.13.1+ set source information to
caption node.  So these patch will be not necessary in feature
version of docutils.
https://sourceforge.net/p/docutils/patches/137/
2017-02-28 23:23:02 +09:00
jfbu
5b5398768c Make `'extraclassoptions' key of latex_elements` public 2017-02-28 12:43:36 +01:00
Yoshiki Shibukawa
229c5cfa3b Add warning messages for required EPUB3 metadata 2017-02-28 19:51:39 +09:00
jfbu
434a32d1c8 Remove unneeded `{}` in LaTeX transition code 2017-02-28 10:00:41 +01:00
jfbu
801ec86f66 Update a comment 2017-02-28 08:55:20 +01:00
jfbu
3e3d97ff9c fix test 2017-02-28 08:13:37 +01:00