[OS X TeX] Re: htlatex not producing png
Eitan Gurari
gurari at cse.ohio-state.edu
Wed Sep 28 22:47:31 CEST 2005
> The section of tex4ht.env looks like:
>
> <default>
> G.
> Gdvips -E -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps
> Gconvert zz%%4.ps -trim +repage -density 110x110 -transparent '#FFFFFF'
> %%3
> Grm zz%%4.ps
> %--------- alternative instructions for old versions of convert
> % Gconvert zz%%4.ps -trim -density 110x110 -transparent "#FFFFFF" %%3
> % Gconvert zz%%4.ps -crop 0x0 +repage -density 110x110 -transparent
> "#FFFFFF" %%3
> Gconvert zz%%4.ps -crop 0x0 +page -density 110x110 -transparent
> "#FFFFFF" %%3
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> </default>
Try the following alternative segment.
<default>
Gdvips -E -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps
Gconvert -trim +repage -density 110x110 -transparent '#FFFFFF' zz%%4.ps %%3
Grm zz%%4.ps
</default>
The three G recods SHOULD NOT contain space at the start of the
lines. The other two records SHOULD contain space at the start of the
lines.
-eitan
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the macostex-archives
mailing list