Commit Graph

7330 Commits

Author SHA1 Message Date
jfbu
cf246d09c0 latex_engine template variable, check luatex85 only if lualatex engine 2016-11-04 22:16:30 +01:00
Jean-François B
7325f8fe8c Merge pull request #3083 from jfbu/add_to_new_default_latex_settings
Add to new default latex settings
2016-11-04 21:59:30 +01:00
jfbu
e4d73df110 refactor multilingual setup, let "polyglossia" use `\setmainlanguage` 2016-11-04 21:00:37 +01:00
Takeshi KOMIYA
2fb9f81208 Update CHANGES for PR#2495 2016-11-04 23:55:32 +09:00
Takeshi KOMIYA
a503849ac1 Merge pull request #2495 from electrofelix/linkcheck-skip-anchors
Allow skipping anchor checking using regex
2016-11-04 23:53:46 +09:00
Takeshi KOMIYA
56958227c8 Refactor test_bulid_latex: add skip_if_stylefiles_notfound() 2016-11-04 15:14:41 +09:00
Takeshi KOMIYA
3f4721e140 Refactore test_build_latex: add compile_latex_document() 2016-11-04 12:06:19 +09:00
jfbu
f2b63b473b fix python error in latex.py from commit 528b6c3 2016-11-03 20:03:53 +01:00
Takeshi KOMIYA
7a6f2ae894 Fix py3.6b3 crashes with empty Callable annotation 2016-11-03 10:01:21 +09:00
Alex Grönholm
07caa321d3 Add comment about skipping plain Callable 2016-11-02 21:43:33 +02:00
Alex Grönholm
a1f6baaa81 Fix annotations formatting for plain typing.Callable
The typing.Callable class may be used without generic arguments, in which case it is equivalent to collections.abc.Callable.
2016-11-02 21:43:33 +02:00
Takeshi KOMIYA
0f35b94500 Update CHANGES for PR#3071 2016-11-02 23:01:58 +09:00
Takeshi KOMIYA
b32d9a9bc7 Merge pull request #3071 from mleinart/autodoc/pass_through_decorators
Autodoc: Allow mocked module decorators to pass-through functions unchanged
2016-11-02 23:01:16 +09:00
jfbu
1777939fa4 Update CHANGES for PR#3059 2016-11-02 14:55:47 +01:00
Jean-François B
67fe3d6da0 Fix #2865: let LaTeX image inclusion obey `scale` before textwidth fit (#3059) 2016-11-02 14:50:41 +01:00
Jean-François B
358f5e08ef Merge pull request #3055 from jfbu/allowreferencesinlatextopics
Fix #2461: re-allow footnotes in topics for latex PDF
2016-11-02 14:45:27 +01:00
Takeshi KOMIYA
a880d0e84e Fix #3114: Install enum34 to test autodoc on py27 2016-11-02 21:35:50 +09:00
Takeshi KOMIYA
b014c34586 Fix #3111: autodoc crashes with python3.6b3
Since 3.6b3, structure of typing.Callable has been changed.
2016-11-02 20:08:21 +09:00
jfbu
da1e157e90 fix typo in CHANGES 2016-11-02 08:18:53 +01:00
jfbu
b9bb7d8810 Update CHANGES for PR#3104 2016-11-02 08:16:30 +01:00
Takeshi KOMIYA
ae1f523d52 Add `--extensions to sphinx-quickstart` to support enable arbitary extensions from command line (ref: #2904) 2016-11-02 11:11:15 +09:00
Jean-François B
a759e5eae7 Merge pull request #3104 from jfbu/latex_keyvalueoptions
``'sphinxpackageoptions'`` for key=value styling of Sphinx LaTeX
2016-11-01 19:25:49 +01:00
jfbu
aff72931fc minor update to latex.rst 2016-10-30 00:08:17 +02:00
jfbu
e70746e8da uppercase colour names (latex styling) 2016-10-30 00:04:23 +02:00
jfbu
a48a9c883a style the latex chapter in the docs (for pdf output) 2016-10-29 16:30:33 +02:00
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
shimizukawa
a5bdf1fdae Closes #3060: autodoc supports documentation for attributes of Enum class. Now autodoc render just the value of Enum attributes instead of Enum attribute representation. 2016-10-28 00:02:09 +09: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
Darragh Bailey
22765990f0 Allow skipping anchor checking by regex
To avoid needing to turn off anchor checking across the entire
documentation allow skipping based on matching the anchor against a
regex.

Some sites/pages use JavaScript to perform anchor assignment in a
webpage, which would require rendering the page to determine whether
the anchor exists. Allow fine grain control of whether the anchor is
checked based on pattern matching, until such stage as the retrieved
URLs can be passed through an engine for deeper checking on the HTML
doctree.
2016-10-27 10:52:04 +01: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
jfbu
24dd7852f4 Fix #3019: (xetex) let Unicode "no-break space" act like LaTeX `~` 2016-10-25 14:37:54 +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