From a40ea8ddb4f2509a24c1969e60988bee2884a345 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 22 Mar 2003 16:52:38 +0000 Subject: [PATCH] + Better quality of images --- docs/tex4ht.env | 52 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 docs/tex4ht.env diff --git a/docs/tex4ht.env b/docs/tex4ht.env new file mode 100644 index 0000000000..21e94a5323 --- /dev/null +++ b/docs/tex4ht.env @@ -0,0 +1,52 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% tex4ht.env / .tex4ht % +% % +% Notes: % +% 1. empty lines are harmful % +% 2. place this file in your work % +% directory and/or root directory % +% and/or in directory `xxx' of your % +% choice. In the latest case, compile % +% tex4ht.c with `#define HTFDIR xxx', % +% or provide the address of the file % +% to tex4ht throught the -e switch % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% * Replace `path' and `tfmpath/...' % +% * A ! requests recursive search into % +% subdirectories % +% * Multiple entries of each type are % +% allowed % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +t/usr/share/texmf/fonts/tfm/! +i/usr/share/texmf/tex/generic/tex4ht/ht-fonts/iso8859/! +i/usr/share/texmf/tex/generic/tex4ht/ht-fonts/alias/! +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Replace `path' % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% bookkeeping for searched files +i/usr/share/texmf/tex/generic/tex4ht/tex4ht.fls +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Default scripts +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + s--- needs --- %%1.idv[%%2] ==> %%3 --- + b--- characters --- + g.gif +% remove protection +S* +% dvi-to-gif +Gdvips -Pcmz -Pamz -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps +% Ggs -sDEVICE=ppm -sOutputFile=zz%%4.ppm -q -dbatch -dNOPAUSE zz%%4.ps -c quit +Gconvert -crop 0x0 -density 220x220 -geometry 60% -transparent '#FFFFFF' zz%%4.ps %%3 +Grm zz%%4.ps +% Grm zz%%4.ppm +% t4ht -d%%2 +Mmv %%1 %%2%%3 +Ccp %%1 %%2%%3 +% t4ht -d%%2 -m%%1 +Achmod %%1 %%2%%3 +% empty gifs + Ecp empty.pic %%1%%2 +% validations, XSTL tranformations,... + Xmake -f NSGMLS name=%%1 ext=%%2 +% end of file +