>Hello everyone.
>
> Here is a non-trivial question, I believe.
>The problem I have is a bit complicated to explain. I will try, though.
>
>In order to avoid to convert from the bitmap image files such as "tiff"
>or "ai" to
>"eps" files, I luckily came across to find a nice tool called "HEPS."
>The HEPS extracts a "pointer" that is a very small "eps" file from a
>"tiff" or "ai" file. I can now include the pointer eps file with the
>conventional way by employing "epsfig" or "graphics" packages.
>The problem, as you may guess, is that you need also the contents file,
>that is the "tiff" or "ai" file in the
>"segmented" subdirectory.
>
>How can one modify the makeseg script or latex2html script to copy or
>link the secondary but the original file "tiff" or "ai" files as is done
>in the eps file?
I think what you are trying to do is have a small "thumbnail" as the visible
part of a hyperlink to a larger graphic, yes ?
In any case you'll want to: \usepackage{html}
Now there are various ways to do this, depending upon how much processing is
required to get the images into the required formats.
It could be *none at all*: e.g.
\htmladdnormallink{\htmladdimg{../images/figure1.gif}}{../images/figure1.tif}
This doesn't put anything at all into the LaTeX version.
That's OK, since it is best to use a macro anyway:
In the preamble, make conditional definitions:
%begin{latexonly}
\newcommand{\pictureA}{\includegraphics[..any options..]{images/figure1.eps}}
\newcommand{\pictureB}{\includegraphics ...
\newcommand{\pictureC}{\includegraphics ...
...
%end{latexonly}
\begin{htmlonly}
\newcommand{\pictureA}{\htmladdnormallink{%
\htmladdimg[..any options ..]{../images/figure1.gif}}{../images/figure1.tif}}
\newcommand{\pictureB}{\htmladdnormallink{%
\htmladdimg ... ....}}
\newcommand{\pictureC}{\htmladdnormallink{%
\htmladdimg ... ....}}
...
\end{htmlonly}
Check out the optionas available for \htmladdimg .
This is a technique that I use a lot.
See for example:
http://www-texdev.mpce.mq.edu.au/GeoMath/GeoMath/node5.html
and related pages.
Another way is to use \htmlimage .
Consult a LaTeX2HTML User Guide to see how to use this to create thumbnails.
Hope this helps,
Ross Moore
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ross Moore email: [EMAIL PROTECTED]
Mathematics Department phone: +612 9850 8955
Macquarie University fax: +612 9850 8114
Sydney, NSW 2109 office: E7A-419
Australia WWW: http://www-math.mpce.mq.edu.au/~ross/
***************************
for the best in (La)TeX-nical typesetting and Web page production
join the TeX Users Group (TUG) --- browse at http://www.tug.org
<[EMAIL PROTECTED]>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~