Commit Graph

6349 Commits

Author SHA1 Message Date
Jean-François
78c57dc788 Merge pull request #2453 from jfbu/fixpdfunbreakabletopicboxes
Fix #2446: latex(pdf) sets local tables of contents in unbreakable boxes
2016-04-20 17:47:14 +02:00
jfbu
d8b4ce585d fix a latex issue of vertical space
modified:   sphinx/texinputs/sphinx.sty
2016-04-20 13:59:37 +02:00
jfbu
75992bc831 Update CHANGES for PR #2453 2016-04-20 12:49:43 +02:00
jfbu
701749491e Merge branch 'stable' into fixpdfunbreakabletopicboxes 2016-04-20 12:48:30 +02:00
jfbu
68becb118e Fix #2446: latex(pdf) sets local tables of contents in unbreakable boxes
Allow page breaks in topic contents (e.g. local tables of contents) from
replacing \shadowbox of non anymore used package framebox by a custom
framed package environment.

Formerly, topic boxes extended into right margin; put only the shadow in
margin, locate the right frame exactly at the margin.

Use framed.sty also for framing admonitions of the warning type. Make
vertical spacing more coherent with the one for hint type notices.
Handle case with warning notices getting nested; the inner ones use a
minipage, only the outer one allows pagebreaks.
2016-04-20 12:28:39 +02:00
Jakob Lykke Andersen
aaf9173ede C++, fixes sphinx-doc/sphinx#2456.
Rename node attributes to only use lower case,
because Docutils wants it that way.
2016-04-19 17:33:52 +09:00
Takeshi KOMIYA
9b24fc2b94 Merge pull request #2462 from jfbu/anticipatefutureluatex
Load compatibility patch for LuaTeX 0.85+
2016-04-19 10:55:22 +09:00
jfbu
5c823a770c Load compatibility patch for LuaTeX 0.85+
See http://ctan.org/pkg/luatex85 for more info. Old packages relying on
pdf naming of primitives will break under LuaTeX 0.85+, which will be
generally available starting with TeXLive 2016 release.

	modified:   sphinx/texinputs/sphinx.sty
2016-04-18 12:37:15 +02:00
Takayuki SHIMIZUKAWA
a5acb01c0f Merge pull request #2458 from sphinx-doc/travis-verbose
verbose output for travis testing
2016-04-18 18:52:07 +09:00
shimizukawa
7eb15acd30 verbose output for travis testing 2016-04-18 16:44:35 +09:00
shimizukawa
d5c36e045b update devguide: following current procedure to run test 2016-04-18 14:36:25 +09:00
Takeshi KOMIYA
f7dbeed02c Merge pull request #2457 from jfbu/fixparsepincodeblocks
Fix a vertical space in indented code-blocks for latexpdf
2016-04-18 10:19:06 +09:00
jfbu
2bbeeffd94 Fix a vertical space in indented code-blocks for latexpdf
Add a missing \setlength\parsep{0pt} in Verbatim. There was a little
extra white space below top frame for indented code-blocks because of
that.

	modified:   sphinx/texinputs/sphinx.sty
2016-04-17 22:11:50 +02:00
Takeshi KOMIYA
919b42b0d4 Initialize suppress_warnings on Config.pre_init_values() 2016-04-17 13:32:32 +09:00
Takeshi KOMIYA
ed52e00f34 Refactor needs_sphinx 2016-04-17 12:40:09 +09:00
Takeshi KOMIYA
64f1b3f5b1 Update CHANGES for PR#2448 2016-04-16 23:28:02 +09:00
Takeshi KOMIYA
e62994b6e3 Merge pull request #2448 from jfbu/fixpdfcaptioncolor
Fix #2447: VerbatimBorderColor wrongly used also for captions of PDF
2016-04-16 23:27:21 +09:00
Takeshi KOMIYA
c289a35c1b Fix #2397: Setup shorthandoff for turkish documents 2016-04-16 18:28:15 +09:00
Takeshi KOMIYA
febfd6829c Fix #2436: Sphinx does not check version by :confval:needs_sphinx if loading extensions failed 2016-04-16 16:55:59 +09:00
Takeshi KOMIYA
f15bdce1db Fix testcase 2016-04-16 16:11:48 +09:00
Takeshi KOMIYA
a03b50b627 Move \! before \begin{aligned} (ref: #2370) 2016-04-16 15:21:28 +09:00
Takeshi KOMIYA
73166b241d Fix #2407: building docs crash if document includes large data image URIs 2016-04-16 15:04:32 +09:00
Takeshi KOMIYA
21ee53df2d Define new warning types for suppress_warnings (ref #2451) 2016-04-16 12:43:03 +09:00
Takeshi KOMIYA
35ad9ac587 Update CHANGES 2016-04-15 01:52:13 +09:00
Takeshi KOMIYA
bfd0dd5c3a Fix pep8 violation (F401) on conf.py 2016-04-15 01:42:21 +09:00
jfbu
bdba5655b9 Fix typo in comment after renaming.
Sorry.

	modified:   sphinx/texinputs/sphinx.sty
2016-04-14 18:23:33 +02:00
Takeshi KOMIYA
6fb73f41d5 Fix pep8 violation (E122) on conf.py 2016-04-15 01:20:15 +09:00
jfbu
4e69311599 Make more robust Verbatim code for PDF. No more redefines \fbox.
Although the definition was made locally, it meant that for example
macros of type \PYG... could not use internally \fbox whose meaning
had been modified. New code never modifies \fbox or \XC@fbox.

	modified:   sphinx/texinputs/sphinx.sty
2016-04-14 18:14:44 +02:00
Tony Narlock
ecf2236724 Add newline below comments in quickstart
See also: https://git.io/vgaHi
2016-04-15 00:03:21 +09:00
Tony Narlock
c2260f6eb3 quickstart-build: add space to comments to suppress E265 on conf.py of projects. 2016-04-15 00:03:12 +09:00
jfbu
53cc2aa8a8 Fix #2447: VerbatimBorderColor wrongly used also for captions of PDF
On this opportunity the code and comments in sphinx.sty from commit
9d82cad (LaTeX captions of literal blocks now glued to framed verbatim)
have been re-organized, uses less macros. Only functional difference
should be the fix of #2447.

	modified:   sphinx/texinputs/sphinx.sty
2016-04-14 10:46:42 +02:00
Takeshi KOMIYA
13c814adc3 Fix failure in py3 2016-04-14 12:05:13 +09:00
Takeshi KOMIYA
c3fe96f6fc Remove debug print 2016-04-14 12:03:10 +09:00
Takeshi KOMIYA
3206ccbae0 sphinx.ext.mathbase: Refactor LaTeX output 2016-04-14 10:39:33 +09:00
Takeshi KOMIYA
39396a4b1e Fix #2370: the equations are slightly misaligned in LaTeX 2016-04-14 10:37:54 +09:00
Takeshi KOMIYA
9a7bbb0947 Add image file for testcase of #2395 2016-04-13 21:30:45 +09:00
shimizukawa
5655fe1e6a Bump version 2016-04-12 22:20:08 +09:00
shimizukawa
47681a0638 Bump to 1.4.1 final 2016-04-12 22:12:19 +09:00
shimizukawa
b8fe679b4c tweak CHANGES 2016-04-12 22:05:25 +09:00
shimizukawa
ab02e2a06f Fix flake8 and update CHANGES for #2440 2016-04-12 21:57:01 +09:00
Takayuki SHIMIZUKAWA
b8aca81fbc Merge pull request #2440 from xhochy/bugfix/source_date_epoch
Fix wrong import for gmtime
2016-04-12 21:54:19 +09:00
Korn, Uwe
eb13982c41 Fix wrong import for gmtime 2016-04-12 12:26:59 +00:00
Takeshi KOMIYA
750720ee90 Update CHANGES for PR#2405 2016-04-11 10:54:49 +09:00
Takeshi KOMIYA
5b80365409 Merge pull request #2415 from jfbu/jumptorightplace-onstable
Fix #2405 and #2414 related to PDF hyperlinks to numbered code listings
2016-04-11 10:53:34 +09:00
jfbu
673222f20a Added Tests for latex(pdf) links to captioned or named literal blocks
As conf.py has now numfig = True, needed to modify accordingly test for
links in html output.

This topic branch fixes #2405, #2414, and also makes for latex(pdf)
functional hyperlinks to named references, but only for literal blocks
(code-block or literalinclude).

	modified:   tests/roots/test-directive-code/caption.rst
	modified:   tests/roots/test-directive-code/conf.py
	new file:   tests/roots/test-directive-code/namedblocks.rst
	modified:   tests/test_directive_code.py
2016-04-10 20:45:59 +02:00
jfbu
a4aefd454a Remove unneeded \bgroup/\egroup in legacy sphinx.sty definition of Verbatim
Indeed, sphinx.sty redefines _environment_ Verbatim, and LaTeX's
environments always are scope-limiting for local assignments.

	modified:   sphinx/texinputs/sphinx.sty
2016-04-10 18:55:14 +02:00
jfbu
afb83c249f Make reset of \SphinxVerbatimTitle to \empty explicit in produced LaTeX files
modified:   sphinx/texinputs/sphinx.sty
	modified:   sphinx/writers/latex.py
2016-04-10 18:55:13 +02:00
Takeshi KOMIYA
aaac328336 Update CHANGES for PR#2396 2016-04-10 20:52:14 +09:00
Ionel Cristian Mărieș
062a9f935e Seems that e6a5a3a92e forgot to update this file. 2016-04-10 20:51:40 +09:00
Takeshi KOMIYA
9df7783ba2 Fix #2395: Sphinx crashs if unicode character in image filename 2016-04-10 20:25:25 +09:00