Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfbu <jfbu@free.fr>2017-02-02 21:50:13 +0300
committerjfbu <jfbu@free.fr>2017-02-02 21:50:13 +0300
commit6a5be5b60fd2c2aa3fd5751f6da1acbbf88e43c5 (patch)
tree9abcce8f4ff3dc51cb4e9d8b93b8ef8ccaabf1c4 /sphinx/texinputs/python.ist
parent681139ee0f346b2f1bd7c6aa818ecb6551df9c11 (diff)
Fix: since 1.5, PDF's TOC and bookmarks lack an entry for general Index
Diffstat (limited to 'sphinx/texinputs/python.ist')
-rw-r--r--sphinx/texinputs/python.ist4
1 files changed, 3 insertions, 1 deletions
diff --git a/sphinx/texinputs/python.ist b/sphinx/texinputs/python.ist
index 9ffa0f959..687d26cd4 100644
--- a/sphinx/texinputs/python.ist
+++ b/sphinx/texinputs/python.ist
@@ -2,10 +2,12 @@ line_max 100
headings_flag 1
heading_prefix " \\bigletter "
-preamble "\\begin{theindex}
+preamble "\\begin{sphinxtheindex}
\\def\\bigletter#1{{\\Large\\sffamily#1}\\nopagebreak\\vspace{1mm}}
"
+postamble "\n\n\\end{sphinxtheindex}\n"
+
symhead_positive "{Symbols}"
numhead_positive "{Numbers}"