From: Andre W. <wo...@us...> - 2004-05-11 12:57:04
|
Hi, On 08.05.04, Faheem Mitha wrote: > apt-get build-dep python2.3-pyx > apt-get install devscripts latex2html > apt-get source python2.3-pyx > debuild binary I've tried that and it doesn't work for me either. I've used the package from Debian unstable, since its available now. Faheem, could you try whether you step into the same problem. I've patched latex2html in order to get it working. Just make a local copy of the perl script latex2html and apply the following patch: --- /usr/bin/latex2html 2004-04-23 14:57:26.000000000 +0200 +++ latex2html 2004-05-11 14:27:14.000000000 +0200 @@ -4811,7 +4811,10 @@ if ($cmd =~ /$sizechange_rx/o) { $pc_after = &$cmd_sub($pc_after, $open_tags_R); } else { - $pc_after = &$cmd_sub($pc_after, $open_tags_R); + if ("$cmd_sub" ne "do_cmd_textohtmlinfopage") + { + $pc_after = &$cmd_sub($pc_after, $open_tags_R); + } }; } elsif ((defined &$cmd_msub)&&!$NO_SIMPLE_MATH) { #print "\nMCMD:$cmd_msub : "; You can than run the creation of the html pages by PATH=.:$PATH make html in the manual subdirectory (put the patched latex2html into that directory). In case this helps for you as well, you may understand better whats going wrong here. I just don't understand it (my perl knowledge is quite limited). I would expect that the subroutine do_cmd_textohtmlinfopage is callable (at least its defined), but this seems to fail. I should note that there seems to be at least two additional problems. First mkhowto fails due to a missing /usr/lib/python2.3/doc/html/style.css later on. I havn't yet investigated it further -- it might be an error in the python package, but I'm not sure at all. And finally the png creation seems to be disabled somehow (note that the png we're creating in the Makefile are for usage in pdf only). I didn't look into that issue either. André -- by _ _ _ Dr. André Wobst / \ \ / ) wo...@us..., http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript figures with Python & TeX (_/ \_)_/\_/ visit http://pyx.sourceforge.net/ |