[l2h] On graphics in latex2html

Igor Pechtchanski pechtcha at cs.nyu.edu
Tue Apr 5 16:20:56 CEST 2005


On Tue, 5 Apr 2005, hooklee wrote:

> 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}}
> or
> --\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.

Isn't it just a question of invoking LaTeX with the appropriate TEXINPUTS
setting?  Then images.tex doesn't need to be modified at all...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha at cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor at watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT



More information about the latex2html mailing list