Commit Graph

7299 Commits

Author SHA1 Message Date
jfbu
528b6c374c refactor the handling of latex options
previously, modifying a single option via ``\sphinxsetup`` redeclared
all dimensions and colours, even if they had not changed.
2016-10-29 14:03:12 +02:00
jfbu
b6695ad7fc use 'sphinxpackageoptions' as argument to `\sphinxsetup`
Indeed, LaTeX's handling of package options is not robust when options
contain LaTeX macros; thus we pass all the user customization to
``\sphinxsetup``, not as package options to "sphinx.sty".

Also, make parameters for long code line breaking (ref #2343, 1.4.2)
accessible as sub-keys of 'sphinxpackageoptions'. The space reserved for
the continuation character has been modified for coherence and
compatibility with use in footnotes. In fact it did not use the correct
font for the dimension computation. The documentation explains how to
recover former value.
2016-10-28 21:45:44 +02:00
jfbu
67a785c2ab use less macros for dimension parameters in LaTeX styling 2016-10-28 17:01:14 +02:00
jfbu
fb8bb072cb `'sphinxpackageoptions'` for key=value styling of Sphinx LaTeX 2016-10-27 20:24:33 +02:00
Takeshi KOMIYA
99147c1372 Merge pull request #3101 from jfbu/update_stylefile_checklist
update style files checklist for latex tests
2016-10-27 19:52:08 +09:00
jfbu
4d3f5b3c1c update style files checklist for latex tests 2016-10-27 11:43:20 +02:00
jfbu
5142d17e41 fix mark-up in AUTHORS (funny effect of `T.`) 2016-10-27 10:08:26 +02:00
jfbu
7a96becca1 Update CHANGES for PR#3096 2016-10-27 10:02:53 +02:00
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
787fffd25f fix test of current listdepth which was too permissive by one unit 2016-10-26 19:07:44 +02:00
jfbu
4470e7d565 use "kvoptions" to handle sphinx latex package options
will facilitate adding options in the future, with a "key=value" syntax.
2016-10-26 12:06:05 +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
a2672ce11b streamline latex comments in sphinx.sty 2016-10-26 10:16:09 +02:00
Takeshi KOMIYA
f3118e1cd6 Merge pull request #3098 from pamolloy/conf-py-indent
Fix indentation in conf.py
2016-10-26 11:14:46 +09:00
Philip Molloy
47bae16513 Fix indentation in conf.py 2016-10-25 17:03:56 -04:00
jfbu
69d3480ef7 Fix again hyperref duplicate destination warnings
The method at 4e88bfe worked only for page 1. This moves to
``\maketitle`` the whole control.
2016-10-25 22:30:40 +02:00
Takeshi KOMIYA
78c0d6b46c Merge pull request #3064 from tk0miya/2513_default_settings_for_each_engine
A better default settings for LuaLaTeX and XeLaTeX
2016-10-25 21:35:03 +09:00
Takeshi KOMIYA
8122f06415 Update CHANGES 2016-10-25 20:08:07 +09:00
Takeshi KOMIYA
5af1713d60 latex: Disable babel if polyglossia loaded 2016-10-25 20:08:07 +09:00
Takeshi KOMIYA
68de92042f latex: Use \refname if \bibname not defined in sphinxhowto.cls 2016-10-25 20:08:06 +09:00
Takeshi KOMIYA
0ad54208d3 Revirt aa06495b61: Remove unneeded \phantomsection (refs: review comment of #3064) 2016-10-25 14:25:18 +09:00
Takeshi KOMIYA
a79ea0fa95 A better default settings for XeLaTeX 2016-10-25 11:26:44 +09:00
Takeshi KOMIYA
d322e443a8 Travis CI: Install lmodern to build xetex documents 2016-10-25 11:26:44 +09:00
Takeshi KOMIYA
1ced210d74 latex: Introduce ADDITIONAL_SETTINGS to support default settings for each LaTeX engine 2016-10-25 11:26:44 +09:00
Jean-François B
41609f15b8 Fix #3086: revert 1.5a2 change to latex bibliographic entries key widths (#3087) 2016-10-24 15:58:20 +02:00
Jakob Lykke Andersen
efa5382e9b Merge pull request #3072 from jakobandersen/multiline-signatures
Make rendering of multiline signatures better in html.
2016-10-24 13:38:33 +02:00
Takeshi KOMIYA
5e753d50ac Merge pull request #3078 from jwilk/spelling
Fix typos
2016-10-24 20:21:42 +09:00
Takeshi KOMIYA
e139636aa3 Merge pull request #3081 from jfbu/update_makemode_help
Let "make help" provide better info for latexpdf target
2016-10-24 20:16:36 +09:00
jfbu
d0dbd60d94 Addition and alphabetical order fix in AUTHORS 2016-10-23 15:08:51 +02:00
jfbu
8aa66fda80 Let "make help" provide better info for latexpdf target 2016-10-23 11:25:05 +02:00
jfbu
ef73ecefb2 Amend Update CHANGES for PR#3056 (it was already in 1.5a2) 2016-10-23 10:53:55 +02:00
jfbu
637cb141f9 Update CHANGES for PR#3056 2016-10-23 10:46:10 +02:00
jfbu
720e155b83 Add a comment to Makefile template for make-mode, update doc/Makefile 2016-10-23 10:45:23 +02:00
Jakub Wilk
43cab26ece Fix typos 2016-10-22 18:12:34 +02:00
jfbu
54dbd3882d add advice on use of tabulary (latex output) 2016-10-20 15:47:38 +02:00
Jakob Lykke Andersen
4c2815bc95 Make rendering of multiline signatures better in html. 2016-10-20 09:28:59 +02:00
Takeshi KOMIYA
2b6eac73c3 Merge branch 'stable' 2016-10-20 14:42:54 +09:00
Takeshi KOMIYA
aa06495b61 Remove unneeded \phantomsection (refs: review comment of #3064) 2016-10-20 11:40:47 +09:00
Takeshi KOMIYA
6e5964ac27 Remove intern() calls 2016-10-19 19:50:34 +09:00
jfbu
039c68d8f3 Fix #3062: Failed to build PDF using 1.5a2
PR #3030 (3e21ef4) moved "hyperref" loading to later but forgot the
`\hypersetup` at sphinx.sty#L895 for Japanese documents.
2016-10-19 08:55:27 +02:00
shimizukawa
021974ed94 refs #2432 update for latest master 2016-10-19 01:08:07 +09:00
shimizukawa
d1c6d3c45b Update CHANGES for refs #2432. 2016-10-19 01:00:02 +09:00
Takayuki SHIMIZUKAWA
340c6fb9f4 Merge pull request #2432 from agronholm/kwonlyargs
#2432 Fix unwanted * between varargs and keyword only args
2016-10-19 00:54:38 +09:00
jfbu
6438cf54db fix capitalization in config.rst: "Example of configuration file" 2016-10-17 17:25:40 +02:00
Takeshi KOMIYA
9b1b9ce65b Bump version 2016-10-17 21:35:12 +09:00
Takeshi KOMIYA
65e37eefb3 Bump to 1.5 alpha2 2016-10-17 21:31:22 +09:00