summaryrefslogtreecommitdiffstats
path: root/Doc/lib/lib.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/lib.tex')
-rw-r--r--Doc/lib/lib.tex10
1 files changed, 7 insertions, 3 deletions
diff --git a/Doc/lib/lib.tex b/Doc/lib/lib.tex
index 76fddca..ca587ce 100644
--- a/Doc/lib/lib.tex
+++ b/Doc/lib/lib.tex
@@ -8,7 +8,9 @@
\input{boilerplate}
-\makeindex % tell \index to actually write the .idx file
+\makeindex % tell \index to actually write the
+ % .idx file
+\makemodindex % ... and the module index as well.
\begin{document}
@@ -222,9 +224,11 @@ add new extensions to Python and how to embed it in other applications.
\input{libundoc}
\renewcommand{\indexname}{Module Index}
-\input{modlib.ind} % Module Index
+\renewcommand{\indexlabel}{modindex}
+\inputindex{modlib.ind} % Module Index
\renewcommand{\indexname}{Index}
-\input{lib.ind} % Index
+\renewcommand{\indexlabel}{genindex}
+\inputindex{lib.ind} % Index
\end{document}