summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/lib.tex16
1 files changed, 12 insertions, 4 deletions
diff --git a/Doc/lib/lib.tex b/Doc/lib/lib.tex
index ca587ce..1ac5992 100644
--- a/Doc/lib/lib.tex
+++ b/Doc/lib/lib.tex
@@ -223,12 +223,20 @@ add new extensions to Python and how to embed it in other applications.
\input{libundoc}
+%
+% The ugly "%begin{latexonly}" pseudo-environments are really just to
+% keep LaTeX2HTML quiet during the \renewcommand{} macros; they're
+% not really valuable.
+%
+
+%begin{latexonly}
\renewcommand{\indexname}{Module Index}
-\renewcommand{\indexlabel}{modindex}
-\inputindex{modlib.ind} % Module Index
+%end{latexonly}
+\input{modlib.ind} % Module Index
+%begin{latexonly}
\renewcommand{\indexname}{Index}
-\renewcommand{\indexlabel}{genindex}
-\inputindex{lib.ind} % Index
+%end{latexonly}
+\input{lib.ind} % Index
\end{document}