[l2h] latex2html and figure generation

Bruce Miller bruce.miller at nist.gov
Fri May 26 13:35:57 CEST 2006


Shigeharu TAKENO wrote:
> 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}}

Better yet; Just use

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

That lets each processor (latex, pdflatex, latex2html) choose
the format that it prefers.

> 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
> +========================================================+
> _______________________________________________
> latex2html mailing list
> latex2html at tug.org
> http://tug.org/mailman/listinfo/latex2html
> 


-- 
bruce.miller at nist.gov
http://math.nist.gov/~BMiller/


More information about the latex2html mailing list