summaryrefslogtreecommitdiff
path: root/sphinx/texinputs/python.ist
diff options
context:
space:
mode:
authorjfbu <jfbu@free.fr>2018-07-01 10:06:23 +0200
committerjfbu <jfbu@free.fr>2018-07-04 08:32:02 +0200
commit46bc56636e1799f80ead24215c4d4d41fc4665c1 (patch)
treee83bc6ce5c2007cb418025e45e355cd9eddea34d /sphinx/texinputs/python.ist
parent1140e81df7ee9df1135ef9f35302ffd72d5bd764 (diff)
downloadsphinx-git-46bc56636e1799f80ead24215c4d4d41fc4665c1.tar.gz
Fix: #5133 via ``\sphinxsymbolsname``, ``\sphinxnumbersname``
Also adds usage of \sphinxstyleindexletterhead in python.ist as a customizable alias of original \bigletter.
Diffstat (limited to 'sphinx/texinputs/python.ist')
-rw-r--r--sphinx/texinputs/python.ist6
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/texinputs/python.ist b/sphinx/texinputs/python.ist
index 687d26cd4..acb71712e 100644
--- a/sphinx/texinputs/python.ist
+++ b/sphinx/texinputs/python.ist
@@ -3,11 +3,11 @@ headings_flag 1
heading_prefix " \\bigletter "
preamble "\\begin{sphinxtheindex}
-\\def\\bigletter#1{{\\Large\\sffamily#1}\\nopagebreak\\vspace{1mm}}
+\\let\\bigletter\\sphinxstyleindexletterhead
"
postamble "\n\n\\end{sphinxtheindex}\n"
-symhead_positive "{Symbols}"
-numhead_positive "{Numbers}"
+symhead_positive "{\\sphinxsymbolsname}"
+numhead_positive "{\\sphinxnumbersname}"