% tex4ht.env-win32 (2024-07-07-08:55), generated from tex4ht-env.tex % Copyright 2009-2024 TeX Users Group % Copyright 1997-2009 Eitan M. Gurari % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either % version 1.3c of this license or (at your option) any % later version. The latest version of this license is in % https://www.latex-project.org/lppl.txt % and version 1.3c or later is part of all distributions % of LaTeX version 2005/12/01 or later. % % This work has the LPPL maintenance status "maintained". % % The Current Maintainer of this work % is the TeX4ht Project . % % If you modify this program, changing the % version identification would be appreciated.% % See comments in the Unix tex4ht.env for how this file gets found -- % except that on Windows, we also look in the directory of tex4ht.exe/t4ht.exe. % % * Replace `path', and possibly what follows, with appropriate % % content % % * A path may start with: % % ~ for environment variable HOME % % ~~ for environment variable TEX4HTTFM % % %%~ for ${TEXMFDIST} of KPATHSEA % % * A ! requests recursive search into subdirectories % % * Multiple t and i entries are allowed % % * When supported by kpathsea % % + t entries are ignored % % + the path before /ht-fonts/ is ignored in i records that don't % % represent real addresses % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % tc:\path\tfm! % i%%~/tex4ht/ht-fonts/iso8859/1/! i%%~/tex4ht/ht-fonts/ascii/! i%%~/tex4ht/ht-fonts/alias/! i%%~/tex4ht/ht-fonts/mozilla/! i%%~/tex4ht/ht-fonts/unicode/! i%%~/tex4ht/ht-fonts/mozilla/! i%%~/tex4ht/ht-fonts/unicode/! i%%~/tex4ht/ht-fonts/ascii/! i%%~/tex4ht/ht-fonts/alias/! i%%~/tex4ht/ht-fonts/iso8859/2/! i%%~/tex4ht/ht-fonts/ascii/! i%%~/tex4ht/ht-fonts/alias/! i%%~/tex4ht/ht-fonts/unicode/! i%%~/tex4ht/ht-fonts/iso8859/5/! i%%~/tex4ht/ht-fonts/ascii/! i%%~/tex4ht/ht-fonts/alias/! i%%~/tex4ht/ht-fonts/unicode/! i%%~/tex4ht/ht-fonts/iso8859/7/! i%%~/tex4ht/ht-fonts/ascii/! i%%~/tex4ht/ht-fonts/alias/! i%%~/tex4ht/ht-fonts/unicode/! i%%~/tex4ht/ht-fonts/iso8859/8/! i%%~/tex4ht/ht-fonts/ascii/! i%%~/tex4ht/ht-fonts/alias/! i%%~/tex4ht/ht-fonts/unicode/! i%%~/tex4ht/ht-fonts/iso8859/15/! i%%~/tex4ht/ht-fonts/ascii/! i%%~/tex4ht/ht-fonts/alias/! i%%~/tex4ht/ht-fonts/unicode/! i%%~/tex4ht/ht-fonts/koi/8r/! i%%~/tex4ht/ht-fonts/ascii/! i%%~/tex4ht/ht-fonts/alias/! i%%~/tex4ht/ht-fonts/unicode/! i%%~/tex4ht/ht-fonts/symbol/! i%%~/tex4ht/ht-fonts/unicode/! i%%~/tex4ht/ht-fonts/ascii/! i%%~/tex4ht/ht-fonts/alias/! i%%~/tex4ht/ht-fonts/win/1251/! i%%~/tex4ht/ht-fonts/unicode/! i%%~/tex4ht/ht-fonts/ascii/! i%%~/tex4ht/ht-fonts/alias/! i%%~/tex4ht/ht-fonts/unicode/! i%%~/tex4ht/ht-fonts/ascii/! i%%~/tex4ht/ht-fonts/alias/! i%%~/tex4ht/ht-fonts/html-speech/! i%%~/tex4ht/ht-fonts/unicode/! i%%~/tex4ht/ht-fonts/ascii/! i%%~/tex4ht/ht-fonts/alias/! i%%~/tex4ht/ht-fonts/css/emacspeak/! i%%~/tex4ht/ht-fonts/jsml/! i%%~/tex4ht/ht-fonts/unicode/! i%%~/tex4ht/ht-fonts/ascii/! i%%~/tex4ht/ht-fonts/alias/! % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % dvi-to-xxx % % choose one G-script % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % dvips options % % magnification: -x mag (e.g., -x 1200) % % page size: -T x,y (e.g., -T 14in,14in) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %--------- 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 % Gconvert -crop 0x0 +page -density 110x110 -transparent "#FFFFFF" zz%%4.ps %%3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Gif exist zz%%4.ps DEL zz%%4.ps Gif exist zz%%4.ppm DEL zz%%4.ppm Gif exist temp.ppm DEL temp.ppm Gdvips -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps Ggswin32c -sDEVICE=ppm -r110 -sOutputFile=zz%%4.ppm -q -dbatch -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -dNOPAUSE zz%%4.ps -c quit Gmove /y zz%%4.ppm temp.ppm Gpnmcrop temp.ppm > zz%%4.ppm Gif exist %%3 DEL %%3 Gppmtopng -interlace -transparent 1,1,1 zz%%4.ppm > %%3 Gif exist zz%%4.ps DEL zz%%4.ps Gif exist zz%%4.ppm DEL zz%%4.ppm Gif exist temp.ppm DEL temp.ppm % Gppmtogif -interlace -transparent 1,1,1 zz%%4.ppm > %%3 Gif exist zz%%4.ps DEL zz%%4.ps >nul Gif exist %%3 DEL %%3 >nul Gdvips -E -q -Ppdf -D 110 -mode ibmvga -f %%1 -pp %%2 -o zz%%4.ps Ggswin32c -dbatch -dNOPAUSE -sDEVICE=pngalpha -dEPSCrop ``-dBackgroundColor=16#ffffff'' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -r110x110 -sOutputFile=%%3 -q zz%%4.ps -c quit Gif exist zz%%4.ps DEL zz%%4.ps >nul G.png Gif exist zz%%4.ps DEL zz%%4.ps >nul Gif exist %%3 DEL %%3 >nul Gdvips -E -q -Ppdf -f %%1 -pp %%2 > zz%%4.ps Ggswin32c -sDEVICE=pngalpha -sOutputFile=%%3 -r110x110 -dEPSCrop -dBackgroundColor=16#ffffff -dTextAlphaBits=2 -dGraphicsAlphaBits=2 -q -dbatch -dNOPAUSE zz%%4.ps -c quit Gif exist zz%%4.ps DEL zz%%4.ps >nul G.svg Gdvisvgm -n -p %%2 --exact -c 1.4,1.4 -o %%3 %%1 G. Gif exist zz%%4.ps DEL zz%%4.ps >nul Gif exist %%3 DEL %%3 >nul 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 Gif exist zz%%4.ps DEL zz%%4.ps >nul G.png %echo "dbg: got to dvi to png via (dvipng)" Gdvipng -T tight -D 144 -bg Transparent -pp %%2:%%2 %%1 -o %%3 G.gif Gdvipng -T tight -D 144 -bg Transparent -gif -pp %%2:%%2 %%1 -o %%3 G.svg Gdvisvgm -n -p %%2 --exact -c 1.4,1.4 -o %%3 %%1 G. Gdvipng -T tight -D 144 -bg Transparent -pp %%2:%%2 %%1 -o %%3 % avoiding convert for mactex. % 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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Default scripts, shifted rightward 1 pos %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% s--- needs --- %%1.idv[%%2] ==> %%3 --- b--- characters --- g.png % empty bitmaps % Ecopy empty.png %%1%%2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % t4ht -d%%2 % Mmove %%1 %%2%%3 Ccopy %%1 %%2%%3 % removed protection % S* % % * Address for an automatically created bookkeeping file % % * Ignored under kpathsea % % * The work directory is assumed for a default % lc:\tex4ht\tex4ht.fls % .html move %%1.html %%1.tmp .html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s javahelp.4xt -o %%1.html %%1.tmp .jhm java -jar c:\jh2.0\javahelp\bin\jhindexer.jar -db %%0-doc\%%1-jhs %%1*.html .jhm java -jar c:\jh1.1.3\javahelp\bin\jhindexer.jar -db %%0-doc\%%1-jhs %%1*.html .html move %%1.html %%1.tmp .html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%1.html %%1.tmp .jsml move %%1.jsml %%1.tmp .jsml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%1.jsml %%1.tmp .xml copy %%1.xml %%1.tmp .xml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%1.xml %%1.tmp .html move %%1.html %%1.tmp .html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtml.4xt -o %%1.html %%1.tmp .xht move %%1.xht %%1.tmp .xht java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtml.4xt -o %%1.xht %%1.tmp .xml move %%1.xml %%1.tmp .xml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtml.4xt -o %%1.xml %%1.tmp .html move %%1.html %%1.tmp .html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtmml.4xt -o %%1.html %%1.tmp .xht move %%1.xht %%1.tmp .xht java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtmml.4xt -o %%1.xht %%1.tmp .xml move %%1.xml %%1.tmp .xml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtmml.4xt -o %%1.xml %%1.tmp .4oo move %%0.4oo %%0.tmp .4oo java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%0.4oo %%0.tmp .4om move %%1.4om %%1.tmp .4om java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%1.4om %%1.tmp % .xml xmllint --noout --valid %%1.xml .html xmllint --noout --valid %%1.html .css mycssparser %%1.css % %%% openoffice % .4oo if exist sxw-%%0.dir rmdir /Q /S sxw-%%0.dir .4oo mkdir sxw-%%0.dir .4os mkdir sxw-%%0.dir\Pictures .4os move %%1.4os sxw-%%0.dir\settings.xml .4oo move %%0.4oo sxw-%%0.dir\content.xml % .4om mkdir sxw-%%0.dir\%%1 .4om move %%1.4om sxw-%%0.dir\%%1\content.xml .4om copy sxw-%%0.dir\settings.xml sxw-%%0.dir\%%1\settings.xml % .4of mkdir sxw-%%0.dir\META-INF .4of move %%1.4of sxw-%%0.dir\META-INF\manifest.xml % .4ot move %%1.4ot sxw-%%0.dir\meta.xml .4oy move %%1.4oy sxw-%%0.dir\styles.xml .4og copy %%1 sxw-%%0.dir\Pictures\ .4od cd sxw-%%0.dir & zip -r -m %%0.zip * & cd .. % .4od cd sxw-%%0.dir & 7za a -y %%0.zip * & cd .. .4od move sxw-%%0.dir\%%0.zip %%0.odt % .4od del %%1.4od .4od if exist sxw-%%0.dir rmdir /Q /S sxw-%%0.dir %%% end openoffice % % Platforms (e.g., cygwin) with cp and mv utilities of % http://www.mingw.org/msys.shtml may use the following script. % It is capable of moving pictures from subdirectories required, % for instance, by \includegraphics{bitmaps/test.eps} % %%% openoffice % .4os mkdir Pictures .4os mv %%1.4os settings.xml .4oo mv %%0.4oo content.xml % .4om mkdir %%1 .4om mv %%1.4om %%1\content.xml .4om cp settings.xml %%1\settings.xml % .4of mkdir META-INF .4of mv %%1.4of META-INF\manifest.xml % .4ot mv %%1.4ot meta.xml .4oy mv %%1.4oy styles.xml .4og cp %%1 Pictures\ %-- sxw -- .4ox zip %%0.sxw Pictures .4ox zip %%0.sxw settings.xml .4ox zip %%0.sxw content.xml .4ox zip -r %%0.sxw %%0-m* .4ox zip -r %%0.sxw META-INF .4ox zip %%0.sxw meta.xml .4ox zip %%0.sxw styles.xml .4ox zip -r %%0.sxw Pictures/* %-- odt -- .4od zip %%0.odt Pictures .4od zip %%0.odt settings.xml .4od zip %%0.odt content.xml .4od zip -r %%0.odt %%0-m* .4od zip -r %%0.odt META-INF .4od zip %%0.odt meta.xml .4od zip %%0.odt styles.xml .4od zip -r %%0.odt Pictures/* % %%% end openoffice % % % end of file