Debian Codegraph @

texmf-dist/tex4ht/base/win32/tex4ht.env

raw
1 % tex4ht.env-win32 (2025-06-02-14:00), generated from tex4ht-env.tex
2 % Copyright 2009-2024 TeX Users Group
3 % Copyright 1997-2009 Eitan M. Gurari
4 %
5 % This work may be distributed and/or modified under the
6 % conditions of the LaTeX Project Public License, either
7 % version 1.3c of this license or (at your option) any
8 % later version. The latest version of this license is in
9 % https://www.latex-project.org/lppl.txt
10 % and version 1.3c or later is part of all distributions
11 % of LaTeX version 2005/12/01 or later.
12 %
13 % This work has the LPPL maintenance status "maintained".
14 %
15 % The Current Maintainer of this work
16 % is the TeX4ht Project <https://tug.org/tex4ht>.
17 %
18 % If you modify this program, changing the
19 % version identification would be appreciated.%
20 % See comments in the Unix tex4ht.env for how this file gets found --
21 % except that on Windows, we also look in the directory of tex4ht.exe/t4ht.exe.
22 %
23 % * Replace `path', and possibly what follows, with appropriate %
24 % content %
25 % * A path may start with: %
26 % ~ for environment variable HOME %
27 % ~~ for environment variable TEX4HTTFM %
28 % %%~ for ${TEXMFDIST} of KPATHSEA %
29 % * A ! requests recursive search into subdirectories %
30 % * Multiple t and i entries are allowed %
31 % * When supported by kpathsea %
32 % + t entries are ignored %
33 % + the path before /ht-fonts/ is ignored in i records that don't %
34 % represent real addresses %
35 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
36 %
37 %
38 tc:\path\tfm!
39 %
40 <default>
41 i%%~/tex4ht/ht-fonts/iso8859/1/!
42 i%%~/tex4ht/ht-fonts/ascii/!
43 i%%~/tex4ht/ht-fonts/alias/!
44 i%%~/tex4ht/ht-fonts/mozilla/!
45 i%%~/tex4ht/ht-fonts/unicode/!
46 </default>
47
48 <mozhtf>
49 i%%~/tex4ht/ht-fonts/mozilla/!
50 i%%~/tex4ht/ht-fonts/unicode/!
51 i%%~/tex4ht/ht-fonts/ascii/!
52 i%%~/tex4ht/ht-fonts/alias/!
53 </mozhtf>
54
55 <iso2htf>
56 i%%~/tex4ht/ht-fonts/iso8859/2/!
57 i%%~/tex4ht/ht-fonts/ascii/!
58 i%%~/tex4ht/ht-fonts/alias/!
59 i%%~/tex4ht/ht-fonts/unicode/!
60 </iso2htf>
61
62 <iso5htf>
63 i%%~/tex4ht/ht-fonts/iso8859/5/!
64 i%%~/tex4ht/ht-fonts/ascii/!
65 i%%~/tex4ht/ht-fonts/alias/!
66 i%%~/tex4ht/ht-fonts/unicode/!
67 </iso5htf>
68
69 <iso7htf>
70 i%%~/tex4ht/ht-fonts/iso8859/7/!
71 i%%~/tex4ht/ht-fonts/ascii/!
72 i%%~/tex4ht/ht-fonts/alias/!
73 i%%~/tex4ht/ht-fonts/unicode/!
74 </iso7htf>
75
76 <iso8htf>
77 i%%~/tex4ht/ht-fonts/iso8859/8/!
78 i%%~/tex4ht/ht-fonts/ascii/!
79 i%%~/tex4ht/ht-fonts/alias/!
80 i%%~/tex4ht/ht-fonts/unicode/!
81 </iso8htf>
82
83 <iso15htf>
84 i%%~/tex4ht/ht-fonts/iso8859/15/!
85 i%%~/tex4ht/ht-fonts/ascii/!
86 i%%~/tex4ht/ht-fonts/alias/!
87 i%%~/tex4ht/ht-fonts/unicode/!
88 </iso15htf>
89
90 <koi8rhtf>
91 i%%~/tex4ht/ht-fonts/koi/8r/!
92 i%%~/tex4ht/ht-fonts/ascii/!
93 i%%~/tex4ht/ht-fonts/alias/!
94 i%%~/tex4ht/ht-fonts/unicode/!
95 </koi8rhtf>
96
97 <symhtf>
98 i%%~/tex4ht/ht-fonts/symbol/!
99 i%%~/tex4ht/ht-fonts/unicode/!
100 i%%~/tex4ht/ht-fonts/ascii/!
101 i%%~/tex4ht/ht-fonts/alias/!
102 </symhtf>
103
104 <win1251htf>
105 i%%~/tex4ht/ht-fonts/win/1251/!
106 i%%~/tex4ht/ht-fonts/unicode/!
107 i%%~/tex4ht/ht-fonts/ascii/!
108 i%%~/tex4ht/ht-fonts/alias/!
109 </win1251htf>
110
111 <unihtf>
112 i%%~/tex4ht/ht-fonts/unicode/!
113 i%%~/tex4ht/ht-fonts/ascii/!
114 i%%~/tex4ht/ht-fonts/alias/!
115 </unihtf>
116
117 <emspkhtf>
118 i%%~/tex4ht/ht-fonts/html-speech/!
119 i%%~/tex4ht/ht-fonts/unicode/!
120 i%%~/tex4ht/ht-fonts/ascii/!
121 i%%~/tex4ht/ht-fonts/alias/!
122 i%%~/tex4ht/ht-fonts/css/emacspeak/!
123 </emspkhtf>
124
125 <jsmlhtf>
126 i%%~/tex4ht/ht-fonts/jsml/!
127 i%%~/tex4ht/ht-fonts/unicode/!
128 i%%~/tex4ht/ht-fonts/ascii/!
129 i%%~/tex4ht/ht-fonts/alias/!
130 </jsmlhtf>
131
132 %
133 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
134 % dvi-to-xxx %
135 % choose one G-script %
136 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
137 % dvips options %
138 % magnification: -x mag (e.g., -x 1200) %
139 % page size: -T x,y (e.g., -T 14in,14in) %
140 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
141 %--------- alternative instructions for old versions of convert
142 % Gconvert -trim -density 110x110 -transparent "#FFFFFF" zz%%4.ps %%3
143 % Gconvert -crop 0x0 +repage -density 110x110 -transparent "#FFFFFF" zz%%4.ps %%3
144 % Gconvert -crop 0x0 +page -density 110x110 -transparent "#FFFFFF" zz%%4.ps %%3
145 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
146 <netpbm>
147 Gif exist zz%%4.ps DEL zz%%4.ps
148 Gif exist zz%%4.ppm DEL zz%%4.ppm
149 Gif exist temp.ppm DEL temp.ppm
150 Gdvips -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps
151 Ggswin32c -sDEVICE=ppm -r110 -sOutputFile=zz%%4.ppm -q -dbatch -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -dNOPAUSE zz%%4.ps -c quit
152 Gmove /y zz%%4.ppm temp.ppm
153 Gpnmcrop temp.ppm > zz%%4.ppm
154 Gif exist %%3 DEL %%3
155 Gppmtopng -interlace -transparent 1,1,1 zz%%4.ppm > %%3
156 Gif exist zz%%4.ps DEL zz%%4.ps
157 Gif exist zz%%4.ppm DEL zz%%4.ppm
158 Gif exist temp.ppm DEL temp.ppm
159 % Gppmtogif -interlace -transparent 1,1,1 zz%%4.ppm > %%3
160 </netpbm>
161 <gs>
162 Gif exist zz%%4.ps DEL zz%%4.ps >nul
163 Gif exist %%3 DEL %%3 >nul
164 Gdvips -E -q -Ppdf -D 110 -mode ibmvga -f %%1 -pp %%2 -o zz%%4.ps
165 Ggswin32c -dbatch -dNOPAUSE -sDEVICE=pngalpha -dEPSCrop ``-dBackgroundColor=16#ffffff'' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -r110x110 -sOutputFile=%%3 -q zz%%4.ps -c quit
166 Gif exist zz%%4.ps DEL zz%%4.ps >nul
167 </gs>
168
169 <convert>
170 G.png
171 Gif exist zz%%4.ps DEL zz%%4.ps >nul
172 Gif exist %%3 DEL %%3 >nul
173 Gdvips -E -q -Ppdf -f %%1 -pp %%2 > zz%%4.ps
174 Ggswin32c -sDEVICE=pngalpha -sOutputFile=%%3 -r110x110 -dEPSCrop -dBackgroundColor=16#ffffff -dTextAlphaBits=2 -dGraphicsAlphaBits=2 -q -dbatch -dNOPAUSE zz%%4.ps -c quit
175 Gif exist zz%%4.ps DEL zz%%4.ps >nul
176 G.svg
177 Gdvisvgm -n -p %%2 --exact -c 1.4,1.4 --embed-bitmaps -o %%3 %%1
178 G.
179 Gif exist zz%%4.ps DEL zz%%4.ps >nul
180 Gif exist %%3 DEL %%3 >nul
181 Gdvips -E -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps
182 Gconvert -trim +repage -density 110x110 -transparent "#FFFFFF" zz%%4.ps %%3
183 Gif exist zz%%4.ps DEL zz%%4.ps >nul
184 </convert>
185 <dvipng>
186 G.png
187 %echo "dbg: got to dvi to png via (dvipng)"
188 Gdvipng -T tight -D 144 -bg Transparent -pp %%2:%%2 %%1 -o %%3
189 G.gif
190 Gdvipng -T tight -D 144 -bg Transparent -gif -pp %%2:%%2 %%1 -o %%3
191 G.svg
192 Gdvisvgm -n -p %%2 --exact -c 1.4,1.4 --embed-bitmaps -o %%3 %%1
193 G.
194 Gdvipng -T tight -D 144 -bg Transparent -pp %%2:%%2 %%1 -o %%3
195 % avoiding convert for mactex.
196 % Gdvips -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps
197 % Gconvert -crop 0x0 -density 110x110 -transparent '#FFFFFF' zz%%4.ps %%3
198 %Grm zz%%4.ps
199 </dvipng>
200
201 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
202 % Default scripts, shifted rightward 1 pos
203 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
204 s--- needs --- %%1.idv[%%2] ==> %%3 ---
205 b--- characters ---
206 g.png
207 % empty bitmaps %
208 Ecopy empty.png %%1%%2
209 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
210 %
211 %
212 % t4ht -d%%2 %
213 Mmove %%1 %%2%%3
214 Ccopy %%1 %%2%%3
215 % removed protection %
216 S*
217 %
218 % * Address for an automatically created bookkeeping file %
219 % * Ignored under kpathsea %
220 % * The work directory is assumed for a default %
221 lc:\tex4ht\tex4ht.fls
222 %
223 <javahelp>
224 .html move %%1.html %%1.tmp
225 .html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s javahelp.4xt -o %%1.html %%1.tmp
226 .jhm java -jar c:\jh2.0\javahelp\bin\jhindexer.jar -db %%0-doc\%%1-jhs %%1*.html
227 </javahelp>
228 <javahelp1>
229 .jhm java -jar c:\jh1.1.3\javahelp\bin\jhindexer.jar -db %%0-doc\%%1-jhs %%1*.html
230 </javahelp1>
231
232 <emspk>
233 .html move %%1.html %%1.tmp
234 .html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%1.html %%1.tmp
235 </emspk>
236
237 <jsml>
238 .jsml move %%1.jsml %%1.tmp
239 .jsml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%1.jsml %%1.tmp
240 </jsml>
241
242 <docbk>
243 .xml copy %%1.xml %%1.tmp
244 .xml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%1.xml %%1.tmp
245 </docbk>
246
247 <xhtml>
248 .html move %%1.html %%1.tmp
249 .html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtml.4xt -o %%1.html %%1.tmp
250 .xht move %%1.xht %%1.tmp
251 .xht java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtml.4xt -o %%1.xht %%1.tmp
252 .xml move %%1.xml %%1.tmp
253 .xml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtml.4xt -o %%1.xml %%1.tmp
254 </xhtml>
255
256 <xhtmml>
257 .html move %%1.html %%1.tmp
258 .html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtmml.4xt -o %%1.html %%1.tmp
259 .xht move %%1.xht %%1.tmp
260 .xht java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtmml.4xt -o %%1.xht %%1.tmp
261 .xml move %%1.xml %%1.tmp
262 .xml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtmml.4xt -o %%1.xml %%1.tmp
263 </xhtmml>
264
265 <ooxtpipes>
266 .4oo move %%0.4oo %%0.tmp
267 .4oo java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%0.4oo %%0.tmp
268 .4om move %%1.4om %%1.tmp
269 .4om java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%1.4om %%1.tmp
270 </ooxtpipes>
271 %
272 <validatehtml>
273 </validatehtml>
274 <validate>
275 .xml xmllint --noout --valid %%1.xml
276 .html xmllint --noout --valid %%1.html
277 .css mycssparser %%1.css
278 </validate>
279 %
280 <oo>
281 %%% openoffice %
282 .4oo if exist sxw-%%0.dir rmdir /Q /S sxw-%%0.dir
283 .4oo mkdir sxw-%%0.dir
284 .4os mkdir sxw-%%0.dir\Pictures
285 .4os move %%1.4os sxw-%%0.dir\settings.xml
286 .4oo move %%0.4oo sxw-%%0.dir\content.xml
287 %
288 .4om mkdir sxw-%%0.dir\%%1
289 .4om move %%1.4om sxw-%%0.dir\%%1\content.xml
290 .4om copy sxw-%%0.dir\settings.xml sxw-%%0.dir\%%1\settings.xml
291 %
292 .4of mkdir sxw-%%0.dir\META-INF
293 .4of move %%1.4of sxw-%%0.dir\META-INF\manifest.xml
294 %
295 .4ot move %%1.4ot sxw-%%0.dir\meta.xml
296 .4oy move %%1.4oy sxw-%%0.dir\styles.xml
297 .4og copy %%1 sxw-%%0.dir\Pictures\
298 .4od cd sxw-%%0.dir & zip -r -m %%0.zip * & cd ..
299 % .4od cd sxw-%%0.dir & 7za a -y %%0.zip * & cd ..
300 .4od move sxw-%%0.dir\%%0.zip %%0.odt
301 %
302 .4od del %%1.4od
303 .4od if exist sxw-%%0.dir rmdir /Q /S sxw-%%0.dir
304 %%% end openoffice
305 </oo>
306 %
307 % Platforms (e.g., cygwin) with cp and mv utilities of
308 % http://www.mingw.org/msys.shtml may use the following script.
309 % It is capable of moving pictures from subdirectories required,
310 % for instance, by \includegraphics{bitmaps/test.eps}
311 %
312 <oo-msys>
313 %%% openoffice %
314 .4os mkdir Pictures
315 .4os mv %%1.4os settings.xml
316 .4oo mv %%0.4oo content.xml
317 %
318 .4om mkdir %%1
319 .4om mv %%1.4om %%1\content.xml
320 .4om cp settings.xml %%1\settings.xml
321 %
322 .4of mkdir META-INF
323 .4of mv %%1.4of META-INF\manifest.xml
324 %
325 .4ot mv %%1.4ot meta.xml
326 .4oy mv %%1.4oy styles.xml
327 .4og cp %%1 Pictures\
328 %-- sxw --
329 .4ox zip %%0.sxw Pictures
330 .4ox zip %%0.sxw settings.xml
331 .4ox zip %%0.sxw content.xml
332 .4ox zip -r %%0.sxw %%0-m*
333 .4ox zip -r %%0.sxw META-INF
334 .4ox zip %%0.sxw meta.xml
335 .4ox zip %%0.sxw styles.xml
336 .4ox zip -r %%0.sxw Pictures/*
337 %-- odt --
338 .4od zip %%0.odt Pictures
339 .4od zip %%0.odt settings.xml
340 .4od zip %%0.odt content.xml
341 .4od zip -r %%0.odt %%0-m*
342 .4od zip -r %%0.odt META-INF
343 .4od zip %%0.odt meta.xml
344 .4od zip %%0.odt styles.xml
345 .4od zip -r %%0.odt Pictures/*
346 %
347 %%% end openoffice %
348 </oo-msys>
349 %
350 % end of file
351