JojoBoulix
2eeaceed08
Remove all memory addresses from autodoc
...
Change `object_desription()` to remove all hexadecimal addresses, not only those at the end of the string.
The `repr()` of some objects is generated by taking the `repr()` of one object and then adding stuff to it. Therefore, memory addresses like `<object foo at 0xabcdef>` do not need to occur at the end of the string.
2016-06-09 09:11:48 +02:00
Takeshi KOMIYA
b3e82fadc4
Fix #2646 : latex crashes if math contains twice empty lines
2016-06-09 12:00:07 +09:00
Takeshi KOMIYA
54e0db9cbe
Fix #2351 : latex crashes if enumerated lists are placed on footnotes
2016-06-09 11:30:15 +09:00
Takeshi KOMIYA
8ad8803263
Increment ENV_VERSION (ref: #2631 )
2016-06-08 22:32:11 +09:00
jfbu
e3232958e0
Fix #2632 (again).
...
This is a better way as it also handles the case of warning directive as
first in item of a labeled list.
2016-06-08 11:11:42 +02:00
jfbu
951e258fe9
Fix #2632 (cont.). Allow code-block in warning in quoted block.
...
Move \@newlistfalse from 18eb553b
to earlier location, else LaTeX's \par
will created obsecure "missing item error" if Verbatim code-block is
enclosed in warning notice, and warning notice is in quote block ...
2016-06-08 09:04:53 +02:00
jfbu
a266dd3aa9
Update CHANGES for PR #2627
2016-06-08 08:28:40 +02:00
Jean-François B
a51681b327
Merge pull request #2627 from jfbu/latex_inlinecodeusestraightquotes
...
LaTeX use straight quotes also in inline code
2016-06-08 08:27:26 +02:00
jfbu
b8017b0d01
Replace a \xdef by a \gdef in sphinx.sty
2016-06-08 08:25:05 +02:00
jfbu
e9fb82f51b
Update CHANGES for PR #2641
2016-06-08 08:23:50 +02:00
Jean-François B
5ba32933ae
Merge pull request #2641 from jfbu/latex_fixcodeblockinwarning
...
Fix #2640 : 1.4.2 LaTeX crashes if code-block inside warning directive
2016-06-08 08:22:52 +02:00
jfbu
6abbcb34e2
Update CHANGES for PR #2626
2016-06-08 08:21:02 +02:00
Jean-François B
f689186e58
Merge pull request #2626 from jfbu/latex_fixopenany
...
Fix #2622 : Latex produces empty pages after title and table of contents
2016-06-08 08:20:10 +02:00
jfbu
cea3474ccc
Fix #2640 : 1.4.2 LaTeX crashes if code-block inside warning directive
...
The subtle cause of the bug was that original Verbatim environment was
used inside a minipage environment, and fancyvrb's code for checking
when \end{Verbatim} is reached does not work if \@currenvir is minipage.
2016-06-07 22:56:13 +02:00
jfbu
d4a9997a48
Fix a \begin{\minipage} typo in sphinx.sty from 1.4.2 (ref: 68becb1
)
2016-06-07 20:39:28 +02:00
Takeshi KOMIYA
5c42bb0172
Merge pull request #2636 from tk0miya/rescue_old_styled_indices
...
Fix #2633 : Sphinx crashes with old styled indices
2016-06-07 13:32:54 +09:00
Takeshi KOMIYA
8040c35942
Merge pull request #2628 from jfbu/latex_builtinthemesinSphinxDoc
...
Display correctly the Builtin themes in the PDF build of Sphinx doc
2016-06-07 11:32:37 +09:00
Takeshi KOMIYA
76b9992384
Fix #2633 : Sphinx crashes with old styled indices
2016-06-07 11:02:07 +09:00
jfbu
18eb553b26
Fix #2632 : Warning directives fail in quote environment latex build
2016-06-06 23:46:58 +02:00
jfbu
b5261d560c
Fix #2630 : Latex sphinx.sty Notice Enviroment formatting problem
2016-06-06 23:11:52 +02:00
jfbu
9af0583f22
Fix #2622 (done): correctly obey openany option
...
Clean sphinxmanual.cls of superfluous unneeded code. And also avoid
skipping blank pages if openany for bibliography and index.
2016-06-06 18:37:52 +02:00
jfbu
aa31bae17a
Fix #2622 (cont.): obey openany option
...
This cleans up comments from sphinxmanual.cls.
Memo: the logic behind the earlier sphinxmanual.cls is obscure, besides
the fact that it didn't work correctly if conf.py used openany option.
The parent commit corrected the implementation, but not the logic.
Were it not for the log message about added blank page, there would be
no need to patch \tableofcontents, because by default it will use
\chapter* which does the right thing. Similarly after the end of
abstract, a \chapter or \part (or \tableofcontents, once abstract is
properly handled by LaTeX writer (*)), currently one seems to be
contrived to use raw directive and the abstract is then after
\tableofcontents) will do the right thing in case of openany. Also the
\maketitle wrongly ended with \cleardoublepage, which was corrected in parent
commit, but better would be that it does nothing. Indeed it is not
logical for \maketitle, abstract or \tableofcontents to worry about what
comes next. Anything which comes next should be a \part or \chapter
which will do the right thing.
(*) currently one seems to be contrived to use raw directive and the
abstract is then after \tableofcontents) will do the right thing in case
of openany.
2016-06-06 17:47:14 +02:00
jfbu
f38665b58c
Display correctly the Builtin themes in the PDF build of Sphinx doc
...
Add longtable as class, which will allow pagebreaks in pdf output.
2016-06-06 14:42:58 +02:00
jfbu
82758b13ba
LaTeX use straight quotes also in inline code
...
Was already the case in code-blocks, but not for ``'inline'`` mark-up.
2016-06-06 14:06:13 +02:00
jfbu
78589b05ab
Fix #2622 : Latex produces empty pages after title and table of contents
...
The 'openany' option was not correctly obeyed.
2016-06-06 11:11:43 +02:00
Takeshi KOMIYA
20a7f3b0ca
Merge pull request #2623 from jfbu/latex_noifthen
...
LaTeX: remove use of \ifthenelse macro from sphinx.sty
2016-06-06 11:01:03 +09:00
jfbu
ff8d4709d8
LaTeX: remove use of \ifthenelse macro from sphinx.sty
...
Simpler \ifdefined is already available without package.
2016-06-05 21:34:25 +02:00
Takeshi KOMIYA
cb26ec4d4c
Update release-checklist
2016-06-05 17:27:13 +09:00
Takeshi KOMIYA
20779ab2a2
Update release-checklist
2016-06-05 17:26:31 +09:00
Takeshi KOMIYA
cb486ab3a0
Bump version
2016-06-05 17:17:05 +09:00
Takeshi KOMIYA
8b5ee35a7c
Bump version
2016-06-05 17:09:12 +09:00
Takeshi KOMIYA
d6c6b7bb3e
Merge pull request #2615 from tk0miya/figure-in-table
...
Fix #2593 : latex crashes if any figures in the table
2016-06-05 14:21:51 +09:00
jfbu
d8912c166a
Fix #2593 (cont.): delay to begin document storage of original \caption
2016-06-05 14:21:21 +09:00
jfbu
96e30b0d0e
Fix #2593 (continued): allow figure captions in LaTeX tabulary tables
2016-06-05 14:21:21 +09:00
Takeshi KOMIYA
bb6bb7ded6
Fix #2593 : latex crashes if any figures in the table
2016-06-05 14:21:21 +09:00
Takeshi KOMIYA
bb360d8984
Merge pull request #2619 from jfbu/latex_alwaysamstext
...
LaTeX: load amstext in sphinx.sty even if not using amsmath
2016-06-05 09:13:52 +09:00
jfbu
0753a4a378
Revert "Update documentation for 'amsmath' key in latex_elements"
...
This reverts commit c5824bd1cd
.
2016-06-04 18:39:25 +02:00
jfbu
c5824bd1cd
Update documentation for 'amsmath' key in latex_elements
2016-06-04 14:48:37 +02:00
jfbu
401302df48
LaTeX: load amstext in sphinx.sty even if not using amsmath
...
Needed in particular for:
- use of \iffirstchoice@ at commit 9d82cad
(PR #2297 )
- use of \text at commit 488ee52
addressing issue #2501
2016-06-04 10:23:12 +02:00
Takeshi KOMIYA
df6ed50799
Update CHANGES for PR#2613
2016-06-03 21:44:03 +09:00
Takeshi KOMIYA
cdb621440c
Merge pull request #2613 from shibukawa/feature/extension-blacklist-to-stable
...
add extension blacklist to avoid error when loading deprecated extensions
2016-06-03 21:40:40 +09:00
Takeshi KOMIYA
751f8241ff
Merge branch 'redirection_breaks_intersphinx' into stable
2016-06-03 21:38:11 +09:00
jfbu
e95f6a9510
Prefix LaTeX tabular and tabulary with \noindent (ref: #2614 )
2016-06-03 08:20:47 +02:00
Takeshi KOMIYA
15771ac8d2
Merge pull request #2605 from tk0miya/suppress_orphan_warning
...
Suppress "document isn't included in any toctree" warning if the document is included (ref: #2603 )
2016-06-03 09:22:34 +09:00
Takeshi KOMIYA
1b939042df
Make testcases robust
2016-06-03 00:30:39 +09:00
Yoshiki Shibukawa
88bf4373c7
add extension blacklist to avoid error when loading deprecated extensions
2016-06-02 19:19:46 +09:00
Takeshi KOMIYA
6af14bf6d8
Fix misdetect redirection if original URL includes "/" on tail
2016-06-01 10:54:52 +09:00
Takeshi KOMIYA
2192e2c183
Fix intersphinx fails on using local file
2016-06-01 10:53:42 +09:00
Takeshi KOMIYA
851929c912
Fix #2602 : URL redirection breaks the hyperlinks generated by sphinx.ext.intersphinx
2016-05-31 23:22:01 +09:00
Takeshi KOMIYA
61ef0cab31
Suppress "document isn't included in any toctree" warning if the document is included (ref: #2603 )
2016-05-31 20:07:56 +09:00