Ares wrote:
From: Eitan Gurari <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Thu, 6 Jul 2006 01:03:11 -0400
Subject: Re: lyx-users Digest 26 Jun 2006 15:12:57 -0000 Issue 1937



 > It worked very well with a slight exception. I see well close up,
 > and the math equations produced are 15-20% too small. Many people
 > could not read them as they are. The .jpgs are not the same size
 > as the math equations displayed as when .png files are selected.
 > No doubt the remedy is already contained in the documentation.
 >
 > They are very distinct and not blurry, if you see well close up.
 > I also noticed that the tex4ht-bin had been updated May 19, 2006
 > and I didn't have it. So I downloaded it and it made no apparent
 > change to the quality of the htlatex outputted web page/images.

Typically, the quality of images can be improved by using outline
fonts, changing the parameters of the conversion utilities invoked
through the G-scripts of tex4ht.env, and controlling the size of the
fonts used in the source files.  -eitan


I see, but this is not easy to modify tex4ht.env and I don't
understand where I can find (detailed) descriptions about how to do
that on the documentation. maybe it's me, otherwise put it in the wish
list...

Regards,
Diego



Recall that the code change Eitan provided fixed my inability to
produce .jpg images instead of .pngs although the html code did
contain .jpg image src which is very useful. I first had tried
mogrify which changed the png images to jpg at a decent size,
but they were not sharp like the original png images.

The patch Eitan sent me fixed the jpg issue of no jpgs made.
But the images were 50% to small at least. The new code made
the .png images smaller too. So I compared the code which
was originally there with the replacement code looking for
changes made to the density or the size of the box and I
didn't find the difference maker. I tried changing one setting,
110x110 to 140x140 and I couldn't tell a change was made.

Part of the problem is that the ImageMagick descriptions are
too skimpy. But one question unanswered is why did the jpg
conversion work for Ares without a patch (which I needed)
when we both use Miktex 2.4, same Ghostscript, Imagemagick?
Which is why I looked for an update to Miktex that Ares might
have installed for TeX4ht that I hadn't upgrade yet. The
conversion line that works well for me is "htlatex test.tex"
Using htlatex "html,jpg" (with or without the "symbol stuff"
changes the size of the output font. Something is strange
and reducing the size of the outputted fonts by over 100%
which one would think would be much closer to the normal
good looking default png.

Regards,
Stephen

Reply via email to