Kaydet (Commit) f3aa0e06 authored tarafından Fred Drake's avatar Fred Drake

Revert the index stuff to work better with LaTeX2HTML.

üst 396a7cfb
...@@ -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.
\inputindex{api.ind} % Index -- must be last \input{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.
\inputindex{api.ind} % Index -- must be last \input{api.ind} % Index -- must be last
\end{document} \end{document}
...@@ -1489,6 +1489,6 @@ whitespace-separated absolute pathnames of libraries (\samp{.a} ...@@ -1489,6 +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.
\inputindex{ext.ind} \input{ext.ind}
\end{document} \end{document}
...@@ -1489,6 +1489,6 @@ whitespace-separated absolute pathnames of libraries (\samp{.a} ...@@ -1489,6 +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.
\inputindex{ext.ind} \input{ext.ind}
\end{document} \end{document}
...@@ -223,12 +223,20 @@ add new extensions to Python and how to embed it in other applications. ...@@ -223,12 +223,20 @@ add new extensions to Python and how to embed it in other applications.
\input{libundoc} \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{\indexname}{Module Index}
\renewcommand{\indexlabel}{modindex} %end{latexonly}
\inputindex{modlib.ind} % Module Index \input{modlib.ind} % Module Index
%begin{latexonly}
\renewcommand{\indexname}{Index} \renewcommand{\indexname}{Index}
\renewcommand{\indexlabel}{genindex} %end{latexonly}
\inputindex{lib.ind} % Index \input{lib.ind} % Index
\end{document} \end{document}
...@@ -223,12 +223,20 @@ add new extensions to Python and how to embed it in other applications. ...@@ -223,12 +223,20 @@ add new extensions to Python and how to embed it in other applications.
\input{libundoc} \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{\indexname}{Module Index}
\renewcommand{\indexlabel}{modindex} %end{latexonly}
\inputindex{modlib.ind} % Module Index \input{modlib.ind} % Module Index
%begin{latexonly}
\renewcommand{\indexname}{Index} \renewcommand{\indexname}{Index}
\renewcommand{\indexlabel}{genindex} %end{latexonly}
\inputindex{lib.ind} % Index \input{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