[l2h] Problem converting an image?

Erling D. Andersen e.d.andersen at mosek.com
Thu May 13 17:12:46 CEST 2004


Hi Ross,

Yes. I am reading a gif file i.e.

\includegraphics{lmtinitial.gif}

Also I forgot to include.

# Begin

! LaTeX Error: Cannot determine size of graphic in lmtinitial.gif (no BoundingB
ox).

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.386 \includegraphics{lmtinitial.gif}
                                      %
<lmtinitial.gif>


# End

But why cannot it find a bound box? The original source is at

http://www.mosek.com/products/3/tools/doc/html/toolsinstall/lmtinitial.gif.

I tried to make the small test document

# Begin

\documentclass{article}

\usepackage{html}
\usepackage{graphics}

\begin{document}

\includegraphics{lmtinitial.gif}

\end{document}

# End

and it does *NO* image conversion. Whereas it does for my real document.
Leaving me wondering what is happening. Why does it convert sometimes and sometimes not.

>    ^^^^^^^^^^^^^^--------  how does this happen ?
>
>What is the coding in the   images.tex  file ?
>And what was the original coding in your LaTeX
>document that gives rise to this ?

Here it is:

%begin{latexonly}
     \includegraphics[scale=0.75]{lmtinitial.png}
%end{latexonly}
\begin{htmlonly}
     \includegraphics{lmtinitial.gif}
     %\htmladdimg{lmtinitial.gif}
\end{htmlonly}

%
Bla bla bla

On another note can make sure that latex2html starts on new line after doing
\htmladdimg{lmtinitial.gif}. It does not do it as documented at

http://www.mosek.com/products/3/tools/doc/html/toolsinstall/node4.html#SECTION00440000000000000000

Scroll down a bit and look at the figures.

Erling





>Hope this helps,
>
>        Ross Moore
>
>
>>*********************************************************************** **
>>MOSEK ApS
>>C/O Symbion Science Park
>>Fruebjergvej 3, Boks 16
>>DK-2100 Copenhagen O
>>Denmark
>>
>>Phone (work): +45 3917 9907
>>Mobile-phone: +45 2362 9520
>>Fax:               +45 3917 9823
>>Email to phone: 23629520 at gsm1800.telia.dk
>>Email: e.d.andersen at mosek.com
>>Homepage: http://erling.andersen.name
>>                  http://www.mosek.com/homepages/e.d.andersen/
>>
>>*********************************************************************** **
>>
>>_______________________________________________
>>latex2html mailing list
>>latex2html at tug.org
>>http://tug.org/mailman/listinfo/latex2html
>------------------------------------------------------------------------
>Ross Moore                                         ross at maths.mq.edu.au
>Mathematics Department                             office: E7A-419
>Macquarie University                               tel: +61 +2 9850 8955
>Sydney, Australia                                  fax: +61 +2 9850 8114
>------------------------------------------------------------------------
>
>
>**************************************************************************** Denne mail er blevet scannet af http://www.virus112.com ****************************************************************************

*************************************************************************
MOSEK ApS     
C/O Symbion Science Park    
Fruebjergvej 3, Boks 16
DK-2100 Copenhagen O
Denmark

Phone (work): +45 3917 9907
Mobile-phone: +45 2362 9520
Fax:               +45 3917 9823
Email to phone: 23629520 at gsm1800.telia.dk
Email: e.d.andersen at mosek.com
Homepage: http://erling.andersen.name 
                  http://www.mosek.com/homepages/e.d.andersen/

************************************************************************* 



More information about the latex2html mailing list