mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge branch '3.x'
Resolved Conflicts: sphinx/texinputs/sphinx.sty modified: CHANGES modified: sphinx/texinputs/sphinxlatexstyleheadings.sty
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -195,6 +195,8 @@ Bugs fixed
|
|||||||
* #8442: LaTeX: some indexed terms are ignored when using xelatex engine
|
* #8442: LaTeX: some indexed terms are ignored when using xelatex engine
|
||||||
(or pdflatex and :confval:`latex_use_xindy` set to True) with memoir class
|
(or pdflatex and :confval:`latex_use_xindy` set to True) with memoir class
|
||||||
* #8780: LaTeX: long words in narrow columns may not be hyphenated
|
* #8780: LaTeX: long words in narrow columns may not be hyphenated
|
||||||
|
* #8788: LaTeX: ``\titleformat`` last argument in sphinx.sty should be
|
||||||
|
bracketed, not braced (and is anyhow not needed)
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
--------
|
--------
|
||||||
|
|||||||
@@ -35,16 +35,16 @@
|
|||||||
% Augment the sectioning commands used to get our own font family in place,
|
% Augment the sectioning commands used to get our own font family in place,
|
||||||
% and reset some internal data items (\titleformat from titlesec package)
|
% and reset some internal data items (\titleformat from titlesec package)
|
||||||
\titleformat{\section}{\Large\py@HeaderFamily}%
|
\titleformat{\section}{\Large\py@HeaderFamily}%
|
||||||
{\py@TitleColor\thesection}{0.5em}{\py@TitleColor}{\py@NormalColor}
|
{\py@TitleColor\thesection}{0.5em}{\py@TitleColor}
|
||||||
\titleformat{\subsection}{\large\py@HeaderFamily}%
|
\titleformat{\subsection}{\large\py@HeaderFamily}%
|
||||||
{\py@TitleColor\thesubsection}{0.5em}{\py@TitleColor}{\py@NormalColor}
|
{\py@TitleColor\thesubsection}{0.5em}{\py@TitleColor}
|
||||||
\titleformat{\subsubsection}{\py@HeaderFamily}%
|
\titleformat{\subsubsection}{\py@HeaderFamily}%
|
||||||
{\py@TitleColor\thesubsubsection}{0.5em}{\py@TitleColor}{\py@NormalColor}
|
{\py@TitleColor\thesubsubsection}{0.5em}{\py@TitleColor}
|
||||||
% By default paragraphs (and subsubsections) will not be numbered because
|
% By default paragraphs (and subsubsections) will not be numbered because
|
||||||
% sphinxmanual.cls and sphinxhowto.cls set secnumdepth to 2
|
% sphinxmanual.cls and sphinxhowto.cls set secnumdepth to 2
|
||||||
\titleformat{\paragraph}{\py@HeaderFamily}%
|
\titleformat{\paragraph}{\py@HeaderFamily}%
|
||||||
{\py@TitleColor\theparagraph}{0.5em}{\py@TitleColor}{\py@NormalColor}
|
{\py@TitleColor\theparagraph}{0.5em}{\py@TitleColor}
|
||||||
\titleformat{\subparagraph}{\py@HeaderFamily}%
|
\titleformat{\subparagraph}{\py@HeaderFamily}%
|
||||||
{\py@TitleColor\thesubparagraph}{0.5em}{\py@TitleColor}{\py@NormalColor}
|
{\py@TitleColor\thesubparagraph}{0.5em}{\py@TitleColor}
|
||||||
|
|
||||||
\endinput
|
\endinput
|
||||||
Reference in New Issue
Block a user