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
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
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
Jean-François B
c235a43007
Merge pull request #6877 from jfbu/latex_6876
...
LaTeX: avoid ragged line endings in case of multi-line author display
2019-12-01 10:02:13 +01:00
Takeshi KOMIYA
e742af0608
Fix mypy violations (for mypy-0.750)
2019-12-01 16:01:40 +09:00
Takeshi KOMIYA
6f529f01ed
Fix #6803 : Disable parallel build on macOS and py38+
2019-12-01 16:01:19 +09:00
Takeshi KOMIYA
60a8eebc8e
Merge pull request #6880 from tk0miya/test_with_py38_explicitly
...
test: Do test with python3.8
2019-12-01 15:52:37 +09:00
Takeshi KOMIYA
99efebbb10
test: Do test with python3.8
2019-12-01 15:29:23 +09:00
Takeshi KOMIYA
c978494914
Update CHANGES for PR #6872
2019-12-01 12:22:02 +09:00
Takeshi KOMIYA
c902a1b7dc
Merge pull request #6872 from sphinx-doc/linkcheck-308
...
builders/linkcheck: include "experimental" HTTP 308 as "permanently"
2019-12-01 12:19:08 +09:00
jfbu
204c230c73
LaTeX: avoid ragged line endings in case of multi-line author display
...
Closes #6876
2019-11-30 23:49:57 +01:00