Did the attached msg get out? I think I received a copy from the
list, but I just wanted to make sure.
I just ask because I've seen responses to several other msgs since
this one, and haven't seen anything about this.
Do I not give enough info? Are the questions completely stupid? Am I
doing something really dumb?
Something I guess I should have mentioned is that I didn't have any of
these problems with 99.2alpha14 (well, except for #3, which wasn't
tested with the older version).
Thanks,
-John
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
99.2b5-jat.tgz