Hello,

Resending since the previous message seems to have been swallowed up
by the spam filter.

On Tue, 14 Jul 2009, Kapil Hari Paranjape wrote:
> One way to get (upto round off errors) the correct values for height
> and width, which are in addition compliant with the html spec, is to
> use the command-line option "graphics-110" or "graphics-72"
> (depending on the intended screen resolution). This means that
> instead of 
>   htlatex filename.tex
> You run
>   htlatex filename.tex "html,graphics-72"
> 
> This will work with "eps" graphics, I have not tested with the other
> graphic import methods explained by Anthony DeRobertis in his
> previous mail.
> 
> Of course, this is only a work-around. 

A different solution is to shift the image width and height settings
to the CSS file. In fact, setting dimensions for the IMG entity in the
HTML file is deprecated.
(See http://www.w3.org/TR/html4/struct/objects.html#h-13.7)

The "pt" dimension units are allowed in the CSS file.

Of course, these are postscript (big) points and not TeX points but
that (using pt to mean TeX points) is something that is uniform across
all of TeX4HT and can thus be fixed by a common configuration setting.

Please let me know is this is an acceptable solution.

Regards,

Kapil.
--

Attachment: signature.asc
Description: Digital signature

Reply via email to