Commit Graph

17151 Commits

Author SHA1 Message Date
jfbu
df6a8bc1ef Merge branch '3.x' into merge_3.x_into_master 2021-02-09 19:36:21 +01:00
jfbu
e4ba80f92d Minor style issue in texinputs/sphinx.sty 2021-02-09 19:34:09 +01:00
jfbu
b9c53c8ca6 Merge branch '3.x' into merge_3.x_into_master
Resolved Conflicts:
	sphinx/texinputs/sphinx.sty

Some hunks needed to go to sphinx/texinputs/sphinxlatexliterals.py,
others already belonged to split files.
2021-02-09 19:03:38 +01:00
Jean-François B
15209223ac
Merge pull request #8862 from jfbu/latex_docs_minor_refactoring
Minor refactoring in doc/latex.rst
2021-02-09 18:42:09 +01:00
jfbu
87d0b15eab Also indent warning to not interrupt description list 2021-02-09 18:29:56 +01:00
jfbu
a310c4c5b6 Indent note directive inside list item 2021-02-09 18:25:37 +01:00
jfbu
32d8b4e445 Minor refactoring in doc/latex.rst 2021-02-09 18:11:24 +01:00
jfbu
52fc9bdd86 s/node.attributes/node/ at one other location 2021-02-09 17:51:55 +01:00
Jean-François B
a164d4c12c
Merge pull request #8832 from jfbu/latex_hyperlinked_caption_footnotes_on_3.x
Latex hyperlinked caption footnotes on 3.x
2021-02-09 17:45:41 +01:00
Takeshi KOMIYA
124edda281 refactor: LaTeX: Assign node_ids to footnotemark and footnotetext
On converting footnote nodes for the LaTeX writer, node_ids for footnote
nodes are almost cleared.  This copies the original node_id to the
footnotemark node (as refid) and footnotetext node (as node_id).  It's
useful to improve footnote features.
2021-02-10 01:42:20 +09:00
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