Commit Graph

1649 Commits

Author SHA1 Message Date
Takeshi KOMIYA
041aa6055f Fix #2331: code-blocks are filled by block in dvi; remove `xcdraw` option from xcolor package 2016-02-23 00:18:08 +09:00
Takeshi KOMIYA
84fb1b7617 Fix #2245: Add `latex_elements["passoptionstopackages"]` option to call PassOptionsToPackages in early stage of preambles 2016-02-23 00:14:03 +09:00
Takeshi KOMIYA
968f072c42 Fix CHANGES for #2276 2016-02-23 00:11:23 +09:00
Takeshi KOMIYA
3f0843bca0 Add figure_language_filename to customize filename pattern for figure substitutions 2016-02-22 21:32:05 +09:00
Takeshi KOMIYA
1f5aa28db0 Fix #1921: Support figure substitutions by locale 2016-02-22 21:32:05 +09:00
Takeshi KOMIYA
46138ca605 Select an image by similarity if multiple images are globbed by `.. image:: filename.*`
Until this point, it is used the last image returned from glob.glob().
The order of glob.glob() is determined by filesystem.
After this, Sphinx uses filename similarity to determine the image.
2016-02-22 17:06:35 +09:00
Takeshi KOMIYA
d38b3ff2a0 Merge branch 'stable' 2016-02-20 21:19:51 +09:00
Takeshi KOMIYA
f6af2af9a4 Don't show option-role warnings in 1.3.x too 2016-02-20 19:43:39 +09:00
Takeshi KOMIYA
39bef55fd5 Fix #2329: Refresh environment forcely if source directory has changed 2016-02-20 17:40:31 +09:00
Takeshi KOMIYA
3ce737335e Fix #2329: Refresh environment forcely if source directory has changed 2016-02-20 17:11:33 +09:00
Takeshi KOMIYA
2b93e09c0a Highlighting fallbacks by default
In 423bf7b, I tried to add fallback mechanism to ``python3``. But it breaks
the python3 highlighting on python2 environment.

This adds ``'default'`` to highlighting languages; it works like
``'python3'``, but fallbacks if failed Highlighting. And this removes
try-parse step from ``'python3'`` language. Now, it highlights regardless of
runtime environments.  Thanks to Yoshiki SHIBUKAWA.
2016-02-20 00:44:28 +09:00
Georg Brandl
e310de0786 Dont show highlighting warning in 1.3.x. This is a "feature-like" change. 2016-02-19 08:53:07 +01:00
Takeshi KOMIYA
ae8cbec29a Fix unpack warning is shown when the directives generated from `Sphinx.add_crossref_type` is used 2016-02-17 11:58:19 +09:00
Georg Brandl
b60e96f47a Merge branch 'stable' 2016-02-16 19:20:09 +01:00
Georg Brandl
4cc2d0114c Closes #2324: Print a hint how to increase the recursion limit when it is hit. 2016-02-16 19:19:54 +01:00
Takeshi KOMIYA
b780d2207a Fix ValueError is raised if LANGUAGE is empty string 2016-02-17 01:13:00 +09:00
Takeshi KOMIYA
423bf7b5e3 Fix code-block literals raises highlighting warnings by default 2016-02-17 01:07:18 +09:00
Takeshi KOMIYA
881e086e50 Remove `image/gif` from supported_image_types of LaTeX writer (ref #2272) 2016-02-16 12:52:50 +09:00
Takeshi KOMIYA
d9be95a6d3 Fix #2308: Define `\tablecontinued` macro to redefine the style of continued label for longtables 2016-02-16 12:42:35 +09:00
Georg Brandl
774927c90c Minor addition to changelog. 2016-02-15 23:36:53 +01:00
Takeshi KOMIYA
532e99c96b Fix #2290: `sphinx.ext.mathbase` use of amsfonts may break user choice of math fonts 2016-02-15 17:36:51 +09:00
shimizukawa
da85b47e93 Bump version 2016-02-14 22:42:59 +09:00
shimizukawa
8c018d31aa Bump to 1.4 alpha1 2016-02-14 22:22:38 +09:00
Takeshi KOMIYA
4452cc3d2e Fix #794: Date formatting in latex output is not localized 2016-02-14 21:48:24 +09:00
Takeshi KOMIYA
77e3246fb1 Fix warnings on CHANGES 2016-02-14 21:13:31 +09:00
shimizukawa
e6a5a3a92e classifier of glossary terms can be used for index entries grouping key. The classifier also be used for translation. See also :ref:glossary-directive. 2016-02-14 19:28:58 +09:00
shimizukawa
0992ce542b Closes #1853: support custom text splitter on html search with language='ja'. 2016-02-14 19:23:51 +09:00
Takayuki SHIMIZUKAWA
e1394b5427 Merge pull request #2321 from sphinx-doc/py-3-highlighting
The default highlight language is now Python 3. Use it in viewcode as well.
2016-02-14 19:10:05 +09:00
Georg Brandl
c1b7b6f369 The default highlight language is now Python 3.
References: #2279.

This means that source code is highlighted as Python 3 (which is mostly
a superset of Python 2), and no parsing is attempted to distinguish
valid code.
2016-02-14 09:21:35 +01:00
shimizukawa
823ef59564 Update CHANGES for #1854. 2016-02-14 16:48:30 +09:00
Takeshi KOMIYA
7a4f914f91 Fix #1286, #2099: Add `sphinx.ext.autosectionlabel` extension to allow reference sections using its title 2016-02-14 16:30:57 +09:00
shimizukawa
cca371de87 Remove termset node. It is not used anywhere. Restore termsep node and set as Deprecation. refs #2251 2016-02-14 15:11:07 +09:00
shimizukawa
804e866404 Now term nodes in a glossary directive are wrapped with termset node to handle multiple term correctly.
Fix #2251; Line breaks in .rst files are transferred to .pot files in a wrong way.
2016-02-14 15:11:06 +09:00
Takeshi KOMIYA
b0897a47c4 Update CHANGES for PR#2311 2016-02-14 15:07:39 +09:00
Takeshi KOMIYA
a391b1a1db Add Sphinx.add_enumerable_node() to add enumerable nodes for numfig feature 2016-02-14 14:49:34 +09:00
Takeshi KOMIYA
b07f4ccf10 Update CHANGES for PR#2300 2016-02-14 14:47:04 +09:00
Georg Brandl
222edf59e7 linkcheck: dont check anchors starting with "!".
Add changelog entry for #1099.
2016-02-13 16:06:55 +01:00
Georg Brandl
5e8642983b Fixup links in the documentation. 2016-02-13 16:00:46 +01:00
Takeshi KOMIYA
fd674ef9f9 Fix #2199: Use `imagesize` package to obtain size of images 2016-02-10 00:46:22 +09:00
shimizukawa
980653f277 Merge with stable
Conflicts:
	sphinx/environment.py
	sphinx/ext/autodoc.py
	sphinx/writers/latex.py
2016-02-09 23:19:49 +09:00
shimizukawa
f29edef477 Update CHANGES for #1873, #1876, #2278 2016-02-09 18:09:43 +09:00
shimizukawa
a88212a214 Update CHANGES for #1751 and #2074. 2016-02-09 17:38:07 +09:00
shimizukawa
aefab514e2 Fix #2287: sphinx.transforms.Locale always uses rst parser. Sphinx i18n feature should support parsers that specified source_parsers. 2016-02-09 00:16:46 +09:00
shimizukawa
e2208c12a0 Update CHANGES and documentation for #1751. 2016-02-08 23:31:02 +09:00
Takeshi KOMIYA
0b28ee775f Merge pull request #2064 from TimKam/feature-1970-navigate-with-keys
HTML doc: navigate with left/right arrow keys
2016-02-08 11:25:49 +09:00
Takeshi KOMIYA
9ba7cc815c Fix #2292: Some footnotes disappear from LaTeX output 2016-02-08 11:24:07 +09:00
Takeshi KOMIYA
44f6867df7 Update CHANGES for PR #1779 2016-02-07 20:10:40 +09:00
Takeshi KOMIYA
9b958b6dcc Fix #2291: pdflatex "Counter too large" error from footnotes inside tables of contents 2016-02-07 20:04:28 +09:00
Takeshi KOMIYA
6a2eb19cd5 Update CHANGES for PR #2282 2016-02-07 14:49:22 +09:00
Georg Brandl
bdc230b1cc Closes #2295: Avoid mutating dictionary errors while enumerating members in autodoc with Python 3 2016-02-04 19:59:20 +01:00