[l2h] problems with 99.2beta5

John A. Turner John A. Turner" <turner@blueskystudios.com
Fri, 29 Oct 1999 18:58:30 -0400 (EDT)


--7ewenMBVmS
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit

1. problems with -dir?

I typically invoke l2h with something like -dir frames or -dir noframes
this has always worked before, but now I get this msg:

Error (Make_directory_absolute): chdir "noframes/" failed: No such file or directory
 at /users/turner/Tools/IRIX/bin/latex2html line 491

here's the relevant section of code:

    # establish absolute path to $DESTDIR
    #
    if ($DESTDIR && $DESTDIR =~ /^\Q$FILE\E[$dd$dd]*$/) {
	$DESTDIR = L2hos->Cwd();
    } elsif ($DESTDIR) {
	$DESTDIR = L2hos->Make_directory_absolute($DESTDIR);    <=== 491
    } else {
	$DESTDIR = L2hos->Cwd();
    }
    $DESTDIR .= $dd if($DESTDIR && $DESTDIR !~ /[$dd$dd]$/o);

couldn't see right away what the proper fix should be, so I did the
obvious thing - simply commented out the line and proceeded  :)

seems to work

2. I've always used this:

\bodytext{background="bg_page.jpg" text="000000" link="0000ee" vlink="b22222" alink="ff0000"}

to set colors.  Yes, I know it's probably not the best way - esp.
since it no longer works.  I get this HTML:

<P>
=background="bg_page.jpg" text="000000" link="0000ee" vlink="b22222" alink="ff0000";''
<P>

so that stuff just shows up right on the page.  What I used to get, of 
course, was something like:

<BODY background="bg_page.jpg" text="000000" link="0000ee" vlink="b22222" alink="ff0000">

I tried instead setting $MAIN_COLOR in .latex2html-init, as follows:

$MAIN_COLOR = "background=\"bg_page.jpg\" text=\"#000000\" link=\"#0000ee\" vlink=\"#b22222\" alink=\"#ff0000\"";

doesn't seem to have any effect.

oops, I just noticed that the above works when I use frames (i.e.
-html_version 4.0,math,frame -no_math) - it's only the noframes
version (i.e. -html_version 3.2,math -no_math) that doesn't work

3. can't \input a file named index.tex

ok, this may just fall under the heading "don't do that" but I had a
section discussing index of refraction, and called it index.tex and
used \input to slurp it in

although latex deals with this just fine, l2h ignores it

I've attached a small gzipped tar file with some simple files that may 
be helpful in debugging 2 and 3

let me know if there's something else I can do to help with any of
this, please let me know

as always, thanks all...

-John


--7ewenMBVmS
Content-Type: application/octet-stream
Content-Disposition: attachment;
	filename="99.2b5-jat.tgz"
Content-Transfer-Encoding: base64

H4sIACQmGjgAA+1YC1gTVxaeQAUzIgtIi6LIlOAiCDEJgZSXrA8QlIeAFKlonDxIRsJMSCYE
iijutuIDFRUEH5WqldoqoqBCFZAKRKsVtT5ARQXBR0DeIFAL7EwQRN3ufv0+td/u8s/3zdxz
7jnnnrnnnvtycqKzeA52y2F8OvCuALEZHI4DBEAQZM921HyZbLbm+wIMCOIwGI5sFovD5hC1
DA6bAUAO78yjYVDIcVgGQQCukKFC2e/LyVDB+3DnfcPpZfzn+gVHwhHCcEQifLttMMnQsn83
/iwCg/FnstgORK09g2MPQIy368a/xv95/FE4Ugi5QeFwFIgLY7hk8OUEbTlViUgEfFgmgGzo
RIU1CPqwvDx9Zs4NImrtYBRHYAkCyyEoDHyZxpAdinFhBY5xJQga8XqdBOPDEi7Cx9A31ORS
CYJDDm+wxZiSKxfycQRDuagikieUyUHQz98zcKavh8YRHobjWCQXhaMREUyKQXZiPFLCjSYk
ScqezrKNhHGxxjOyAL7QhUjtV0TZdIZG1DZcRvbJkAKIy2C5mBC3WUn0BayIId48noR8S0TE
WxCNEG9EQPIRDQdByV6TYGQZx/ggSF/g5e8X6gxpLMshFBsogCCpazmVjIE1aceZIIaiYA3S
qBKYIAclwNdIcFBTKgh/Q5Pgvab8BgeMedHkUPsgNeY1j6C/guAL80NtgVSYL8NkQljAHs4m
RSUssTNIFZHTCKSxJ4uE7GThhNgc70DCh8gIASIbojTusMggQHYv+cRncKhZD9knBAeMDdqa
zhNxpbBISF8uFYFUvhSS4xiqof6VADjY5UPeEZ5ChJjbYAU02Kab1avtD442aysQ/B0b/8HC
kP6LHxgQJ/0jBseQ/zyJQshVCuHogZ94UwiUyl92t/y1uBEvotoOGybxMs5SGYLiw0IoJ7pe
Op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