[l2h] Want m y images

Werner Arnhold warnhold@zedat.fu-berlin.de
Mon, 4 Jun 2001 18:27:25 +0200 (CEST)


On Mon, 4 Jun 2001, Ross Moore wrote:

> > Hello,
> > 
> > when I include screen shots in a document, I have a JPEG file and convert
> > it to Postscript (for the LaTeX part of the game). When I call l2h it
> > converts the PS-Picture back to JPEG which will by no means better.
> > 
> > How can I tell that I want the  o r i g i n a l  file with the orignal
> > size to be used and how can I get the system to produce  m y
> > "ALT=..." text instead of
> > e.g. "\begin{figure}\centering\bild{anmeldung}{width=\textwidth}{BORDER=0
> > ALT=\uml {A}nmeldefenster}"
> 
> Use conditional code, loaded by   \usepackage{html}
> as follows:
> 
> %begin{latexonly}
> %% this part uses the .eps version, with LaTeX
> \includegraphics[...options..]{anmeldung}
> %end{latexonly}
> %% this part uses the original .jpg in the HTML, with extra attributes
> \htmladdimg[HEIGHT=...,width=...,\uml{A}nmeldefenster]{anmeldung.jpg}
> 
> 
> With conditional code, you have full control over what appears
> in the HTML, independent from what appears in the .dvi created by LaTeX.

Thank you, but the problem is not quite solved

Here is what I have in my *.tex file:
--------------------------------
\begin{quote}
%begin{latexonly}
\begin{figure}[h]
\centering
\bild{anmeldung}{width=\textwidth}{BORDER=0 ALT="Anmeldefenster"}
\caption{Das Anmeldefenster des Browsers}
\end{figure}
%end{latexonly}
\htmladdimg[BORDER=0 ALT="Anmeldefenster"]{bilder/anmeldung.jpg}
\end{quote}
--------------------------------
And this was to be foud in the html-source:
--------------------------------
<BLOCKQUOTE>
<IMG ALIGN="BOTTOM" BORDER="0" SRC="alt=&#220;SEMAP="{a}nmeldefenster"
SRC="bilder/anmeldung.jpg"
ALT="anmeldung.jpg">

</BLOCKQUOTE>
--------------------------------
Thanks

Werner

Werner Arnhold
Berlin
warnhold@zedat.fu-berlin.de