jfbu
40b644b664
Update CHANGES for PR#3022
2016-10-15 12:19:08 +02:00
Jean-François B
b8e0e935e4
Improve LaTeX footnotes ( #3022 )
...
Allow code-blocks in footnotes for LaTeX PDF output.
This is done via using a ``footnote environment``, provided by LaTeX
package footnotehyper which replaces old problematic package footnote.
No need to ship a custom tabulary anymore.
The footnote markers are silently removed from the table of contents and
do not end in the PDF bookmarks (the old code in ``sphinx.sty`` copying
``footmisc.sty`` was not satisfactory and has been deleted and replaced
by use of better ``\sphinxfootnotemark``.) Footnotes can be used also in
captions of literal blocks.
2016-10-15 12:09:58 +02:00
jfbu
58dab8d80b
Update CHANGES for PR#3030
2016-10-15 11:56:17 +02:00
Jean-François B
3e21ef45cf
Merge pull request #3030 from jfbu/loadhyperreflater
...
(latex) separate loading of hyperref from sphinx.sty
2016-10-15 11:47:51 +02:00
shimizukawa
487f3db5f6
To simplify, sphinx uses external mock package even if unittest.mock exists.
2016-10-15 16:22:27 +09:00
jfbu
ec8dd32e35
add example to use of `'printindex'
` key
2016-10-14 11:21:18 +02:00
jfbu
689327d6fc
add missing versionchanged directive for tableofcontents
2016-10-14 11:14:15 +02:00
jfbu
536d52063f
Revert "new `'packages'
key to
latex_elements
`"
...
This reverts commit 9972d729ab
.
2016-10-14 09:04:45 +02:00
jfbu
9972d729ab
new `'packages'
key to
latex_elements
`
...
serves to load packages after ``sphinx.sty`` itself and before hyperref.
2016-10-14 09:04:08 +02:00
jfbu
9cdf4fe00f
(latex) separate loading of hyperref from sphinx.sty
...
new 'hyperref' key in ``latex_elements``.
2016-10-14 09:02:18 +02:00
Jean-François B
28d6e34bb3
Merge pull request #3051 from jfbu/betterfixforduplicatedestinationwarning
...
(latex) avoid in a better way duplicate name page.1 hyperref warning
2016-10-14 08:21:36 +02:00
Takeshi KOMIYA
3e7884f5d7
Improve message for confval type checking
2016-10-14 12:12:54 +09:00
Takeshi KOMIYA
72712a95ae
Update CHANGES for PR#3052
2016-10-14 12:00:05 +09:00
Takeshi KOMIYA
fcd5073437
Merge pull request #3052 from doctorlard/figure_language_filename_tokens_2
...
Fix #3028 : figure_language_filename format tokens, document tokens.
2016-10-14 11:58:01 +09:00
jfbu
340edb32c6
(latex) mention Bjornstrup fncychap chapter style in the docs
2016-10-13 23:21:05 +02:00
Jean-François B
b22db35849
Merge pull request #3040 from jfbu/updatelatexsphinxdocumentation
...
update latex.rst (``LaTeX customization`` chapter in the docs)
2016-10-13 22:14:15 +02:00
jfbu
4e88bfeff0
(latex) avoid in a better way duplicate name page.1 hyperref warning
...
The ``\pagenumbering{alph}`` trick has the inconvenient that it is
mandatory to reset later the page numbering to arabic else errors will
arise as soon as the document has more than 26 pages. This resetting is
done by Sphinx code for ``\tableofcontents`` now called
``\sphinxtableofcontents`` but not by original ``\tableofcontents``.
Thus, user putting ``\tableofcontents`` in ``'tableofcontents'`` key
would get errors now without that fix.
The titlepage environment creates a group and clears the page before
exiting, thus this solution is quite analogous to the one recommended by
hyperref author at http://tex.stackexchange.com/a/333219/4686 .
2016-10-13 20:17:28 +02:00
jfbu
fc3908485c
kill unwanted TABs
2016-10-13 15:47:30 +02:00
Takeshi KOMIYA
b35305cd5c
Merge pull request #3046 from jfbu/updatelatexinfostrings
...
update info strings of Sphinx LaTeX style file and classes
2016-10-13 21:33:55 +09:00
Takeshi KOMIYA
2981664178
sphinx-quickstart supports user templates (ref: #2912 )
2016-10-13 21:21:57 +09:00
jfbu
44907736ec
update more latex.rst
2016-10-13 14:09:43 +02:00
jfbu
a16cb8ea57
update info strings of Sphinx LaTeX style file and classes
...
makes latex compilation logs more precise
2016-10-13 10:58:44 +02:00
Jonathan Harker
59ba8c1dee
Fix #3028 : figure_language_filename format tokens, document tokens.
2016-10-13 16:41:57 +13:00
jfbu
c3b6f8cc95
Update CHANGES for PR#3032
2016-10-12 22:42:12 +02:00
Jean-François B
749a6a0558
Merge pull request #3032 from jfbu/improvelatexcompatibilities
...
Fix #3031 : incompatibility with LaTeX package ``tocloft``
2016-10-12 22:40:28 +02:00
jfbu
0861ca9a03
escape some backslashes in latex.rst example code
2016-10-12 22:33:09 +02:00
jfbu
613b80d3ed
update latex.rst (`LaTeX customization
` chapter in the docs)
2016-10-12 22:12:36 +02:00
Takeshi KOMIYA
cb74df621c
export all directives sphinx provides as sphinx.directive.* (like sphinx-1.4.x)
2016-10-13 02:25:31 +09:00
Takeshi KOMIYA
cdafec02ad
Fix #3038 : `sphinx.ext.math*
` raises TypeError if labels are duplicated
2016-10-13 00:32:28 +09:00
Takeshi KOMIYA
d87ba0d1da
Merge branch '2527_reversed_toctree'
2016-10-13 00:13:04 +09:00
Takeshi KOMIYA
54d2084fc4
Merge pull request #3034 from jfbu/use_sphinxoption_forkeepoldnames
...
make sphinx latex style file use a package option
2016-10-12 21:14:51 +09:00
Takeshi KOMIYA
3496242b2d
Merge pull request #2960 from tk0miya/2435_slimdown_default_conf.py
...
Fix #2435 : Slim down quickstarted conf.py
2016-10-12 19:55:48 +09:00
Takeshi KOMIYA
353e274d4b
Update CHANGES for PR#2843
2016-10-12 19:55:21 +09:00
Takeshi KOMIYA
111b7f4c72
Merge pull request #2843 from rthardin/issue_625_start_at_end_at
...
Add :start-at: and :end-at: parameters for literalinclude
2016-10-12 19:54:33 +09:00
Takeshi KOMIYA
d87608ea1d
Update CHANGES for PR#2527
2016-10-12 19:37:36 +09:00
Takeshi KOMIYA
c8fe4a1848
Rename :reverse: option of toctree directive to :reversed:
2016-10-12 19:36:49 +09:00
Takeshi KOMIYA
f22bbf668d
Add testcase for reversed toctree
2016-10-12 19:32:48 +09:00
Takeshi KOMIYA
8481ed3560
Merge remote-tracking branch 'JonhVillalovos/master'
2016-10-12 18:49:08 +09:00
Takeshi KOMIYA
1f2e357107
Merge pull request #2959 from tk0miya/nightly
...
Test with nightly python builds
2016-10-12 18:47:54 +09:00
Takeshi KOMIYA
70831a718e
Merge pull request #2945 from tk0miya/refactor_environment
...
Refactor sphinx.environment.Environment
2016-10-12 18:41:09 +09:00
Takeshi KOMIYA
cbe0ce6beb
Add example of conf.py to doc/config.rst
2016-10-12 18:40:19 +09:00
jfbu
1a540247b6
make sphinx prefixed names known to non-Sphinx document classes
2016-10-12 08:32:24 +02:00
jfbu
9826be6f69
fix forgotten needed redefinitions in sphinx.sty for jsclasses
2016-10-11 23:12:27 +02:00
jfbu
49031c3c40
make sphinx latex style file use a package option
...
for handling of ``latex_keep_old_macro_names`` conf.py setting
2016-10-11 22:50:12 +02:00
jfbu
b0a3b6cbc0
fix typo in config.rst
2016-10-11 20:55:00 +02:00
jfbu
bc8d9aa93d
fix accidental replacement of section by chapter
2016-10-11 20:52:19 +02:00
jfbu
143daf21d8
Fix #3031 : incompatibility with LaTeX package `tocloft
`
...
Use ``\sphinxtableofcontents``, and environments ``sphinxtheindex``
and ``sphinxthebibliography``.
2016-10-11 20:42:58 +02:00
Takeshi KOMIYA
f9186c9b89
Test with nightly python builds
2016-10-11 20:27:42 +09:00
Takeshi KOMIYA
dc584c6963
Fix #2435 : Slim down quickstarted conf.py
2016-10-11 20:02:43 +09:00
Takeshi KOMIYA
1f2368047e
Detach managers on pickling environment
2016-10-11 18:59:22 +09:00