I've been having problems over the last few days trying to install
latex2html locally in my home directory of a system with a global
installation of teTeX. latex2html itself seems fine, but I am having
terrible trouble getting dvips, when run through latex2html, to find
psfrag.pro, which is a locally installed latex package. I cannot edit the
main installation files, just local ones.

To get dvips to find the file when running by hand just required it to be
in my tex working directory, but this is not good enough for latex2html. I
have been playing with the TEXINPUTS environment variable, both in
latex2html (through .latex2html-init) and in the shell - but to no avail -
Does TEXINPUTS affect dvips anyway? I've also tried the
-h<<path>/psfrag.pro>, again to no avail. 

Are there any docs (I've generated and read the manual supplied) which
could help me more on this?

% setenv
[snip]
TEXINPUTS=/u1.bath/s11/sb314/thesis:.:/usr/sol2b/teTeX/texmf/tex/latex/base
:/usr/sol2b/teTeX/texmf/tex/latex/graphics:
[this lets latex work normally, plus points to psfrag.pro as shown below]

% ls /u1.bath/s11/sb314/thesis
[snip]
psfrag.pro
[snip]

% more /u1.bath/s11/sb314/thesis/.latex2html-init 
$DVIPS = 'dvips -d97 -h/u1.bath/s11/sb314/thesis/psfrag.pro'; 
$TEXINPUTS = '/u1.bath/s11/sb314/thesis::.';
$DESTDIR = '/u1.bath/s11/sb314/public_html/thesis';

I can bypass this problem by trying to run latex2html, letting it fail,
then copying psfrag.pro to the DESTDIR and running again, but I would like
to use '-reuse 0' each time. (BTW REUSE = 0 in .latex2html-init causes
latex2html to fail, whereas '-reuse 0' on the command line works as
documented (98.1p1)). But the figures produced are not correct, there are
just a group of text strings where the figure should be in the .html doc.
I have looked into the temporary image files created and the .ps and .ppm
files seem to be blank. Equations and inline images are more-or-less OK.

On a similar note, I also rely heavily on the subfigure package in my
documents. These figures also do not output correctly. From what I have
read shouldn't the whole subfigure environment be sent to latex to produce
a gif (in my case)? This does not seem to be the case.

Hoping for some enlightenment

Ed





Reply via email to