Commit Graph

3295 Commits

Author SHA1 Message Date
Jakob Lykke Andersen
57f70d0f1d C++, fix assertion in partial builds with duplicates
Fixes sphinx-doc/sphinx#5496
2018-12-16 19:36:35 +01:00
Jakob Lykke Andersen
73a8b7e658 Merge branch 'cpp_fix_float_literals' into 1.8 2018-12-16 17:19:57 +01:00
Jakob Lykke Andersen
b3de33deef C++, fix parsing of floating point literals
Fixes sphinx-doc/sphinx#5636
2018-12-16 16:56:55 +01:00
jfbu
88a019dc99 LaTeX: allow sphinxVerbatim usage without explicit "hllines" extra setup
Fixes: #5810
2018-12-16 16:54:28 +01:00
jfbu
c899b27b4a Update CHANGES for PR #5754 2018-12-11 18:24:09 +01:00
Takeshi KOMIYA
3808405b50 Fix #5659: linkcheck: crashes for a hyperlink containing multibyte character 2018-11-25 01:37:32 +09:00
Jean-François B
9c8c2101d7 Merge pull request #5630 from jfbu/5520_latex_caption_package
LaTeX: compatibility with caption package
2018-11-18 10:11:04 +01:00
Jean-François B
3a512ef68c Merge branch '1.8' into 5520_latex_caption_package 2018-11-14 00:12:27 +01:00
jfbu
7f19885641 LaTeX: compatibility with caption package
This compatibility is mainly re-instored for convenience of user to
style the fonts used for the caption, and also possibly influence the
horizontal position via "width" or "margin" option of caption package
(attention that caption package obeys the document class tacit "twoside"
option, so if left and right margins are not set-up to be the same,
positioning of caption will depend on parity of the page number).

Regarding vertical skips, for captions placed on top (which is the table
templates default and also the literalblockcappos default), this commit
ensures that the vertical spacing separating the caption last baseline
to the top of framing is governed by \sphinxbelowcaptionspace in all
these three cases: tabular(y), longtable, literal blocks; the "skip"
option of caption package is ignored for them.

The "skip" is obeyed for the spacing between an image and its caption,
which currently in Sphinx is always below the image (no customization of
the figure caption vertical placement is currently available).

If literalblockcappos is "b" (captions follow code-blocks), this commit
removes the caption-package added \abovecaptionskip, so that "skip" is
also ignored for code-blocks in this case. This looks better due to the
extra space already added by the framing of the code-block and achieves
same spacing as without caption package (presumably loaded mainly to
style the fonts used for the caption). However in future maybe caption's
package "skip" should be obeyed for "literalblock" caption type.

Fixes: 5520
2018-11-13 23:55:11 +01:00
Takeshi KOMIYA
a6298b7aaf Update CHANGES 2018-11-13 22:59:50 +09:00
Takeshi KOMIYA
33a60ee80e Fix #5614: autodoc: incremental build is broken when builtin modules are imported 2018-11-13 01:05:13 +09:00
Takeshi KOMIYA
0f4514a69c Update CHANGES for PR #5590 2018-11-11 17:58:21 +09:00
Takeshi KOMIYA
345e96c374 Bump version 2018-11-11 15:12:10 +09:00
Takeshi KOMIYA
62a83e4960 Bump to 1.8.2 final 2018-11-11 15:07:44 +09:00
Takeshi KOMIYA
feba53ff55 Fix #3080: texinfo: multiline citations are broken 2018-11-08 23:33:00 +09:00
Takeshi KOMIYA
84f781252f Fix #3080: texinfo: multiline rubric is broken 2018-11-08 23:33:00 +09:00
Takeshi KOMIYA
01130900b5 Merge branch '1.8' into 5557_quickstart_no_batchfile 2018-11-01 22:54:01 +09:00
Takeshi KOMIYA
e080163dfc Merge branch '1.8' into 5563_footnote_refs_causes_latex_crashed 2018-11-01 22:32:09 +09:00
Jean-François B
cc45e560a7 Merge branch '1.8' into 5561_remove_unneeded_xindy_option 2018-10-31 18:44:37 +01:00
Takeshi KOMIYA
d05ea750c3 Merge branch '1.8' into 5563_footnote_refs_causes_latex_crashed 2018-11-01 01:26:31 +09:00
Takeshi KOMIYA
5755b6aeb8 Fix #5557: quickstart: --no-batchfile isn't honored 2018-11-01 01:00:33 +09:00
Takeshi KOMIYA
e3574a6f78 Fix #3002: i18n: multiple footnote_references referring same footnote causes duplicated node_ids 2018-11-01 00:54:25 +09:00
Takeshi KOMIYA
021f370ade Fix #5563: latex: footnote_references generated by extension causes LaTeX builder crashed 2018-11-01 00:47:06 +09:00
jfbu
a695099a1b LaTeX: do not use -I xelatex option with xindy (Fix: #5561)
It is not supported by old xindy (TeXLive 2013 or earlier), and probably
irrelevant anyhow as the .idx file should not have ^^ab or ^^^^abcd
entries.
2018-10-30 17:57:33 +01:00
Takeshi KOMIYA
331003b051 Update CHANGES for PR #5549 2018-10-28 17:54:49 +09:00
Takeshi KOMIYA
9c59735e04 Update CHANGES for PR #5548 2018-10-28 17:53:26 +09:00
Takeshi KOMIYA
1af1d8a82b Merge pull request #5536 from tk0miya/5497_install_mathjax_only_if_needed
Fix #5497: Do not include MathJax.js and jsmath.js unless it is really needed
2018-10-25 23:03:38 +09:00
Takeshi KOMIYA
503df91e17 Merge pull request #5534 from tk0miya/5419_incompatbile_math_block
Fix #5419: incompatible math_block node has been generated
2018-10-25 23:00:05 +09:00
Takeshi KOMIYA
257394a459 Fix #5471: Show appropriate warning for deprecated APIs 2018-10-17 02:05:07 +09:00
Takeshi KOMIYA
3e2842422b Merge branch '1.8' into 5419_incompatbile_math_block 2018-10-17 02:01:52 +09:00
Takeshi KOMIYA
c584b71b12 Merge pull request #5542 from tk0miya/5438_update_CHANGES
Update CHANGES (refs: #5438)
2018-10-17 02:00:00 +09:00
Takeshi KOMIYA
2e6e940df8 Fix #5497: Do not include MathJax.js and jsmath.js unless it is really needed 2018-10-17 01:42:17 +09:00
Takeshi KOMIYA
88ff137c2a Update CHANGES (refs: #5438) 2018-10-17 01:10:13 +09:00
Takeshi KOMIYA
793792fafc Fix #5480: autodoc: unable to find type hints for unresolvable Forward references 2018-10-15 23:40:05 +09:00
Takeshi KOMIYA
d327daba65 Fix #5419: incompatible math_block node has been generated 2018-10-15 23:39:02 +09:00
Takeshi KOMIYA
24af3d9eee Merge branch '1.8' into 5498_typehints_for_partial 2018-10-15 00:46:43 +09:00
Takeshi KOMIYA
b2cc425909 Fix #5498: autodoc: unable to find type hints for a `functools.partial` 2018-10-14 16:29:04 +09:00
Takeshi KOMIYA
a78cb6f28e Fix #5495: csv-table directive with file option in included file is broken 2018-10-14 13:00:56 +09:00
Takeshi KOMIYA
19e7e6a43f Merge branch '1.8' into 5493_gettext_crashed_with_broken_tmpl 2018-10-12 22:21:20 +09:00
Jakob Lykke Andersen
051ba1b4c5 C++, fix assertion on multiple duplicate symbols
If a symbol was declared more than 2 times, it would crash.

Fixes sphinx-doc/sphinx#5496.
2018-10-11 22:39:31 +02:00
Takeshi KOMIYA
ef134fb142 Fix #5493: gettext: crashed with broken template 2018-10-10 22:50:44 +09:00
jfbu
7ab09b5065 Fix #3704: wrong `\label` positioning for figures with a legend 2018-10-07 10:16:11 +02:00
Takeshi KOMIYA
86c48c4b82 Fix #5492: sphinx-build fails to build docs w/ Python < 3.5.2 2018-10-06 23:49:46 +09:00
Takeshi KOMIYA
e5b8f6a679 Update CHANGES for PR #5490 2018-10-02 00:44:54 +09:00
Takeshi KOMIYA
985a982508 Bump version 2018-09-22 17:35:00 +09:00
Takeshi KOMIYA
65a560fd3e Bump to 1.8.1 final 2018-09-22 17:32:40 +09:00
Takeshi KOMIYA
e1ac2eebfb Merge branch '1.8' into 5426_TypeError_for_class_attributes 2018-09-22 16:34:41 +09:00
Takeshi KOMIYA
2f4047af78 Fix py domain: TypeError has been raised for class attribute (ref: #5426) 2018-09-22 16:22:39 +09:00
Takeshi KOMIYA
c0fffb9e8b Fix #5432: py domain: :type: field can't process :term: references 2018-09-22 15:24:14 +09:00
Takeshi KOMIYA
282282cc22 Fix #5454: latex: Index has disappeared from PDF for Japanese documents 2018-09-22 00:53:27 +09:00