LaTeX: remove last argument of \titleformat in sphinx.sty

The {\py@NormalColor} was wrong it should have been [\py@NormalColor].

It got executed by latex during document preamble and never got
integrated as part of the heading...

Closes: #8788
This commit is contained in:
jfbu
2021-01-30 15:44:26 +01:00
parent be20f17892
commit da00a1c22a
2 changed files with 7 additions and 5 deletions

View File

@@ -114,6 +114,8 @@ Bugs fixed
* #8442: LaTeX: some indexed terms are ignored when using xelatex engine
(or pdflatex and :confval:`latex_use_xindy` set to True) with memoir class
* #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
--------