Commit Graph

7243 Commits

Author SHA1 Message Date
Takeshi KOMIYA
53ea1cb280 Fix #3045: HTML search index creator should ignore "raw" content if now html 2016-10-17 16:08:37 +09:00
jfbu
78d96b4abb amend Update CHANGES for PR#3057 2016-10-16 17:49:23 +02:00
jfbu
18c31d52bb Update CHANGES for PR#3057 2016-10-16 17:47:38 +02:00
Jean-François B
828c96ec10 Fix #3047: spacing before footnote in pdf output is not coherent (#3057)
A ``\sphinxBeforeFootnote`` macro is inserted by footnote environment
and ``\footnotemark`` command. Its default is to remove the space before
the footnote mark. Formerly, footnotes from explicit mark-up were
preceded by a space allowing a linebreak, but automatically generated
footnotes had no such space.
2016-10-16 17:40:19 +02:00
Takeshi KOMIYA
617f18b009 Merge pull request #3056 from jfbu/testmakemode
Fix make-mode Makefile template in order to allow build to go through
2016-10-17 00:14:40 +09:00
jfbu
2b865cf90a Make `make synonym to make help` again 2016-10-15 23:42:00 +02:00
jfbu
16e9049bb3 No need for an empty recipe for Makefile as it has been set .PHONY 2016-10-15 22:59:12 +02:00
jfbu
362ee9d974 Fix make-mode in order to allow build to go through 2016-10-15 21:09:21 +02:00
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