Jean-François B
5fa47df1e8
Merge pull request #3096 from jfbu/latex_fixtoodeeplynested
...
Fix #777 : (part II) LaTeX output "too deeply nested"
2016-10-27 09:58:48 +02:00
jfbu
4e2bdf6671
ignore `'maxlistdepth'` if package "enumitem" in use
2016-10-27 09:24:12 +02:00
jfbu
183a2ca75a
Fix label placement in doc/config.rst (caused extra white line)
2016-10-26 23:49:49 +02:00
jfbu
e59ab1538d
fix typos and mark-up in doc/config.rst
2016-10-26 23:16:15 +02:00
jfbu
a3cf7185f1
fix mark-up in doc/config.rst
2016-10-26 22:56:58 +02:00
jfbu
3af9353b38
Fix #777 : (part II) LaTeX output "too deeply nested"
...
The standard classes have a severe cap on maximal nesting of list-like
environments (a total of six levels, and four for each of enumerate and
itemize). This commit defines a new key ``'maxlistdepth'``. _Only_ if it
is set (i.e. non-empty) will sphinx.sty do some hack to lift the LaTeX
limitations and extend the maximal list depth to the desired value.
2016-10-26 10:30:52 +02:00
jfbu
6438cf54db
fix capitalization in config.rst: "Example of configuration file"
2016-10-17 17:25:40 +02:00
jfbu
daee1fc51d
Fix config.rst description of `latex_documents` docclass element
2016-10-17 09:46:38 +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
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
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
Jonathan Harker
59ba8c1dee
Fix #3028 : figure_language_filename format tokens, document tokens.
2016-10-13 16:41:57 +13: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
Takeshi KOMIYA
cbe0ce6beb
Add example of conf.py to doc/config.rst
2016-10-12 18:40:19 +09:00
jfbu
b0a3b6cbc0
fix typo in config.rst
2016-10-11 20:55:00 +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
jfbu
861973bfbb
Merge branch 'usegeometrypackage'
2016-10-10 20:55:44 +02:00
jfbu
34f1ce17fd
Fix #3018 : LaTeX problem with page dimensions and chapter titles
...
New key ``'geometry'`` to ``latex_elements``.
2016-10-07 23:40:39 +02:00
jfbu
5b78aa28fe
Fix #147 and fix #1986 : Problem with latex chapter style
...
Notice that as an after effect ``Contents`` or ``Python Module Index``
will appear (by default) in bold, and larger than formerly (it was a
bug of Sphinx that they were not styled).
I am leaving the `\py@HeaderFamily` in the `sphinx.sty` patch to the
Bjarne `fncychap.sty` style for backwards compatibility. And as it does
`\bfseries` by default I left only the size changing commands in the
`fncychap` customization of Bjarne style.
Also, the `\@makechapterhead` re-definition obeys `\mainmatter` etc...
2016-10-07 11:55:43 +02:00
Takeshi KOMIYA
ec934d476a
Fix #2983 : Rename `epub3_description and epub3_contributor to epub_description and epub_contributor`.
2016-10-01 00:17:19 +09:00
Takeshi KOMIYA
fb9dc3539a
Merge pull request #2966 from tk0miya/2877_rename_footer
...
Fix #2877 : Rename ``latex_elements['footer']`` to ``latex_elements['postpreamble']``
2016-09-21 10:48:20 +09:00
Takeshi KOMIYA
f84effecf8
Fix #2877 : Rename `latex_elements['footer'] to latex_elements['postpreamble']`
2016-09-17 21:07:50 +09:00
Takeshi KOMIYA
2b10fc0188
Fix #2916 : numref role can also refer caption as an its linktext
2016-09-17 15:51:18 +09:00
Takeshi KOMIYA
1aafc7e2e5
Fix #326 : numref role can also refer sections
2016-09-17 15:51:18 +09:00
Takeshi KOMIYA
c147f6496e
Fix #2919 : Drop py26 support
2016-09-15 22:47:47 +09:00
Yoshiki Shibukawa
87019afe97
fix CHANGES and document
2016-09-03 00:32:03 +09:00
Takeshi KOMIYA
bb46bf591d
html_translator_class is now deprecated
2016-08-24 19:11:10 +09:00
Takeshi KOMIYA
8a9459b308
Merge branch 'stable'
2016-08-09 23:19:11 +09:00
Yoshiki Shibukawa
59ebeb7f1f
fix epub3 toc.xhtml, epub date format to satisfy spec
2016-08-09 16:58:56 +09:00
Jakob Lykke Andersen
678630a59b
C++, add support for removing index text prefixes
...
Closes sphinx-doc/sphinx#1958 .
2016-08-06 00:53:50 +02:00
Jakob Lykke Andersen
c85e60a5ac
C++, increase support for attributes.
...
User-defined attributes and simple C++11 style attributes.
Closes sphinx-doc/sphinx#2682 .
2016-08-06 00:08:02 +02:00
Takeshi KOMIYA
d651613583
Merge pull request #2772 from tk0miya/good_default_settings_for_latexpdfja
...
better default LaTeX settings for Japanese
2016-07-21 01:06:08 +09:00
Takeshi KOMIYA
1a575f4666
Update CHANGES and docs
2016-07-19 11:03:38 +09:00
Takeshi KOMIYA
2aace8d54b
Use jreport to the docclass for Japanese howto documents
2016-07-15 23:34:51 +09:00
Takeshi KOMIYA
fc9c9e04ee
better default LaTeX settings for Japanese
2016-07-15 22:36:49 +09:00
Takeshi KOMIYA
31c6beb578
Merge pull request #2454 from mgeier/html-sourcelink-txt
...
Add option html_sourcelink_suffix
2016-07-06 01:43:18 +09:00
jfbu
a20533540b
Add a sentence in doc/config.rst on `'pxunit'` key
2016-06-29 20:55:07 +02:00
jfbu
fc2202fd2a
latex, replace `'pixelsize' by more precise 'pxunit'` name
2016-06-25 10:32:48 +02:00
jfbu
f6b0ae903d
latex, allow image dimensions using px unit (96px=1in)
...
New key ``'pixelsize'`` in ``latex_elements`` dictionary.
2016-06-24 20:36:35 +02:00
jfbu
12ade10d55
New latex.rst for extended documentation of LaTeX's customizing.
2016-06-20 09:23:41 +02:00
jfbu
2cec5a25b2
Merge branch 'stable'
...
Conflicts:
sphinx/domains/cpp.py
sphinx/texinputs/sphinx.sty
tests/test_build_latex.py
2016-06-15 18:29:58 +02:00
jfbu
5510653d6e
Fix #2629 . Add new config option `latex_keep_old_macro_names`
...
The cause of the issue was a clash about ``\titleref`` macro being already
defined in memoir class context. To avoid similar problems, this makes
the text styling macros
``\strong``, ``\code``, ``\bfcode``, ``\email``, ``\tablecontinued``,
``\titleref``, ``\menuselection``, ``\accelerator``, ``\crossref``,
``\termref``, ``\optional``,
also available with ``\sphinx`` prefix, with a conf.py boolean option to
let sphinx.sty only define ``\sphinx``-prefixed macros. As default value
is False, backwards compatibility is maintained.
On this occasion, some internal non-public macros have been renamed with
prefix ``\spx@``. The command
find . -name '*.sty' -exec grep -l \\\\spx@ {} \;
has been executed in TeXLive 2015 and 2016 installations to check no
package defines macros starting with ``\spx@``.
Some internal macros having public names (because they are written by
latex.py into the body of the latex document) have been renamed to have
``\sphinx`` prefix. The macros in sphinx.sty starting with \py@, or \DU,
or \PYG have not been modified. Similarly ``\release``, ``\version``,
``\releasename``, etc... have not been renamed.
2016-06-15 08:53:24 +02:00
Takeshi KOMIYA
a35399a0aa
Merge branch 'stable'
2016-06-10 20:55:05 +09:00
jfbu
7d3bddd4e3
Convert text into links at bottom of tutorial.rst and top of config.rst
2016-06-09 15:34:59 +02:00
Matthias Geier
5559150578
Change html_sourcelink_txt -> html_sourcelink_suffix
2016-06-07 15:17:12 +02:00