Re: [l2h] latex2html and figure generation

2006-05-26 Thread Shigeharu TAKENO
shige 05/26 2006


Gianluca Moro [EMAIL PROTECTED] 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
 [EMAIL PROTECTED]   TEL(FAX): +81-257-22-8161
++
___
latex2html mailing list
latex2html@tug.org
http://tug.org/mailman/listinfo/latex2html


Re: [l2h] latex2html and figure generation

2006-05-26 Thread Bruce Miller
Shigeharu TAKENO wrote:
 shige 05/26 2006
 
 
 Gianluca Moro [EMAIL PROTECTED] 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
  [EMAIL PROTECTED]   TEL(FAX): +81-257-22-8161
 ++
 ___
 latex2html mailing list
 latex2html@tug.org
 http://tug.org/mailman/listinfo/latex2html
 


-- 
[EMAIL PROTECTED]
http://math.nist.gov/~BMiller/
___
latex2html mailing list
latex2html@tug.org
http://tug.org/mailman/listinfo/latex2html


Re: [l2h] latex2html and figure generation

2006-05-25 Thread Soren O'Neill
Hi Gianluca,
I have had the exact same problem. I have tried latex2html and 2-3 other 
programs - all with the same result. I have not been able to find a solution, 
other than manually replace the images in the html directory. If you do find 
a solution, I'd be very interested in hearing it ...

Kind regards
Soren - Denmark

On Thursday 25 May 2006 12:44, Gianluca Moro wrote:
 hi all,

 I have a latex document with some figures:
 I have the original in png format, I convert
 them to ps to include in latex document.

 when I convert to html with latex2html,
 I get the images converted from ps to png,
 but they loose resolution:

 Can I include in latex directly png format figures?
 or can I tell latex2html to use the original png
 to produce the html pages?

 Or what is the correct conversion procedure?

 thanks
 giammy

-- 
Med venlig hilsen / Kind regards
Søren O'Neill

Kiropraktor Søren O'Neill, Stud. PhD.

Arbejde / Work
Rygcenter Fyn, Lindevej 5
5750 Ringe
Denmark
tel. +45 6362 1906
mail [EMAIL PROTECTED]

Hjemme / Privat
Pilehaven 8, Pederstrup
5750 Ringe
Denmark
tel. +45 6599 4430
mail [EMAIL PROTECTED]
___
latex2html mailing list
latex2html@tug.org
http://tug.org/mailman/listinfo/latex2html


Re: [l2h] latex2html and figure generation

2006-05-25 Thread Bruce Miller
If you're including graphics via the graphics or graphicx
packages, all you need to do is leave off the .ps suffix
in the \includegraphics markup.

LaTeX will look for an appropriate image type, and find ps,
latex2html will do similar, but find the png.

Soren O'Neill wrote:
 Hi Gianluca,
 I have had the exact same problem. I have tried latex2html and 2-3 other 
 programs - all with the same result. I have not been able to find a solution, 
 other than manually replace the images in the html directory. If you do find 
 a solution, I'd be very interested in hearing it ...
 
 Kind regards
 Soren - Denmark
 
 On Thursday 25 May 2006 12:44, Gianluca Moro wrote:
 hi all,

 I have a latex document with some figures:
 I have the original in png format, I convert
 them to ps to include in latex document.

 when I convert to html with latex2html,
 I get the images converted from ps to png,
 but they loose resolution:

 Can I include in latex directly png format figures?
 or can I tell latex2html to use the original png
 to produce the html pages?

 Or what is the correct conversion procedure?

 thanks
 giammy
 


-- 
[EMAIL PROTECTED]
http://math.nist.gov/~BMiller/
___
latex2html mailing list
latex2html@tug.org
http://tug.org/mailman/listinfo/latex2html