summaryrefslogtreecommitdiff
path: root/fpcdocs/tex4ht.env
blob: 21e94a532318ca72f66a6fb61185d7ba4aed03e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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