[l2h] Absolute pathes???

Ross Moore ross@ics.mq.edu.au
Wed, 18 Jul 2001 23:27:32 +1000 (EST)


> HELP!
> 
> I want to integrate images by using the \htmladdimg tag.
> How can I specify an absolute always right oath?
> e.g.
> The gifs are always in a direcctory ./gif
> How does latex2html accept something like 
> 
>   \htmladdimg{./gif/button.gif}

A relative path must be relative to where the HTML page is located.
Hence, you probably want:
   \htmladdimg{../gif/button.gif}

> 
> I alwys have to do
> 
>   \htmladdimg{/home/machine/user/tex/docs/gif/button.gif} for example only.

This may work for you, on the local machine,
but is no good to anyone looking at your pages from the Web.
Instead you must use a URL to your machine.

On the other hand, if you Web pages are to be distributed via CDROM, say,
then the local filename might be better.
However, I'd advise using relative paths wherever possible.

> 
> Thanks in advance

Hope this helps,

	Ross Moore

> 
> Sincerly
> Heiko WOlf
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html