Commit Graph

1851 Commits

Author SHA1 Message Date
Takeshi KOMIYA
db6e1db5cb doc: Add warning for only directive (refs: #3539) 2017-03-12 01:47:11 +09:00
Takeshi KOMIYA
dbffb053c9 Merge pull request #3534 from tk0miya/add_post_transform
Add post transform
2017-03-11 09:28:57 +09:00
jfbu
19558c9800 Update latex builder docs (latexmk requirement) 2017-03-10 19:11:06 +01:00
Takeshi KOMIYA
eb5577bb9c Update docs 2017-03-10 16:43:27 +09:00
jfbu
990f51d680 Update latex docs 2017-03-10 08:42:37 +01:00
Takeshi KOMIYA
99ded4c8b1 Add Sphinx.add_post_transform() 2017-03-10 10:49:08 +09:00
Jellby
68cf06a2ce Update version (there's still hope) 2017-03-04 12:14:54 +01:00
Jellby
3ce6168958 Merge remote-tracking branch 'upstream/master'
Conflicts:
	tests/test_build_html.py
2017-03-04 12:03:15 +01:00
Yoshiki Shibukawa
7e178785a7 fix style check warnings 2017-03-03 22:03:16 +09:00
jfbu
fb5dd840f4 Merge branch 'stable' 2017-03-03 09:53:50 +01:00
jfbu
4119439f3a Close #3489: bullet list rendered "opened up" 2017-03-02 14:56:27 +01:00
Yoshiki Shibukawa
0ef9ac54f1 Add experimental HTML5 writer 2017-03-02 09:56:50 +09:00
jfbu
c28e1da763 Update (again) latex docs after PR##3429 2017-03-01 22:26:49 +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
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
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
98d0be208c Merge branch 'master' into fix/epub_dublincore_validation_error 2017-03-01 00:22:15 +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
f282647e17 Update docs and CHANGES after PR#3429 2017-02-27 23:57:37 +01:00
Jean-François B
efc2d06e4f Merge pull request #3429 from jfbu/xelatexfontspecclash
deprecate config setting ``latex_keep_old_macro_names`` at 1.6
2017-02-27 22:31:01 +01:00
Jean-François B
56d446cb42 Merge pull request #3466 from jfbu/lualatexsettings
same default settings for lualatex as for xelatex
2017-02-27 12:19:32 +01:00
jfbu
b6eeb6e13e fix indentation in invocation.rst 2017-02-26 21:52:06 +01:00
jfbu
ff700ae606 again update LaTeX requirements documentation 2017-02-26 13:26:23 +01:00
jfbu
7f1b9c0e5b update docs about LaTeX builder with required TeX install version 2017-02-26 11:45:20 +01:00
jfbu
4aa2318185 Revert "update LaTeX doc about dependencies"
This reverts commit dbf960884d.
2017-02-26 11:34:18 +01:00
Mike Fiedler
a0d39222a7 Update latex.rst
typo & extra word removal

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2017-02-26 09:00:34 +01:00
Mike Fiedler
b8dd3176b8 Update latex.rst
typo & extra word removal

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2017-02-25 20:17:37 -05:00
jfbu
40d99445f8 same default settings for lualatex as for xelatex
this requires fontspec sufficiently recent (TeXLive 2013 or later)
2017-02-26 00:13:06 +01:00
jfbu
dbf960884d update LaTeX doc about dependencies 2017-02-25 14:52:26 +01:00
Takeshi KOMIYA
4941148c5d Merge branch 'stable' 2017-02-25 14:47:34 +09:00
Stephen Finucane
29da4f9444 doc: Add guide on setuptool/distutils integration
While this feature is somewhat documented in the API guide, there's
nothing about this option in the main user guide. Given the lack of
blogs and articles talking about this feature, along with the amount of
projects that are only using the same copy-paste '[build_sphinx]'
definition, I imagine this is an issue.

Make the feature a little more accessible by adding a section to the
main user guide that details (a) the fact the feature exists, (b) why
you'd want to use it, and (c) how you can use it.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-02-24 13:41:34 -05:00
jfbu
f0df6cff9b clarify description of tabulary (no "rescaling" of contents) 2017-02-24 15:48:00 +01:00
jfbu
3a090886b0 update docs about :confval:latex_keep_old_macro_names 2017-02-18 12:07:44 +01:00
jfbu
43fd43932d deprecate :confval:latex_keep_old_macro_names 2017-02-18 11:55:42 +01:00
jfbu
651827946a Update CHANGES and docs for PR#3413 2017-02-17 23:30:01 +01:00
Jean-François B
a7becf30de Merge branch 'master' into literalincludelines 2017-02-13 19:38:22 +01:00
jfbu
3e6eba7900 Merge branch 'stable' 2017-02-13 19:21:25 +01:00
Martin Drawitsch
c76898f5a0 Fix "documenting" typo in reST primer 2017-02-13 19:15:21 +01:00
Takeshi KOMIYA
ef1f587344 Merge branch 'stable' 2017-02-12 21:52:20 +09:00
jfbu
58ea3caeac Revert "Improve docs about `:lines:̀ vs ̀:start-after:` (refs #3412)"
This reverts commit 839e924808.

Indeed, it is better not to document how to use ``lines`` with
``start-after`` now if this is to be changed at next major release (refs
2017-02-11 12:08:37 +01:00
jfbu
0a4588e7b0 Remove unneeded docs 2017-02-10 17:53:06 +01:00
jfbu
a2338e4838 If `:start-after: is used, make :lines:` relative (close: #3412) 2017-02-10 16:55:28 +01:00
jfbu
839e924808 Improve docs about `:lines:̀ vs ̀:start-after:` (refs #3412) 2017-02-10 14:35:58 +01:00
Takeshi KOMIYA
a5b8553db4 Merge pull request #3407 from cmarqu/patch-1
Fix link to Google Python Style. Small typofixes.
2017-02-10 17:07:47 +09:00
jfbu
d4bd7cba5f add again to `'pxunit'̀ docs ... 2017-02-09 14:45:43 +01:00
jfbu
870ceb992b add missing quotes in docs of pxunit 2017-02-09 14:36:01 +01:00
jfbu
2eef1d0e0d simplify docs of `'pxunit'` removing irrelevant details 2017-02-09 14:29:20 +01:00