summaryrefslogtreecommitdiffstats
path: root/Doc/lib.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-17 06:23:13 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-17 06:23:13 (GMT)
commitf3aa0e0627bbabeb028044de6efffb614bbf4c06 (patch)
tree21bf1904c838439918d616e1b6b3db228a264739 /Doc/lib.tex
parent396a7cfb9404e4d38fe285b5f2c7432e6ec6f47b (diff)
downloadcpython-f3aa0e0627bbabeb028044de6efffb614bbf4c06.zip
cpython-f3aa0e0627bbabeb028044de6efffb614bbf4c06.tar.gz
cpython-f3aa0e0627bbabeb028044de6efffb614bbf4c06.tar.bz2
Revert the index stuff to work better with LaTeX2HTML.
Diffstat (limited to 'Doc/lib.tex')
-rw-r--r--Doc/lib.tex16
1 files changed, 12 insertions, 4 deletions
diff --git a/Doc/lib.tex b/Doc/lib.tex
index ca587ce..1ac5992 100644
--- a/Doc/lib.tex
+++ b/Doc/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}