Commit Graph

441 Commits

Author SHA1 Message Date
Takeshi KOMIYA
a5d77a8f06 Drop warning for nonlocal image URI 2017-04-19 01:40:17 +09:00
Takeshi KOMIYA
01cb3a75c7 Fix #3558: Emit warnings if footnotes and citations are not referenced 2017-03-18 21: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
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
0b1178bff7 Merge branch 'stable' 2017-03-01 15:04:28 +09: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
4aa2318185 Revert "update LaTeX doc about dependencies"
This reverts commit dbf960884d.
2017-02-26 11:34:18 +01: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
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
Takeshi KOMIYA
ef1f587344 Merge branch 'stable' 2017-02-12 21:52:20 +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
jfbu
a9fba76829 latex's `'pxunit''s default written .75bp` for conciseness
It boils down to exact same value (`̀ 49336sp``) as formerly.
2017-02-09 14:13:09 +01:00
jfbu
4cece2dd27 Merge branch 'stable' 2017-02-09 13:57:57 +01:00
jfbu
f2111d8f8a move (latex docs) `'geometry'` to "... don't need to be overridden"
indeed, customization will generally go via the `̀ 'sphinxsetup'`` keys
for margins or can be achieved via use of ``'passoptionstopackages'``.
Thus the key primary use would now be to remove entirely use of
``geometry`` package, which should be rarely needed.
2017-02-09 13:54:31 +01:00
jfbu
c3e2d271f2 Merge branch 'stable' 2017-02-09 13:34:01 +01:00
Takeshi KOMIYA
2968ef3c26 Fix #3402: Allow to suppress "download file not readable" warnings using `suppress_warnings` 2017-02-09 12:55:07 +09:00
Jean-François B
6f3759dbab Merge branch 'stable' into japanesetextlayout 2017-02-06 14:48:38 +01:00
jfbu
64475a8d7d shorten and link latex docs 2017-02-06 14:24:19 +01:00
jfbu
80e39e4031 Update docs about latex's `'releasename'` 2017-02-05 23:13:17 +01:00
jfbu
451115f2d1 no need to pass truedimen as class option, package option is enough 2017-02-05 20:07:41 +01:00
jfbu
9c6a071572 Fix #3356 and #3394 (latex) text layout of Japanese documents
- make text width integer multiple of zenkaku width

- fix incompatibility of ``geometry`` package with ``jsbook`` LaTeX
  class (``'manual'`` docclass)

- fix issue with shortened text area height in ``'manual'`` docclass
2017-02-05 17:25:50 +01:00
Timotheus Kampik
82d608ccaf document markdown support #2303 #825 2017-02-02 14:42:42 +09:00
Timotheus Kampik
e6693b5cae document markdown support #2303 #825 2017-01-29 10:58:22 +01:00
jfbu
cf966d4a97 Merge branch 'stable' 2017-01-21 15:21:33 +01:00
jfbu
dc51eef605 LaTeX, pass dvipdfm option to geometry package for Japanese documents 2017-01-21 11:31:32 +01:00
jfbu
765b00fc30 Fix config.rst missing escape in `latex_documents` author example 2017-01-21 10:44:50 +01:00
shimizukawa
4c22cd10ca Merge branch 'stable' 2017-01-07 02:14:29 +09:00
Takeshi KOMIYA
431d865d4a Drop deprecated options for html builder 2017-01-05 13:51:55 +09:00
Takeshi KOMIYA
5d715cb148 Drop deprecated options for latex builder 2017-01-05 13:48:41 +09:00
Takeshi KOMIYA
390e5a6ec2 Drop deprecated options for epub3 builder 2017-01-05 13:48:03 +09:00
Takeshi KOMIYA
ea856fd909 Drop LDML support of format_date() 2017-01-05 13:47:19 +09:00
Takeshi KOMIYA
54c8c01222 Emit warning for nested numbered toctrees (refs: #3142) 2017-01-03 01:08:27 +09:00
Takeshi KOMIYA
6d900c34f1 Fix #3214: Allow to suppress "unknown mimetype" warnings from epub builder 2016-12-11 00:42:57 +09:00
Takeshi KOMIYA
12660e44b5 Fix #3185: Add new warning type `misc.highlighting_failure` 2016-12-03 15:25:15 +09:00
Takeshi KOMIYA
7c19a2f36a Fix #3118: Update document for numfig_format and numref 2016-11-20 12:46:30 +09:00
Takeshi KOMIYA
8006d31b32 Fix #3095: Add tls_verify and tls_cacerts to support self-signed servers 2016-11-17 23:12:39 +09:00
jfbu
ee4138a1de fix typo in doc 2016-11-06 11:30:30 +01:00
jfbu
e78c17605c rename `'postamble' to 'atendofbody'` (ref #2877) 2016-11-06 10:11:40 +01:00