Commit Graph
13747 Commits
Author SHA1 Message Date
Jakob Lykke Andersen 6d7ff482f6 C++, test role target checks and fix two cases 2020-01-20 19:40:00 +01:00
Takeshi KOMIYA c07c618f1b Merge pull request #7001 from tk0miya/stop_testing_with_nightly
Stop testing with nightly python
2020-01-08 13:44:30 +09:00
Takeshi KOMIYA 227df4ec7a Stop testing with nightly python
At present, latest typted_ast does not support python-3.9a1 or later.
As a result, nightly python in Travis CI gets errored in nearly running.
This stops to use nightly python for testing temporarily.

refs: https://github.com/python/typed_ast/issues/129
2020-01-08 13:14:20 +09:00
Takeshi KOMIYA d09c28deee Bump version 2019-12-22 22:57:32 +09:00
Takeshi KOMIYA 131081de5a Bump to 2.3.1 final v2.3.1 2019-12-22 22:55:35 +09:00
Takeshi KOMIYA 960ca85fea Merge pull request #6941 from tk0miya/6936_autogen_raises_AttributeError
Fix #6936: sphinx-autogen: raises AttributeError
2019-12-22 13:22:26 +09:00
Takeshi KOMIYA 8a1994d940 Fix #6936: sphinx-autogen: raises AttributeError 2019-12-22 10:39:46 +09:00
Takeshi KOMIYA 0cc01a1606 Merge pull request #6935 from tk0miya/mypy-0.761
Fix mypy violations (for mypy-0.761) (T/O)
2019-12-21 12:00:14 +09:00
Takeshi KOMIYA 56940b0d76 Fix mypy violations (for mypy-0.761) 2019-12-21 11:52:59 +09:00
Takeshi KOMIYA 0b53356a76 Bump version 2019-12-16 00:06:27 +09:00
Takeshi KOMIYA 86143a54b8 Bump to 2.3.0 final v2.3.0 2019-12-16 00:01:29 +09:00
Takeshi KOMIYA 076013602b Merge pull request #6891 from jfbu/latex_6890_curlyquote
LaTeX: avoid quotes and TeX ligature replacements in PDF output
2019-12-15 23:21:55 +09:00
jfbu e49e98a9fa Update CHANGES for PR #6891 2019-12-15 14:27:30 +01:00
Takeshi KOMIYA d6f1351528 Merge pull request #6908 from tk0miya/6900_sphinx-build-D_accepts_boolean
Fix #6900: sphinx-build: Allow to pass boolean value via ``-D`` option
2019-12-15 22:21:43 +09:00
Takeshi KOMIYA dc8cf9eba3 Merge pull request #6919 from tk0miya/6781_custom_POT_headers
Close #6781: gettext Add confvals to customize headers of POT file
2019-12-15 22:20:18 +09:00
jfbu 30b26dd6a1 LaTeX: avoid quotes and TeX ligature replacements in PDF output
Refs: #6890

The comma character is not TeX-escaped because it is frequent in general
text and escaping it would make the LaTeX output larger for only dealing
with the problem of the LaTeX-ligature of ,, into a single character.
And one there is problem with the commas in options to Verbatim from
PygmentsBridge.

The hyphen character is escaped (not in ids and URIs!) to
\sphinxhyphen{} for both Unicode and non-Unicode engines. This is needed
to work around hyperref transforming -- and --- from section titles into
EN DASH resp. EM DASH in PDF bookmarks.

https://github.com/latex3/hyperref/issues/112

Note to expert LaTeX users: if Sphinx latex user with xelatex has

- turned off Smart Quotes for some reason,

- but does want TeX ligatures and thus overrode Sphinx
latex_elements['fontenc'] default (since #6888) to this effect,

then this should be added to LaTeX preamble:

    \def\sphinxhyphen#1{-}% (\protected is now not needed)
    \let\sphinxhyphenforbookmarks\sphinxhyphen
2019-12-15 14:19:50 +01:00
Takeshi KOMIYA ebdd210a6b Fix #6900: sphinx-build: -D option does not considers 0 and 1 as a boolean value 2019-12-15 22:07:05 +09:00
Takeshi KOMIYA 3e10cdb3d9 Close #6781: gettext Add confvals to customize headers of POT file
* gettext_last_translator
* gettext_language_team
2019-12-15 22:06:18 +09:00
Takeshi KOMIYA 2ec6ce85ef Merge pull request #6924 from tk0miya/pinning_coverage
CI: Pinning coverage < 5.0
2019-12-15 22:04:29 +09:00
Takeshi KOMIYA 42f6b91333 CI: Pinning coverage < 5.0 2019-12-15 20:40:59 +09:00
Takeshi KOMIYA 24908e0fa9 Update CHANGES for PR #6632 2019-12-14 23:29:41 +09:00
Takeshi KOMIYA 344f9dcc70 Merge pull request #6923 from tk0miya/6632
Add get_secnumber to simplify add_secnumber
2019-12-14 23:25:33 +09:00
Takeshi KOMIYA 1642978cc9 Fix mypy violation 2019-12-14 23:18:27 +09:00
Takeshi KOMIYA 2ae2b0d98a Merge branch '2.0' into 6632 2019-12-14 22:57:59 +09:00
Takeshi KOMIYA 5b53b74bd9 Fix mypy and flake8 violations 2019-12-14 22:56:24 +09:00
Takeshi KOMIYA e14b86ef7d html4: Wrap <span> around sectnum in HTML titles 2019-12-14 22:55:42 +09:00
Takeshi KOMIYA 0dc456fee1 refactor test: check_xpath() 2019-12-14 22:50:55 +09:00
Takeshi KOMIYA 871e0b58a8 Remove meaningless spaces 2019-12-14 22:26:17 +09:00
Takeshi KOMIYA f279bacbeb Merge pull request #6921 from tk0miya/6920_wrong_highlight
Fix #6920: sphinx-build: A console message is wrongly highlighted
2019-12-14 22:13:31 +09:00
Takeshi KOMIYA 5e8da0fbcc Fix #6920: sphinx-build: A console message is wrongly highlighted 2019-12-14 16:40:53 +09:00
Takeshi KOMIYA be789b4e9c Merge pull request #6918 from tk0miya/6887_docutils-0.16
Fix #6887: Sphinx crashes with docutils-0.16b0
2019-12-14 15:55:35 +09:00
Takeshi KOMIYA faedcc48cc Fix #6887: Sphinx crashes with docutils-0.16b0 2019-12-14 13:33:12 +09:00
Damien Ayers 1a54a7229c Fix documentation typo
(cherry picked from commit 937c684960)
2019-12-13 23:27:04 +01:00
jfbu 2199a127e8 Typo (refs #6491) 2019-12-09 22:57:45 +01:00
Jean-François B 85676f401b Merge pull request #6904 from ollehu/2.0
Add sphinxcontrib-beamer to list of extensions for 2.x release.
2019-12-09 13:43:29 +01:00
Olle Hynén Ulfsjöö e35507ffd0 Add sphinxcontrib-beamer to list of extensions.
Change-Id: I943e42508cc8ca4e20c65803c1bca225195ddd0e
2019-12-09 11:06:23 +01:00
Takeshi KOMIYA 1044ac4ac1 Merge pull request #6491 from tk0miya/refactor_doc2
Rewrite documents for code-block directives by directive:option
2019-12-09 00:11:19 +09:00
Takeshi KOMIYA 9e40f2a603 doc: rewrite options for code-block by directive:option directive 2019-12-08 21:33:06 +09:00
Takeshi KOMIYA d82e0bb5a5 doc: rewrite options for highlight by directive:option directive 2019-12-08 21:33:06 +09:00
Jean-François B 7a98c2bfa1 Merge pull request #6888 from jfbu/xelatex_6886
LaTeX: inhibit so-called TeX Ligatures with xelatex and lualatex
2019-12-07 16:43:18 +01:00
jfbu 73a2228c87 Update 'fontenc' latex_elements key documentation 2019-12-07 12:27:21 +01:00
jfbu a0fe0aba1b Update longtable latex template 2019-12-07 00:37:33 +01:00
jfbu bc1557528f LaTeX: inhibit so-called TeX Ligatures with xelatex and lualatex
Closes: #6886

It is difficult to understand why fontspec _by default_ turns straight
double quotes " into ” i.e. right curly ones, calling this "TeX
ligature", but that's life and fortunately fontspec also provides a way
to turn this off. With this workaround also a straight ' in LaTeX file,
(i.e. a straight ' in source and smartquotes = False was used) will not
become a curly quote and this is an advantage compared to the pdflatex
situation.

We suppress TeX Ligatures also for \ttfamily (used in code-blocks) but
that appears to be already the case with fontspec although user manual
does not seem explicit (and no list of what exactly the TeX Ligatures
are is to be found in fontspec user documentation, one has to go into
its source code). (the fact that Pygmentize escapes the " to \char`\"
TeX mark-up would not by itself prevent the transformation into a curly
double quote, it is because fontspec does not apply this transform to
monospace typeface that it did not show).
2019-12-05 00:21:19 +01:00
Takeshi KOMIYA 7292ab7eef Merge branch '2.2.2' into 2.0 2019-12-03 01:19:02 +09:00
Takeshi KOMIYA f6ded235f5 Bump version 2019-12-03 01:17:36 +09:00
Takeshi KOMIYA c7d5393fff Bump to 2.2.2 final v2.2.2 2019-12-03 01:14:13 +09:00
Takeshi KOMIYA 73f23f41c5 Merge pull request #6883 from tk0miya/6821_update_translations
Fix #6821: i18n: some translation messages has been broken
2019-12-03 00:55:34 +09:00
Takeshi KOMIYA 7f4c1d9a7f Update message catalogs 2019-12-03 00:31:53 +09:00
Takeshi KOMIYA 34a7d6326f Fix #6821: i18n: some translation messages has been broken 2019-12-02 01:41:57 +09:00
Takeshi KOMIYA 3bc16b0383 Merge pull request #6879 from tk0miya/6803_parallel_build_error_on_macOS
Fix #6803: Disable parallel build on macOS and py38+
2019-12-01 22:50:09 +09:00