[OS X TeX] Addendum: [Ii2-announce] Request for testing on a short notice

Eitan Gurari gurari at cse.ohio-state.edu
Wed Jul 6 21:09:11 CEST 2005




 > tex4ht appears not to generate pictures for equations on my system. But
 > that was already the case in the previous TeX i-installer (expert, 2005).
 > The pictures are referenced in the HTML file, however, they are just not
 > there. There are no obvious error messages.
 > 
 > example:
 > 
 > \documentclass{article}
 > \begin{document}
 > \[ E=mc^2 \]
 > \end{document}

My guess the problem is due to a lack of space before the tags
<default> and </default> in the bitmap generation script within the
configuration file tex4ht.env. -eitan


:......................... insert space before <default>
v
<default>
 G.png
 Gdvips -E -q -Ppdf -f %%1 -pp %%2 > zz%%4.ps
 Ggs -sDEVICE=pngalpha -sOutputFile=%%3 -r110x110 -dEPSCrop
-dBackgroundColor=16#ffffff -dTextAlphaBits=2 -dGraphicsAlphaBits=2 -q
-dbatch -dNOPAUSE zz%%4.ps -c quit
 Grm zz%%4.ps    
G.svg
Gdvips -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.eps
Gpstoedit -f svg zz%%4.eps %%3
%-------------------%
  Gdvips -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps
  Ggs -sDEVICE=ppm -sOutputFile=zz%%4.ppm -r110x110 -dTextAlphaBits=2
-dGraphicsAlphaBits=2 -q -dbatch -dNOPAUSE zz%%4.ps -c quit
  Gconvert zz%%4.ppm  -crop 0x0 +page -density 110x110 -transparent
'#FFFFFF' zz%%4.png
  Gperl png2svgGDI.pl zz%%4.png
  Gperl svgGDI.pl zz%%4.svg %%3
  Grm zz%%4.ps
  Grm zz%%4.ppm
  Grm zz%%4.png
  Grm zz%%4.svg           
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>
^
:......................... insert space before </default>


--------------------- 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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list