Commit Graph

6564 Commits

Author SHA1 Message Date
Jean-François B
613c10c502 Merge pull request #2542 from jfbu/latex_fixbookmarks
Fix #2517: wrong bookmark encoding in PDF if using LuaLaTeX
2016-05-18 08:39:00 +02:00
jfbu
66bf27584b Update CHANGES for PR#2542 2016-05-18 08:22:21 +02:00
jfbu
0f0d505818 Fix #2517: wrong bookmark encoding in PDF if using LuaLaTeX 2016-05-18 08:20:46 +02:00
Takeshi KOMIYA
1bd1eb1c18 Merge pull request #2553 from mitya57/babel23
Make our custom compile_catalog command work with Babel 2.3
2016-05-18 11:29:25 +09:00
Jakob Lykke Andersen
a441ac98a1 Fix crash on any-references with unicode.
Fixes sphinx-doc/sphinx#2555.
2016-05-18 09:38:27 +09:00
Dmitry Shachnev
65638c12b8 Make our custom compile_catalog command work with Babel 2.3
In new Babel versions, self.domain is a list rather than a string.
2016-05-17 15:43:59 +03:00
jfbu
3fb644b929 Extend pdflatex config in sphinx.sty to subparagraphs
This addresses #2547. As the two Sphinx classes set secnumdepth to 2 by
default, the label for paragraphs with the numbering is still skipped by
default. But if user increases secnumdepth to 4 or higher it will show,
contrarily to earlier situation. Also formerly paragraph headings used
\small, which looks wrong because the body text did not use \small.

And subparagraphs were not at all configured with \titleformat, thus did
not use same font as other headings.
2016-05-16 20:55:15 +02:00
Takeshi KOMIYA
1959dfe8d9 Merge pull request #2548 from jwilk/assert-in-fmt-string-stable
Fix format string in assert_in()/assert_not_in()
2016-05-17 00:40:30 +09:00
Jakub Wilk
74b15cc64c Fix format string in assert_in()/assert_not_in() 2016-05-16 17:19:53 +02:00
Jakob Lykke Andersen
12b83372ac C++, fix crash reported in #2536. 2016-05-13 09:22:46 +09:00
Takeshi KOMIYA
75b1b4c7c3 Merge pull request #2529 from barbara-sfx/patch-1
Add info on inline web link syntax
2016-05-09 10:14:51 +09:00
Takeshi KOMIYA
c9296ba467 Merge branch 'stable' 2016-05-09 10:11:13 +09:00
Dmitry Shachnev
b412a9c886 Add Python 3.5-dev to Travis configuration 2016-05-08 12:24:53 +03:00
Dmitry Shachnev
696237c50e Adapt to typing private API change in Python 3.5.2
Fixes #2519.
2016-05-08 12:24:44 +03:00
barbara-sfx
2038932b83 Add info on inline web link syntax 2016-05-06 09:13:48 -07:00
Timotheus Kampik
01797faede refactor code/tests: keyword support for search index #2516 2016-05-05 18:09:22 +02:00
Takeshi KOMIYA
287e46d30c Merge pull request #2520 from mitya57/stable
imgmath: Add missing parentheses for string formatting
2016-05-06 00:34:35 +09:00
shimizukawa
26fecafb49 fix #2522: Sphinx touches mo files under installed directory
that caused permission error.
2016-05-06 00:33:06 +09:00
Takeshi KOMIYA
d6572259d6 Load amstext package explicitly 2016-05-06 00:14:11 +09:00
Takeshi KOMIYA
20719f0b00 Merge pull request #2503 from JojoBoulix/stable
Extend SOURCE_DATE_EPOCH support
2016-05-05 22:15:19 +09:00
Takeshi KOMIYA
bf273a1e2b Use \text macro to make numbers subscript
More details, see 488ee5279a
2016-05-05 19:23:45 +09:00
Takeshi KOMIYA
7c0b7e1ff1 Fix #2526: LaTeX writer crashes if the section having only images 2016-05-05 16:17:38 +09:00
Takeshi KOMIYA
885653a35d Fix the caption of figure is always put on center even if `:align:` was specified 2016-05-04 01:27:54 +09:00
Takeshi KOMIYA
4789ef899f Fix #2492: Figure directive with :figwidth: generates incorrect Latex-code 2016-05-04 01:27:31 +09:00
Jean-François B
5ecbbec79d Merge pull request #2524 from jfbu/latex_fix2523
Fix #2523: LaTeX raises error for labeled code-block
2016-05-03 15:05:17 +02:00
jfbu
e093846dcc Fix #2523: LaTeX raises error for labeled code-block
Was caused because produced latex source may not have blank line before
\begin{Verbatim}. Solved by adding a \par to sphinx.sty.
2016-05-03 14:49:52 +02:00
Alexis Bienvenüe
0f33e6cb64 Add pointers to the SOURCE_DATE_EPOCH specification. 2016-05-03 09:53:54 +02:00
Dmitry Shachnev
62723872bc imgmath: Add missing parentheses for string formatting 2016-05-02 19:36:31 +03:00
Alexis Bienvenüe
d978f93954 Bugfix: copyright_year_re is a string pattern 2016-05-02 10:20:18 +02:00
Alexis Bienvenüe
ae0a7a63c2 Spaces and import fix. 2016-05-02 10:05:25 +02:00
Alexis Bienvenüe
6509130ff2 Code enhancements (thanks to mitya57 and tk0miya):
* use tuple instead of list
* compile regex to find copyright year
* enclose test inside try/finally
2016-05-02 09:57:06 +02:00
Timotheus Kampik
6f6b28d3e6 refactor, add more tests #2516 2016-05-02 07:54:44 +02:00
Takeshi KOMIYA
1b147f1b2f Merge pull request #2515 from nevimov/split-doctest-docs-into-sections
Split doctest extension docs into sections
2016-05-02 11:07:23 +09:00
Takeshi KOMIYA
488ee5279a Fix #2501: Unicode subscript numbers are normalized in LaTeX 2016-05-02 11:03:50 +09:00
Rob Ruana
683ad9a4c1 Merge pull request #2452 from mausr/stable
Fix #2374: Init method inclusion.

Looks great! Thank you for your contribution!
2016-05-01 16:41:53 -07:00
Timotheus Kampik
a8dabf334d add tests for meta-tag search index generation #2463 2016-05-02 00:11:48 +02:00
nevimov
0960f0d9f2 Split doctest extension docs into sections
At the moment the docs have no sections at all. This commit adds
sections "Directives" and "Configuration" to facilitate navigation.
Also, it removes the outdated line about the number of directives
provided by the extension (there’s now 5 of them).
2016-05-02 02:02:55 +07:00
Timotheus Kampik
b01a7be5c6 add keywords of meta tag to search index #2463 2016-05-01 17:21:13 +02:00
mausr
d79a94ed66 Flake8 correction 2016-05-01 15:01:36 +02:00
Jean-François B
06e2928ef0 Merge pull request #2509 from jfbu/latex_fixcomment
This better documents in sphinx.sty vertical spacing above code-blocks.
2016-05-01 08:21:06 +02:00
Jean-François B
57149d378f Merge pull request #2508 from jfbu/latex_frenchlistscompatibility
Fix #2507: French lists in LaTeX-PDF output cause vertical space problems
2016-05-01 08:19:46 +02:00
Takeshi KOMIYA
7ebe5704be Fix #2483: any figure number was not assigned if figure title contains only non text objects 2016-05-01 07:30:32 +09:00
Takeshi KOMIYA
6ea833280d Fix figure nodes do not known lineno itself 2016-05-01 07:30:11 +09:00
jfbu
0da097136d Fix and make more precise obsolete comment in sphinx.sty 2016-04-30 18:39:41 +02:00
jfbu
66fdb340f7 Fix #2507: French lists in LaTeX-PDF output cause vertical space problems
modified:   sphinx/texinputs/sphinx.sty
2016-04-30 17:47:04 +02:00
Alexis Bienvenüe
7a89015a54 Corrects copyright year using SOURCE_DATE_EPOCH if set 2016-04-28 23:37:36 +02:00
Alexis Bienvenüe
390ee6fcd8 Extend SOURCE_DATE_EPOCH to gettext 2016-04-28 23:36:28 +02:00
Takeshi KOMIYA
11d8b64ae4 sphinx.ext.jsmath should be emit an math extension conlict error 2016-04-28 14:09:48 +09:00
Takeshi KOMIYA
b602370951 Update error message for conflict of math extensions 2016-04-28 14:09:44 +09:00
Takeshi KOMIYA
9eae1a1c6e Fix flake8 violation 2016-04-28 00:29:26 +09:00