summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-09 16:39:22 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-09 16:39:22 (GMT)
commit7d20ffe245663ff824de544f574470d2b759059f (patch)
treefc8e1a049986cafeb0554a272223cbaeeb9ca632
parent568113a75b9b804f8d65e78219db2b2212541647 (diff)
downloadcpython-7d20ffe245663ff824de544f574470d2b759059f.zip
cpython-7d20ffe245663ff824de544f574470d2b759059f.tar.gz
cpython-7d20ffe245663ff824de544f574470d2b759059f.tar.bz2
Adjust the index inclusion for the new index support.
-rw-r--r--Doc/api.tex2
-rw-r--r--Doc/api/api.tex2
-rw-r--r--Doc/ext.tex4
-rw-r--r--Doc/ext/ext.tex4
-rw-r--r--Doc/lib.tex10
-rw-r--r--Doc/lib/lib.tex10
6 files changed, 18 insertions, 14 deletions
diff --git a/Doc/api.tex b/Doc/api.tex
index fdc19b0..7d99848 100644
--- a/Doc/api.tex
+++ b/Doc/api.tex
@@ -2906,6 +2906,6 @@ Py_None, _Py_NoneStruct
XXX Explain Py_DEBUG, Py_TRACE_REFS, Py_REF_DEBUG.
-\input{api.ind} % Index -- must be last
+\inputindex{api.ind} % Index -- must be last
\end{document}
diff --git a/Doc/api/api.tex b/Doc/api/api.tex
index fdc19b0..7d99848 100644
--- a/Doc/api/api.tex
+++ b/Doc/api/api.tex
@@ -2906,6 +2906,6 @@ Py_None, _Py_NoneStruct
XXX Explain Py_DEBUG, Py_TRACE_REFS, Py_REF_DEBUG.
-\input{api.ind} % Index -- must be last
+\inputindex{api.ind} % Index -- must be last
\end{document}
diff --git a/Doc/ext.tex b/Doc/ext.tex
index 0c9f779..d2d11ad 100644
--- a/Doc/ext.tex
+++ b/Doc/ext.tex
@@ -1489,8 +1489,6 @@ whitespace-separated absolute pathnames of libraries (\samp{.a}
files). No \samp{-l} options can be used.
-%\input{extref}
-
-\input{ext.ind}
+\inputindex{ext.ind}
\end{document}
diff --git a/Doc/ext/ext.tex b/Doc/ext/ext.tex
index 0c9f779..d2d11ad 100644
--- a/Doc/ext/ext.tex
+++ b/Doc/ext/ext.tex
@@ -1489,8 +1489,6 @@ whitespace-separated absolute pathnames of libraries (\samp{.a}
files). No \samp{-l} options can be used.
-%\input{extref}
-
-\input{ext.ind}
+\inputindex{ext.ind}
\end{document}
diff --git a/Doc/lib.tex b/Doc/lib.tex
index 76fddca..ca587ce 100644
--- a/Doc/lib.tex
+++ b/Doc/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}
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}