Commit Graph

13998 Commits

Author SHA1 Message Date
Takeshi KOMIYA
aa882e947c
Merge pull request #6834 from tk0miya/6738_deprecated_tex_escape_map
Reconsider public APIs of sphinx.util.texescape
2019-11-19 02:02:37 +09:00
jfbu
cf376bb455 LaTeX: Do not escape € wrongly (refs: 0103ff2a2b, #6835) 2019-11-18 14:48:18 +01:00
jfbu
e720f0a1a2 LaTeX: stop escaping | to LaTeX macro, except if in an index entry 2019-11-18 01:57:07 +01:00
Takeshi KOMIYA
c6f0eb215a Fix #4186: LaTeX: Support upLaTeX as a new latex_engine (experimental) 2019-11-17 17:37:48 +09:00
Takeshi KOMIYA
948ac3a1f0
Merge pull request #6836 from tk0miya/6813_orphan_warning_for_included_document
Fix #6813: An orphan warning is emitted for included document on Windows
2019-11-17 15:05:35 +09:00
Takeshi KOMIYA
955c88b189
Merge branch '2.0' into 6813_orphan_warning_for_included_document 2019-11-17 14:31:14 +09:00
Takeshi KOMIYA
d0fa844f91 Fix #6806: linkcheck: Failure on parsing content 2019-11-17 11:12:33 +09:00
Takeshi KOMIYA
fcdeafd56e
Merge pull request #6784 from tk0miya/4683_more_translatable_toctree
Close #4683: i18n: make explicit titles in toctree translatable
2019-11-17 02:33:32 +09:00
Takeshi KOMIYA
76c7e07e8d
Merge branch '2.0' into 4683_more_translatable_toctree 2019-11-17 01:32:25 +09:00
Takeshi KOMIYA
a8a4daee72
Merge pull request #6801 from tk0miya/2546_apidoc_supports_sharedlib
Close #2546: apidoc: .so file support
2019-11-17 01:30:32 +09:00
Takeshi KOMIYA
ff079de010 Close #2546: apidoc: .so file support 2019-11-17 01:09:43 +09:00
Takeshi KOMIYA
b6abb12b33
Merge pull request #6795 from tk0miya/6793_sidebar_in_texinfo
Fix #6793: texinfo: Code examples broken following "sidebar"
2019-11-17 01:09:18 +09:00
Takeshi KOMIYA
250ce7425a
Merge branch '2.0' into 6793_sidebar_in_texinfo 2019-11-17 00:26:53 +09:00
Takeshi KOMIYA
155f4b0d00 Fix #6813: An orphan warning is emitted for included document on Windows 2019-11-16 23:14:25 +09:00
Jean-François B
53cd2a064e
Merge pull request #6835 from jfbu/latex_unicode_reduce_tex_escape
LaTeX: escape fewer Unicode chars if engine is lualatex or xelatex
2019-11-16 11:42:21 +01:00
Takeshi KOMIYA
f3469bcc8f Make escape() and hlescape() as public APIs of texescape 2019-11-16 19:42:06 +09:00
jfbu
38926cf708 LaTeX: escape fewer Unicode chars if engine is lualatex or xelatex 2019-11-16 10:36:41 +01:00
Takeshi KOMIYA
5f559fbb98 Deprecate sphinx.util.texescape.tex_escape_map 2019-11-16 18:34:48 +09:00
Takeshi KOMIYA
7d0aa9594d
Merge pull request #6833 from tk0miya/6738_todo_shuould_use_get_encode_func
Fix #6738: Use get_encode_func in todo extension
2019-11-16 18:21:24 +09:00
Takeshi KOMIYA
491b19d6bb autosummary: Allows to document a member forcedly if skip-member handler returns False 2019-11-16 18:19:33 +09:00
Takeshi KOMIYA
66c3dd3adb Close #6798: autosummary: emit `autodoc-skip-member` event on generating stub file 2019-11-16 18:19:31 +09:00
Takeshi KOMIYA
af9a404de8
Merge pull request #6832 from tk0miya/6738_new_hlescape_for_unicode_latex_engine
Fix #6738: latex: literal_block does not support raw unicode characters
2019-11-16 17:51:41 +09:00
Takeshi KOMIYA
660e746cf8 Fix #6738: latex: literal_block does not support raw unicode characters 2019-11-16 16:47:20 +09:00
Takeshi KOMIYA
75b6d66f1d Fix #6738: Use get_encode_func in todo extension 2019-11-16 16:46:21 +09:00
Jean-François B
ef09ea23fe
Merge pull request #6750 from tk0miya/6738_new_escape_for_unicode_latex_engine
Fix #6738: Do not replace unicode characters by LaTeX macros on unicode supported LaTeX engine
2019-11-15 19:10:22 +01:00
Jean-François B
b070e5be52
Merge branch '2.0' into 6738_new_escape_for_unicode_latex_engine 2019-11-15 19:09:16 +01:00
Takeshi KOMIYA
96e60df2ed
Merge pull request #6825 from Zac-HD/intersphinx-fetch
Fetch `intersphinx` inventories concurrently
2019-11-16 01:51:51 +09:00
Jean-François B
d09c681351
Merge pull request #6810 from jfbu/6809_code_block_in_danger
LaTeX: fix #6809
2019-11-15 09:47:45 +01:00
jfbu
b6cb5dd219 Trim possibly erroneous comment from Sphinx LaTeX code 2019-11-15 09:46:23 +01:00
jfbu
53ead2a0d9 LaTeX: fix #6809 2019-11-15 09:46:23 +01:00
Jean-François B
2e68d76244
Merge pull request #6807 from jfbu/6804_long_code_block_in_danger
LaTeX: fix #6804
2019-11-15 09:29:29 +01:00
Zac-HD
ea3ba6c210 Fetch inventories concurrently 2019-11-15 17:11:00 +11:00
Takeshi KOMIYA
8f554c465d
Merge pull request #6802 from tk0miya/6781_gettext_template
gettext: Use template file to generate message catalog
2019-11-15 02:33:09 +09:00
Takeshi KOMIYA
b80935bba1
Merge pull request #6822 from andriyor/parch-1
add urls to Code and Issue tracker for PyPi
2019-11-15 02:28:50 +09:00
Takeshi KOMIYA
9d3f537cbe
Merge pull request #6823 from tk0miya/6815_broken_message_catalogs
Fix #6815: i18n: some translation messages has been broken
2019-11-15 01:42:53 +09:00
Takeshi KOMIYA
2c83033ca4 Fix #6815: i18n: some translation messages has been broken 2019-11-15 00:57:39 +09:00
Andriy Orehov
ff2f4a0e54 add urls to Code and Issue tracker for PyPi 2019-11-14 17:34:03 +02:00
Takeshi KOMIYA
c7fd4cc827 Update CHANGES for PR #6812 2019-11-12 23:55:32 +09:00
Takeshi KOMIYA
e8ef1886f1
Merge pull request #6812 from astrofrog/explicit-parallel-unsafe
Give a warning when extensions are explicitly not parallel safe
2019-11-12 23:54:10 +09:00
Thomas Robitaille
fa1cca1fee Improve variable names and code style 2019-11-12 14:29:20 +00:00
Thomas Robitaille
0a437bc9d6 Give a warning when extensions are explicitly not parallel safe 2019-11-12 14:22:21 +00:00
jfbu
e6ba2fe6d7 Update CHANGES 2019-11-10 13:45:22 +01:00
jfbu
d247299a88 LaTeX: fix #6804
In case a code-block is in an environment already using the "framed"
package, measure the vertical size needed for the code lines and use a
nested "framed" only if short enough (i.e. at most 90% of text area on a
page).

Long nested contents will drop the inner frame. They lose the background
color as well as the continuation hints across pagebreaks. But the
caption if present is typeset normally. And highlighted lines and line
numbers are rendered with no alteration.

Short nested contents (should) render exactly as before this commit:
they use "framed" but this must be encapsulated in an unbreakable
"minipage". All decoration including caption are obeyed but of course
not the continuation hints are these never apply.
2019-11-10 12:58:47 +01:00
Jean-François B
a7f53a7957
Merge pull request #6799 from jfbu/6000_latex_backslash
LaTeX: Allow linebreaks at \ (in literals, code-blocks, parsed-literal)
2019-11-07 17:30:58 +01:00
Takeshi KOMIYA
399f773d9d gettext: Use template file to generate message catalog 2019-11-08 00:36:57 +09:00
jfbu
a550c7075f LaTeX: Allow linebreaks at \ (in literals, code-blocks, parsed-literal)
Default configuration is to allow the linebreak after the backslash.
It is possible at user side via 'preamble' key and some LaTeX code
to allow the linebreak before the backslash, but each of inline-literal,
code-block, and parsed-literal has its more or less cumbersome way for
that.

Closes: #6000, #6001

This commit handles only the \ character, which had been left aside
by accident so far. Inline-literals could break at more characters
but this is not yet done in this commit. In this context, in future
it could be useful to modify sphinx.util.texescape to use mark-up
such as \sphinxtextbackslash rather than naked \textbackslash and
similarly for some other characters. This could then be used to
allow linebreaks even in regular text paragraphs.
2019-11-06 18:59:09 +01:00
jfbu
59a1b06757 Merge branch '2.2.2' into 2.0 2019-11-06 18:29:07 +01:00
Takeshi KOMIYA
27f0828420 Fix #6793: texinfo: Code examples broken following "sidebar" 2019-11-06 00:56:08 +09:00
Takeshi KOMIYA
5f4fcff832
Merge pull request #6756 from tk0miya/1331_useragent
Close #1331: Change default User-Agent header
2019-11-05 23:27:52 +09:00
Takeshi KOMIYA
b4cd34c8f4
Merge branch '2.0' into 1331_useragent 2019-11-05 22:58:33 +09:00