Commit fbf132c3 authored by Fred Drake's avatar Fred Drake

Adjust the index inclusion for the new index support.

parent c27b3744
...@@ -2906,6 +2906,6 @@ Py_None, _Py_NoneStruct ...@@ -2906,6 +2906,6 @@ Py_None, _Py_NoneStruct
XXX Explain Py_DEBUG, Py_TRACE_REFS, Py_REF_DEBUG. 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} \end{document}
...@@ -2906,6 +2906,6 @@ Py_None, _Py_NoneStruct ...@@ -2906,6 +2906,6 @@ Py_None, _Py_NoneStruct
XXX Explain Py_DEBUG, Py_TRACE_REFS, Py_REF_DEBUG. 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} \end{document}
...@@ -1489,8 +1489,6 @@ whitespace-separated absolute pathnames of libraries (\samp{.a} ...@@ -1489,8 +1489,6 @@ whitespace-separated absolute pathnames of libraries (\samp{.a}
files). No \samp{-l} options can be used. files). No \samp{-l} options can be used.
%\input{extref} \inputindex{ext.ind}
\input{ext.ind}
\end{document} \end{document}
...@@ -1489,8 +1489,6 @@ whitespace-separated absolute pathnames of libraries (\samp{.a} ...@@ -1489,8 +1489,6 @@ whitespace-separated absolute pathnames of libraries (\samp{.a}
files). No \samp{-l} options can be used. files). No \samp{-l} options can be used.
%\input{extref} \inputindex{ext.ind}
\input{ext.ind}
\end{document} \end{document}
...@@ -8,7 +8,9 @@ ...@@ -8,7 +8,9 @@
\input{boilerplate} \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} \begin{document}
...@@ -222,9 +224,11 @@ add new extensions to Python and how to embed it in other applications. ...@@ -222,9 +224,11 @@ add new extensions to Python and how to embed it in other applications.
\input{libundoc} \input{libundoc}
\renewcommand{\indexname}{Module Index} \renewcommand{\indexname}{Module Index}
\input{modlib.ind} % Module Index \renewcommand{\indexlabel}{modindex}
\inputindex{modlib.ind} % Module Index
\renewcommand{\indexname}{Index} \renewcommand{\indexname}{Index}
\input{lib.ind} % Index \renewcommand{\indexlabel}{genindex}
\inputindex{lib.ind} % Index
\end{document} \end{document}
...@@ -8,7 +8,9 @@ ...@@ -8,7 +8,9 @@
\input{boilerplate} \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} \begin{document}
...@@ -222,9 +224,11 @@ add new extensions to Python and how to embed it in other applications. ...@@ -222,9 +224,11 @@ add new extensions to Python and how to embed it in other applications.
\input{libundoc} \input{libundoc}
\renewcommand{\indexname}{Module Index} \renewcommand{\indexname}{Module Index}
\input{modlib.ind} % Module Index \renewcommand{\indexlabel}{modindex}
\inputindex{modlib.ind} % Module Index
\renewcommand{\indexname}{Index} \renewcommand{\indexname}{Index}
\input{lib.ind} % Index \renewcommand{\indexlabel}{genindex}
\inputindex{lib.ind} % Index
\end{document} \end{document}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment