mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Revert the index stuff to work better with LaTeX2HTML.
This commit is contained in:
parent
396a7cfb94
commit
f3aa0e0627
6 changed files with 30 additions and 14 deletions
|
@ -223,12 +223,20 @@ add new extensions to Python and how to embed it in other applications.
|
|||
|
||||
\input{libundoc}
|
||||
|
||||
\renewcommand{\indexname}{Module Index}
|
||||
\renewcommand{\indexlabel}{modindex}
|
||||
\inputindex{modlib.ind} % Module Index
|
||||
%
|
||||
% 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}
|
||||
%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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue