[l2h] On graphics in latex2html

hooklee hooklee at hooklee.com
Tue Apr 5 08:48:26 CEST 2005

Hi all,

When one runs latex2tml with NO_SUBDIR=0, all graphics embedded with \includegraphics cannot be processed.
One has to copy all graphics into the directory $DESTDIR\ and then re-run latex2html to get the graphics.

I am puzzled why latex2html cannot be written slightly to make the thing easier.
In fact, latex2html can work well if the $DESTDIR\images.tex is processed as follows:
--\graphicspath{{path}} => \graphicspath{{../path}}
--\includegraphics[...]{file.ext} => \includegraphics[...]{../file.ext} (when \graphicspath doesn't appear in the source file)

I am not familiar with perl programing, so perhaps the above ideas are not practical.
Could any one consider rewriting latex2html if it is possible to add the functions?
I think it will be very useful for all users of latex2html.

best regards,

More information about the latex2html mailing list