Commit Graph

6107 Commits

Author SHA1 Message Date
Hong Xu
4d3fdc0e47 Fix LaTeX output of \mathbb in math
If \mathbb is used in math, which is commonly used to represent sets,
the output LaTeX won't compile. This commit fixes this issue by adding
amsfonts package in the setup of sphinx.ext.mathbase .
2015-12-21 01:30:14 -08:00
Takeshi KOMIYA
f85d1a0b99 Fix #2189: previous sibling link has broken if the file was appeared twice or more 2015-12-21 11:40:56 +09:00
Takeshi KOMIYA
4234c88f21 Fix #2113: Allow `:class:` option to code-block directive 2015-12-20 22:44:32 +09:00
Hong Xu
eac142f8b8 LaTeX: Support math in section titles
Fix #1480
2015-12-20 03:16:54 -08:00
shimizukawa
bf1cc70996 Merge with 'stable' 2015-12-20 08:48:38 +09:00
Takayuki SHIMIZUKAWA
dd74537c62 Merge pull request #2184 from xuhdev/changelog-2182
Update changes for #2182
2015-12-20 08:45:37 +09:00
Takayuki SHIMIZUKAWA
ec176d83e7 Merge pull request #2185 from sphinx-doc/use-with-to-open-file-for-testing
Fix #2185: Use with syntax to open files on testing.
2015-12-20 08:44:04 +09:00
shimizukawa
91fe0b6ceb Fix #2185: Use with syntax to open files on testing. 2015-12-20 08:13:02 +09:00
Hong Xu
61d18a533f Update changes for #2182 2015-12-19 12:51:52 -08:00
Takeshi KOMIYA
9669f2a48b Fix #2171: cannot linkcheck url with unicode 2015-12-19 22:58:53 +09:00
Takeshi KOMIYA
788c0ebffc Add testcase for encoding URIs in linkcheck builder 2015-12-19 22:49:14 +09:00
Takeshi KOMIYA
209e5f29b1 Fix #2168: raw directive does not work for text writer 2015-12-19 20:34:27 +09:00
shimizukawa
0b0f6d66cb Fix #2158: test_latex_build.test_footnote and some tests fail on Windows environment with py3 2015-12-19 19:00:39 +09:00
Takeshi KOMIYA
157375baa3 Merge pull request #2159 from sphinx-doc/1237_footnote_in_deflist
Fix #1237 footnotes not working in definition list in LaTeX
2015-12-19 17:55:07 +09:00
Takeshi KOMIYA
a21bfb1061 Make ShowUrlsTransform plain class 2015-12-19 16:53:15 +09:00
Takeshi KOMIYA
9f96bbaf35 Move testcases for footnotes to roots/test-footnote 2015-12-19 16:45:23 +09:00
Takeshi KOMIYA
5983d02787 Fix #1237 footnotes not working in definition list in LaTeX 2015-12-19 16:45:23 +09:00
Takeshi KOMIYA
5fc4536040 Fix invalid node id was assigned
Because document.ids is reset on pickling doctree...
2015-12-19 16:44:45 +09:00
Takeshi KOMIYA
9fec96d327 Refactor latex_show_urls processor to Transform class 2015-12-19 16:44:45 +09:00
Takeshi KOMIYA
885b997a25 Add testcases for latex_show_urls 2015-12-19 16:40:10 +09:00
Takeshi KOMIYA
e859543f8b Fix #967: SVG inheritance diagram is not hyperlinked (clickable) 2015-12-19 16:12:26 +09:00
Takeshi KOMIYA
39458552ec Update CHANGES for PR #2176 2015-12-19 15:20:55 +09:00
Takeshi KOMIYA
e568f03e38 Merge pull request #2176 from xuhdev/graphviz-interactive-svg
sphinx.ext.graphviz: use <object> instead of <img> to embed svg
2015-12-19 15:15:13 +09:00
Takeshi KOMIYA
cb3f8c62ae Fix typo in CHANGES 2015-12-19 15:12:44 +09:00
Takeshi KOMIYA
cc84702257 Update CHANGES for PR #1833 2015-12-19 10:52:53 +09:00
Takeshi KOMIYA
7f55295650 Merge pull request #1833 from xuhdev/latex-mailto
Email addresses should not be showed again if latex_show_urls is not None
2015-12-19 10:45:53 +09:00
Daniel Jakob
cb484a4172 perform a lower() on german index terms #2083 2015-12-18 21:44:01 +01:00
Georg Brandl
f3dbea14a9 Merge pull request #2181 from usox/2083-fix_german_searchindex
perform a lower() on german index terms #2083
2015-12-18 21:43:23 +01:00
Georg Brandl
8232707a12 merge stable to default 2015-12-18 21:42:55 +01:00
Georg Brandl
17a8f91922 Merge pull request #2182 from xuhdev/latex-dots-images
Fix #981: LaTeX: support image file names with more than 1 dots
2015-12-18 21:42:11 +01:00
Georg Brandl
0e38d445ec More parallel code optimizations. 2015-12-18 21:37:29 +01:00
Daniel Rings
8d373b9ab1 Fix #2177: Remove parallel hangs 2015-12-18 21:37:29 +01:00
Georg Brandl
580405c714 More parallel code optimizations. 2015-12-18 21:37:20 +01:00
Daniel Rings
9cdaf3406f Fix #2177: Remove parallel hangs 2015-12-18 21:37:20 +01:00
Hong Xu
2ee03a2729 Fix #981: LaTeX: support image file names with more than 1 dots
LaTeX cannot detect image file names with more than 1 dots in it
correctly. The solution is to use '{}' to surround the base name. See
https://tex.stackexchange.com/questions/10574/includegraphics-dots-in-filename

Fix #981
2015-12-17 19:03:31 -08:00
Daniel Jakob
a44507083b perform a lower() on german index terms #2083 2015-12-17 15:06:46 +01:00
Hong Xu
691141d23f sphinx.ext.graphviz: Add doc to explain how to make the links in svg output work. 2015-12-16 19:33:17 -08:00
Hong Xu
1a1f735478 sphinx.ext.graphviz: use <object> instead of <img> to embed svg
If svg files are embedded in <img> in html, all interactive features are
lost, which graphviz is able to produce. This commit replace <img> with
<object> for svg files.

Close #967
2015-12-16 02:55:40 -08:00
Jakob Lykke Andersen
d044268d60 Merge pull request #2163 from jakobandersen/master
C++, parallel build fix
2015-12-14 16:17:04 +01:00
daoiqi
d76a700fa2 add chinese search options into html_search_options document 2015-12-13 17:07:11 +08:00
daoiqi
e196d5f8e5 change zh_TW.py to zh.py
it also support Simplified Chinese Search
2015-12-13 16:34:54 +08:00
daoiqi
a17af0bcb7 fix if user not set jieba options then os.path.isfile error 2015-12-13 16:23:14 +08:00
daoiqi
b48c18cb03 zh_TW.py apply pep8 specification 2015-12-13 16:10:21 +08:00
Hong Xu
0084004cfd Add testing cases for the "latex_show_urls" option 2015-12-11 15:06:14 -08:00
Hong Xu
e2f56a64a4 Email addresses should not be showed again if latex_show_urls is not False
The latex output shows email addresses even the external links itself is
an email address. For example, for an email address me@example.com,
latex output will show it as "me@example.com (me@example.com)".  This
commit fixes this issue by removing the "mailto:" prefix before
comparing the text and uri.
2015-12-11 15:05:54 -08:00
Jakob Lykke Andersen
f04c3d8496 Fix flake8 error 2015-12-10 09:52:55 +01:00
Jakob Lykke Andersen
c2db93f00b C++, parallel build fix
Delete operator symbols when clearing.
2015-12-10 09:39:45 +01:00
Buck Evan
59c64a36c5 Merge branch 'master' into dummy-builder 2015-12-09 17:07:08 -08:00
Takeshi KOMIYA
8b47cc52b1 Update CHANGES 2015-12-10 00:15:07 +09:00
Takaaki AOKI
07ed539ad3 modify test strings to be found after build_latex 2015-12-10 00:13:37 +09:00