[l2h] latex2html and figure generation

Shigeharu TAKENO shige at iee.niit.ac.jp
Fri May 26 12:24:55 CEST 2006


shige 05/26 2006
----------------

"Gianluca Moro" <giangiammy at gmail.com> wrote:
> Can I include in latex directly png format figures?
> or can I tell latex2html to use the original png
> to produce the html pages?

For example, if you use

 \usepackage{graphicx}
 ...
 \includegraphics{file.eps}

you can use your PNG image by

 \usepackage{graphicx}
 \usepackage{html}
 ...
 \latexhtml{%
 \includegraphics{file.eps}}{%
 \includegraphics{file.png}}

Latex2html can treat several image types by includegraphics of 
graphicx (graphics-support.perl):

 .gif, .jpg (or .jpeg), .png, .tiff, .pict, .pcx, .bmp, .sgi,
 .xbm, .xwd 

To use the feature, you must specify the appropriate extensions 
above. GIF and PNG images will use directly, and other images 
will convert to JPEG image by using Netpbm tools.

+========================================================+
 Shigeharu TAKENO     NIigata Institute of Technology
                       kashiwazaki,Niigata 945-1195 JAPAN
 shige at iee.niit.ac.jp   TEL(&FAX): +81-257-22-8161
+========================================================+


More information about the latex2html mailing list