Commit Graph
6503 Commits
Author SHA1 Message Date
jfbu 9af0583f22 Fix #2622 (done): correctly obey openany option
Clean sphinxmanual.cls of superfluous unneeded code. And also avoid
skipping blank pages if openany for bibliography and index.
2016-06-06 18:37:52 +02:00
jfbu aa31bae17a Fix #2622 (cont.): obey openany option
This cleans up comments from sphinxmanual.cls.

Memo: the logic behind the earlier sphinxmanual.cls is obscure, besides
the fact that it didn't work correctly if conf.py used openany option.
The parent commit corrected the implementation, but not the logic.

Were it not for the log message about added blank page, there would be
no need to patch \tableofcontents, because by default it will use
\chapter* which does the right thing. Similarly after the end of
abstract, a \chapter or \part (or \tableofcontents, once abstract is
properly handled by LaTeX writer (*)), currently one seems to be
contrived to use raw directive and the abstract is then after
\tableofcontents) will do the right thing in case of openany. Also the
\maketitle wrongly ended with \cleardoublepage, which was corrected in parent
commit, but better would be that it does nothing. Indeed it is not
logical for \maketitle, abstract or \tableofcontents to worry about what
comes next. Anything which comes next should be a \part or \chapter
which will do the right thing.

(*) currently one seems to be contrived to use raw directive and the
abstract is then after \tableofcontents) will do the right thing in case
of openany.
2016-06-06 17:47:14 +02:00
jfbu 78589b05ab Fix #2622: Latex produces empty pages after title and table of contents
The 'openany' option was not correctly obeyed.
2016-06-06 11:11:43 +02:00
Takeshi KOMIYA 20a7f3b0ca Merge pull request #2623 from jfbu/latex_noifthen
LaTeX: remove use of \ifthenelse macro from sphinx.sty
2016-06-06 11:01:03 +09:00
jfbu ff8d4709d8 LaTeX: remove use of \ifthenelse macro from sphinx.sty
Simpler \ifdefined is already available without package.
2016-06-05 21:34:25 +02:00
Takeshi KOMIYA cb26ec4d4c Update release-checklist 2016-06-05 17:27:13 +09:00
Takeshi KOMIYA 20779ab2a2 Update release-checklist 2016-06-05 17:26:31 +09:00
Takeshi KOMIYA cb486ab3a0 Bump version 2016-06-05 17:17:05 +09:00
Takeshi KOMIYA 8b5ee35a7c Bump version v1.4.3 2016-06-05 17:09:12 +09:00
Takeshi KOMIYA d6c6b7bb3e Merge pull request #2615 from tk0miya/figure-in-table
Fix #2593: latex crashes if any figures in the table
2016-06-05 14:21:51 +09:00
jfbu d8912c166a Fix #2593 (cont.): delay to begin document storage of original \caption 2016-06-05 14:21:21 +09:00
jfbu 96e30b0d0e Fix #2593 (continued): allow figure captions in LaTeX tabulary tables 2016-06-05 14:21:21 +09:00
Takeshi KOMIYA bb6bb7ded6 Fix #2593: latex crashes if any figures in the table 2016-06-05 14:21:21 +09:00
Takeshi KOMIYA bb360d8984 Merge pull request #2619 from jfbu/latex_alwaysamstext
LaTeX: load amstext in sphinx.sty even if not using amsmath
2016-06-05 09:13:52 +09:00
jfbu 0753a4a378 Revert "Update documentation for 'amsmath' key in latex_elements"
This reverts commit c5824bd1cd.
2016-06-04 18:39:25 +02:00
jfbu c5824bd1cd Update documentation for 'amsmath' key in latex_elements 2016-06-04 14:48:37 +02:00
jfbu 401302df48 LaTeX: load amstext in sphinx.sty even if not using amsmath
Needed in particular for:

- use of \iffirstchoice@ at commit 9d82cad (PR #2297)

- use of \text at commit 488ee52 addressing issue #2501
2016-06-04 10:23:12 +02:00
Takeshi KOMIYA df6ed50799 Update CHANGES for PR#2613 2016-06-03 21:44:03 +09:00
Takeshi KOMIYA cdb621440c Merge pull request #2613 from shibukawa/feature/extension-blacklist-to-stable
add extension blacklist to avoid error when loading deprecated extensions
2016-06-03 21:40:40 +09:00
Takeshi KOMIYA 751f8241ff Merge branch 'redirection_breaks_intersphinx' into stable 2016-06-03 21:38:11 +09:00
jfbu e95f6a9510 Prefix LaTeX tabular and tabulary with \noindent (ref: #2614) 2016-06-03 08:20:47 +02:00
Takeshi KOMIYA 15771ac8d2 Merge pull request #2605 from tk0miya/suppress_orphan_warning
Suppress "document isn't included in any toctree" warning if the document is included (ref: #2603)
2016-06-03 09:22:34 +09:00
Takeshi KOMIYA 1b939042df Make testcases robust 2016-06-03 00:30:39 +09:00
Yoshiki Shibukawa 88bf4373c7 add extension blacklist to avoid error when loading deprecated extensions 2016-06-02 19:19:46 +09:00
Takeshi KOMIYA 6af14bf6d8 Fix misdetect redirection if original URL includes "/" on tail 2016-06-01 10:54:52 +09:00
Takeshi KOMIYA 2192e2c183 Fix intersphinx fails on using local file 2016-06-01 10:53:42 +09:00
Takeshi KOMIYA 851929c912 Fix #2602: URL redirection breaks the hyperlinks generated by sphinx.ext.intersphinx 2016-05-31 23:22:01 +09:00
Takeshi KOMIYA 61ef0cab31 Suppress "document isn't included in any toctree" warning if the document is included (ref: #2603) 2016-05-31 20:07:56 +09:00
Jean-François B f147df3fa0 Merge pull request #2601 from jfbu/latex_datefont
set font for date in latex pdf output to be same as for title
2016-05-31 09:17:28 +02:00
jfbu f6297558e8 Merge branch 'stable' into latex_datefont 2016-05-31 08:55:52 +02:00
Takeshi KOMIYA b8b5d12a0d Remove empty else block from latex writer 2016-05-31 10:08:23 +09:00
Takeshi KOMIYA 7661a92fc1 Update docs; the inputenc hack will be released at 1.4.3 2016-05-31 10:07:03 +09:00
Takeshi KOMIYA 976c3b8e33 Update CHANGES for PR#2590 2016-05-31 10:04:50 +09:00
Avram Lubkin 197b33816f Only add '\\usepackage[utf8]{inputenc}' when using pdflatex 2016-05-31 10:02:58 +09:00
jfbu 8ea5a908d9 Remove extra \rm from fix #2540 commit 2016-05-30 22:32:52 +02:00
jfbu 942dc80c99 Fix #2540: date on latex front page use different font
modified:   sphinx/texinputs/sphinxhowto.cls
	modified:   sphinx/texinputs/sphinxmanual.cls
2016-05-30 20:59:21 +02:00
Takeshi KOMIYA ae0fab15d3 Clear __pycache__, tests/build and .tox on make clean 2016-05-30 23:44:49 +09:00
Takeshi KOMIYA 24beece2a3 Fix combination of figure directive options; width, figwidth and align (ref: #2595) 2016-05-30 13:13:38 +09:00
Takeshi KOMIYA da3d368961 Fix `width option of figure directive does not work if align` option also specified (ref: #2595) 2016-05-30 10:46:17 +09:00
Takeshi KOMIYA 58b4f046ab Update CHANGES for #2530 2016-05-29 19:58:08 +09:00
Takeshi KOMIYA e3e827ef7f Fix #2350: got "Counter too large" error on building PDF if large numbered footnotes existed in admonitions 2016-05-29 19:55:44 +09:00
Takeshi KOMIYA b4279df9e6 Update release-checklist 2016-05-29 18:54:21 +09:00
Takeshi KOMIYA 85fd6f6b5d Update release-checklist 2016-05-29 18:07:59 +09:00
Takeshi KOMIYA f1c02235bd Bump version 2016-05-29 17:35:30 +09:00
Takeshi KOMIYA 1fbc0c9a16 Bump to 1.4.2 final v1.4.2 2016-05-29 17:20:19 +09:00
Takeshi KOMIYA d7113586f1 Fix style-checker errors 2016-05-29 17:16:46 +09:00
Takeshi KOMIYA b81f24e0b6 Fix #2497, #2552: The label of search button does not fit for the button itself 2016-05-29 17:06:58 +09:00
Takeshi KOMIYA f871e4e804 Update regex (ref: #2382) 2016-05-28 20:08:47 +09:00
Takeshi KOMIYA b74b9cb585 Fix #2383: The generated footnote by latex_show_urls overflows lines 2016-05-28 14:46:13 +09:00
Takeshi KOMIYA 5cdf7a9a33 Adjust spacing in numref role (ref: #2382) 2016-05-28 13:23:37 +09:00