Hi,
  I don't know if this is the right list but maybe someone is
interested. I installed latex2html 98.2 beta 7 on my Windows NT
Workstation (NT4 sr4) with only a few problems. I have perl
5.004_02 and a Miktek TeX installation.

In latex2html.config I changed $LATEX2HTMLDIR and $LOCAL_ICONS=1

I found that configure-pstoimg didn't detect ppmtogif although it is on the
path so I faked it:

        $_=join(" ",&get_stdout_stderr("$PPMTOGIF -h"));
# Faked by SLL
$_ = "-transparent -interlace";

I then ran install-test which set up everything OK.

latex2html kept crashing until I replaced:
#use AnyDBM_File;
use SDBM_File;

It then worked except it didn't copy the icons locally.

In copy_icons I changed:

    if ($ALTERNATIVE_ICONS) {
        &cp("$ALTERNATIVE_ICONS/$_", ".")
        if (-e "$ALTERNATIVE_ICONS/$_") && !(-e "$_");
    } elsif (/(gif|png)$/) {
#        &cp("$LATEX2HTMLDIR/icons.$1/$_", ".")
#        if (-e "$LATEX2HTMLDIR/icons.$1/$_") && !(-e "$_");
        &cp("$LATEX2HTMLDIR\\icons.$1\\$_", ".")
        if (-e "$LATEX2HTMLDIR\\icons.$1\\$_") && !(-e "$_");
    }
I guess these / or \\ should really be ${dd}

That's it - seems fine now.


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+  Steve Lloyd                       Queen Mary & Westfield College +
+  E-mail: [EMAIL PROTECTED]       Physics Department             +
+  Phone:  +44-(0)171-975-5057       Mile End Road                  +
+  Fax:    +44-(0)181-981-9465       London E1 4NS, UK              +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Reply via email to