diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/tex4ht/base/unix/tex4ht.env | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex4ht/base/unix/tex4ht.env b/Master/texmf-dist/tex4ht/base/unix/tex4ht.env index 39455beecb7..0e6eace010e 100644 --- a/Master/texmf-dist/tex4ht/base/unix/tex4ht.env +++ b/Master/texmf-dist/tex4ht/base/unix/tex4ht.env @@ -1,5 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% tex4ht.env / .tex4ht (unix) 2009-01-20-20:54 % +% tex4ht.env / .tex4ht (unix) 2014-02-10 +% Copyright (C) 2010--2014 TeX Users Group % Copyright (C) 1997--2009 Eitan M. Gurari % % % % This work may be distributed and/or modified under the % @@ -14,10 +15,7 @@ % This work has the LPPL maintenance status "maintained".% % % % This Current Maintainer of this work % -% is Eitan M. Gurari. % -% % -% gurari@cse.ohio-state.edu % -% http://www.cse.ohio-state.edu/~gurari % +% is the TeX4ht Project <http://tug.org/tex4ht>. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -159,9 +157,15 @@ G.svg Gdvips -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.eps Gpstoedit -f svg zz%%4.eps %%3 G. -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 +%echo "dbg: got to dvips to png via gs" +% these are the same commands as for .png above. +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 +%--------- let's not use convert, to simplify mactex. +% 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 %--------- alternative instructions for old versions of convert % Gconvert -trim -density 110x110 -transparent "#FFFFFF" zz%%4.ps %%3 % Gconvert -crop 0x0 +repage -density 110x110 -transparent "#FFFFFF" zz%%4.ps %%3 @@ -186,9 +190,13 @@ Gdvipng -T tight -x 1400 -D 72 -bg Transparent -pp %%2:%%2 %%1 -o %%3 G.gif Gdvipng -T tight -x 1400 -D 72 -bg Transparent -gif -pp %%2:%%2 %%1 -o %%3 G. -Gdvips -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps -Gconvert -crop 0x0 -density 110x110 -transparent '#FFFFFF' zz%%4.ps %%3 -Grm zz%%4.ps +%echo "dbg: got to dvi to png via dvipng" +Gdvipng -T tight -x 1400 -D 72 -bg Transparent -pp %%2:%%2 %%1 -o %%3 +%--------- let's not use convert, to simplify mactex. +% G. +% Gdvips -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps +% Gconvert -crop 0x0 -density 110x110 -transparent '#FFFFFF' zz%%4.ps %%3 +% Grm zz%%4.ps </dvipng> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |