Commit Graph

17091 Commits

Author SHA1 Message Date
Jean-François B
e759bd14c8
Update sphinx/writers/latex.py
Co-authored-by: Takeshi KOMIYA <i.tkomiya@gmail.com>
2021-02-09 16:45:49 +01:00
jfbu
0c89c85a39 Merge branch '3.x' into latex_hyperlinked_caption_footnotes_on_3.x 2021-02-09 16:39:55 +01:00
Jean-François B
1c08467040
Merge pull request #8851 from jfbu/latex_enhance_docs_about_index
LaTeX: improve docs of 'printindex' and 'makeindex'
2021-02-09 16:16:26 +01:00
Jean-François B
86ea2a93e0
Merge pull request #8854 from jfbu/latex_longstringsincodeblocks
LaTeX: optionally apply a second forceful wrapping of long code lines
2021-02-09 16:14:48 +01:00
Takeshi KOMIYA
66aa22f1ea
Merge pull request #8842 from tk0miya/refactor_type_annotations
Refactor type annotations
2021-02-10 00:13:29 +09:00
jfbu
aaac721104 Typo 2021-02-09 16:04:01 +01:00
jfbu
035d13fd24 Update CHANGES and docs relative to new verbatimforcewraps 2021-02-09 15:47:15 +01:00
Takeshi KOMIYA
d25c3ad241 Update type annotations 2021-02-09 22:49:01 +09:00
Takeshi KOMIYA
208f549b8a Merge branch '3.x' 2021-02-09 22:43:14 +09:00
Takeshi KOMIYA
5935a4b152
Merge pull request #8843 from tk0miya/8837_sphinx_html_title
Fix #8837: doc: Remove version info from html_title
2021-02-09 22:42:57 +09:00
Takeshi KOMIYA
138b0dbe8b
Merge pull request #8836 from tk0miya/refactor_latex_writer2
refactor: LaTeX: separate self.body.append() call to single line output
2021-02-09 22:26:07 +09:00
Takeshi KOMIYA
1f1cd49f47
Merge pull request #8850 from DelazJ/patch-1
Make code block types more visible in documentation
2021-02-09 22:25:02 +09:00
Takeshi KOMIYA
71df21dd4f Update CHANGES for PR #8853 2021-02-09 22:19:05 +09:00
Takeshi KOMIYA
3207da1fa8
Merge pull request #8853 from jpmckinney/markdown-locale-heading-3.x
i18n: Locale transform: Change heading syntax to work for both RST and Markdown
2021-02-09 22:15:51 +09:00
jfbu
7175d11f05 Add forgotten minwidth computation 2021-02-09 13:16:12 +01:00
jfbu
eee17ff61a Fix forgotten link to Pygments home site, mmmmpf 2021-02-09 12:33:16 +01:00
jfbu
abddafa98a Fix inexistent directive "notice", it is "note"... 2021-02-09 12:28:03 +01:00
jfbu
c6a8fb1625 Add verbatimmaxoverfull and verbatimmaxunderfull 2021-02-09 12:18:31 +01:00
jfbu
dffb819ec4 Support Unicode input when forcefully wrapping code lines
This needs special coding only for pdflatex, Unicode TeX engines already
handle Unicode characters as one token.

The utf8x LaTeX input encoding is not supported, only utf8.
2021-02-09 11:24:24 +01:00
jfbu
0076ad3fd3 Indicated force wrapping code lines is fragile with Unicode input 2021-02-09 00:01:39 +01:00
jfbu
702545da1c LaTeX: optionally apply a second forceful wrapping of long code lines
Closes #8849
2021-02-08 23:13:46 +01:00
James McKinney
4917dd5f84
i18n: Locale transform: Change heading syntax to work for both RST and Markdown 2021-02-08 13:47:41 -05:00
jfbu
a984f5f7cc LaTeX: improve docs of 'printindex' and 'makeindex'
Closes #8055
2021-02-08 14:59:20 +01:00
Harrissou Sant-anna
08c2c23bb4
Make code block types more visible 2021-02-08 13:03:16 +01:00
Takeshi KOMIYA
4cbb2925fd Fix #8837: doc: Remove version info from html_title 2021-02-07 21:24:15 +09:00
Takeshi KOMIYA
84458da828 Merge branch '3.x' 2021-02-07 17:01:09 +09:00
jfbu
4a239bb886 Extra references to explicitly numbered footnote get page indication
To achieve this the simplest was to use also the \label/\ref mechanism
as for footnotes typeset using footnotetext. Removing the hack into
footnotehyper internal macro, we use an enriched scope, which will
enable references with same number to each generate correct links.
2021-02-06 22:00:47 +01:00
Takeshi KOMIYA
d0785e549d
Merge pull request #8834 from tk0miya/refactor_linkcheck6
refactor: linkcheck: Deprecate attributes of linkcheck builders
2021-02-07 02:53:24 +09:00
Takeshi KOMIYA
899ccfd40e refactor: linkcheck: Deprecate attributes of linkcheck builders
Move anchors_ignore, auth and to_ignore to
HyperlinkAvailabilityCheckWorker and become deprecated.
2021-02-07 02:39:35 +09:00
Takeshi KOMIYA
94885c894c
Merge pull request #8833 from tk0miya/refactor_linkcheck8
refactor: linkcheck: Remove unused attribute HyperlinkAvailabilityCheckWorker.app
2021-02-07 02:29:19 +09:00
Jean-François B
a565e74039
Merge pull request #8840 from jfbu/latex_fix_table_spacing_broken
Revert "Add \nobreak inside \sphinxAtStartPar"
2021-02-06 16:55:32 +01:00
jfbu
38b14bbfef Revert "Add \nobreak inside \sphinxAtStartPar"
This reverts commit 17642a5e6b.

Fixes #8838. For some reason the \nobreak causes breakage in table
vertical spacing for merge cells in tabular and longtable, and regarding
tabulary for all cells...

Reverting this will cause as described in the reverted commit message
some much less annoying problem in certain circumstances when a long
word has no hyphenation point.
2021-02-06 16:35:16 +01:00
jfbu
ff305ec258 Be extra cautious to not use \@arabic in \thesphinxscope 2021-02-06 13:57:07 +01:00
jfbu
6275a7756f Use \thesphinxscope mark-up (shorter, and may help trick for page scope) 2021-02-06 13:43:12 +01:00
Takeshi KOMIYA
f076335598 refactor: LaTeX: separate self.body.append() call to single line output 2021-02-06 21:26:43 +09:00
jfbu
c55216858e Abstract \stepcounter{sphinxscope} into macro for flexibility 2021-02-06 11:38:24 +01:00
jfbu
628c58abef Prepare for scope-limited footnote numbering 2021-02-06 10:45:50 +01:00
jfbu
9c823478e0 Update CHANGES 2021-02-05 20:39:32 +01:00
jfbu
98f4732a98 LaTeX: make all references to explicitly numbered footnote clickable 2021-02-05 20:26:17 +01:00
Takeshi KOMIYA
ad5b0babd7 refactor: linkcheck: Remove unused attribute HyperlinkAvailabilityCheckWorker.app 2021-02-06 01:34:20 +09:00
Takeshi KOMIYA
163c7bbdc1
Merge pull request #8806 from tk0miya/refactor_linkcheck5
refactor: linkcheck: Separate worker feature from builder class
2021-02-06 01:33:52 +09:00
Takeshi KOMIYA
84130fff40
Fix typo
Co-authored-by: François Freitag <mail@franek.fr>
2021-02-06 01:24:16 +09:00
jfbu
eb91fd292f Update CHANGES 2021-02-05 16:49:41 +01:00
jfbu
a0b0a08e38 LaTeX footnotes from caption titles now hyperlinked in PDF
This is fifth item of #2616
2021-02-05 16:45:12 +01:00
Takeshi KOMIYA
f02fb7a8cc refactor: linkcheck: Separate worker feature from builder class
To reduce the complexity of the linkcheck builder, this separates
the worker feature from the builder class.
2021-02-05 22:52:28 +09:00
Takeshi KOMIYA
a39b5f08e9
Merge pull request #8822 from tk0miya/8813_ExtensionError
Close #8813: Show what extension caused it on errors on event handler
2021-02-05 22:48:57 +09:00
Takeshi KOMIYA
ed2af230e4
Merge pull request #8823 from tk0miya/8511_readonly_testing
Support testing from read-only filesystems
2021-02-05 22:48:29 +09:00
Takeshi KOMIYA
50b0cec41c
Merge pull request #8826 from francoisfreitag/linkcheck-result
Formalize linkcheck CheckResult into a NamedTuple
2021-02-05 22:47:58 +09:00
Takeshi KOMIYA
3b4b7378d7
Merge pull request #8827 from thibaudcolas/patch-2
Fix broken "Extend" link in site header
2021-02-05 22:47:04 +09:00
Thibaud Colas
00e2c2e250
Fix broken "Extend" link in site header
Spotted while navigating https://www.sphinx-doc.org/en/master/.
2021-02-04 22:04:17 +00:00