[Python-Dev] Compiling the online documentation

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Mon, 17 Jul 2000 08:48:50 +0200


Thomas Wouters wrote:
> Only if you have TeX/LaTeX *and* latex2html installed :P I've failed to find
> an RPM for latex2html up til now, and I'm too lazy to hunt down the sources
> and compile it myself.

I found one at

ftp://ftp.cs.tu-berlin.de/pub/linux/Mirrors/contrib.redhat.com/noarch/noarch/latex2html-99.1-1.noarch.rpm

This, in turn, needs giftrans-1.12.2-4.i386.rpm. With both packages
installed, I tried to run make in Doc/html again, only to get

PAPER=letter ../tools/mkhtml.sh api -html_version 4.0
latex2html -init_file /usr/src/python/Doc/perl/l2hinit.perl -dir api -html_version 4.0 /usr/src/python/Doc/api/api.tex
Too many arguments for undef operator at /usr/bin/latex2html line 2771, near "$trans)"
Too many arguments for undef operator at /usr/bin/latex2html line 3076, near "$etmp)"
BEGIN not safe after errors--compilation aborted at /usr/bin/latex2html line 4404.

This is with perl 5.6; which perl version is required for latex2html?

Regards,
Martin