diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:34:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:34:39 +0000 |
commit | c3c4065d8216e1b094381522b6c7992a382811f3 (patch) | |
tree | 62c771844936b3c6d0f4d825b195038220d99acc /Master/texmf-dist/tex4ht/base | |
parent | 8e2e8ef7a966b559ba2e61fa603a3de0f590daf3 (diff) |
trunk/Master/texmf-dist/tex4ht
git-svn-id: svn://tug.org/texlive/trunk@74 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex4ht/base')
-rw-r--r-- | Master/texmf-dist/tex4ht/base/unix/tex4ht.env | 249 | ||||
-rw-r--r-- | Master/texmf-dist/tex4ht/base/unix/xv4ht.cat | 15 | ||||
-rw-r--r-- | Master/texmf-dist/tex4ht/base/win32/tex4ht.env | 366 | ||||
-rw-r--r-- | Master/texmf-dist/tex4ht/base/win32/xv4ht.cat | 15 |
4 files changed, 645 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex4ht/base/unix/tex4ht.env b/Master/texmf-dist/tex4ht/base/unix/tex4ht.env new file mode 100644 index 00000000000..2c08837f97f --- /dev/null +++ b/Master/texmf-dist/tex4ht/base/unix/tex4ht.env @@ -0,0 +1,249 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% tex4ht.env / .tex4ht (unix) 2005-09-27-00:42 % +% Copyright (C) 1997--2005 Eitan M. Gurari % +% % +% This work may be distributed and/or modified under the % +% conditions of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any % +% later version. The latest version of this license is % +% in % +% http://www.latex-project.org/lppl.txt % +% and version 1.3 or later is part of all distributions % +% of LaTeX version 2003/12/01 or later. % +% % +% 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 % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Notes: % +% 1. Empty lines might be harmful % +% 2. Tagged script segments <tag>...</tag> are scanned only if % +% their names are specified within -ctag switches of tex4ht.c % +% and t4ht.c. When -c switches are not supplied, a -cdefault % +% is implicitly assumed. % +% The tags <tag> and </tag>, but not their bodies, are % +% ignored if they are not located at the start of their lines. % +% 3. 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 and t4ht.c with `#define ENVFILE xxx', or % +% provide the address of the file to tex4ht and t4ht throught % +% the -e switch % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% * Replace `path', and possibly what follows, with appropriate % +% content % +% * A path may start with: % +% ~ for environment variable HOME % +% ~~ for environment variable TEX4HTTFM % +% * 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 % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +tpath/tex/texmf/fonts/tfm/! +% +<default> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/1/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/mozilla/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +</default> + +<mozhtf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/mozilla/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</mozhtf> + +<iso2htf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/2/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</iso2htf> + +<iso5htf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/5/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</iso5htf> + +<iso7htf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/7/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</iso7htf> + + +<iso15htf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/15/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</iso15htf> + +<koi8rhtf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/koi/8r/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</koi8rhtf> + +<symhtf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/symbol/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</symhtf> + +<win1251htf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/win/1251/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</win1251htf> + +<unihtf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</unihtf> + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% 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) % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + <convert> + G.png + 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 +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 +%--------- 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 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + </convert> +<netpbm> +Gdvips -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps +Ggs -sDEVICE=ppm -r110 -sOutputFile=zz%%4.ppm -q -dbatch -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -dNOPAUSE zz%%4.ps -c quit +Gmv zz%%4.ppm temp.ppm +Gpnmcrop temp.ppm > zz%%4.ppm +Gppmtopng -interlace -transparent 1,1,1 zz%%4.ppm > %%3 +Grm zz%%4.ps +Grm zz%%4.ppm +Grm temp.ppm +% Gppmtogif -interlace -transparent 1,1,1 zz%%4.ppm > %%3 +</netpbm> +<dvipng> +G.png +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 -pp -gif %%2:%%2 %%1 -o %%3 +G. +Gdvips -Ppdf -mode ibmvga -D 110 -f > zz%%4.ps +Gconvert -crop 0x0 -density 110x110 -transparent '#FFFFFF' zz%%4.ps %%3 +Grm zz%%4.ps +</dvipng> + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Default scripts, shifted rightward 1 pos +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + s--- needs --- %%1.idv[%%2] ==> %%3 --- + b--- characters --- + g.png +% empty bitmaps % + Ecopy empty.png %%1%%2 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + % +% +% * Address for an automatically created bookkeeping file % +% * Ignored under kpathsea % +% * The work directory is assumed for a default % + l~/tex4ht.dir/tex4ht.fls +% +% t4ht -d%%2 % +Mmv %%1 %%2%%3 +Ccp %%1 %%2%%3 +% t4ht -d%%2 -m%%1 % +Achmod %%1 %%2%%3 +% removed protection % +S* +% +<validatehtml> + .html xmllint --noout --valid --html %%1.html +</validatehtml> +<validate> + .xml xmllint --noout --valid %%1.xml + .html xmllint --noout --valid %%1.html + .css mycssparser %%1.css +</validate> + % +<oo> +%%% openoffice % +.4os mkdir sxw-%%0.dir +.4os mkdir sxw-%%0.dir/Pictures +.4os mv %%1.4os sxw-%%0.dir/settings.xml +.4os mv %%0.xml sxw-%%0.dir/content.xml +% % +.4om mkdir sxw-%%0.dir/%%1 +.4om mv %%1.4om sxw-%%0.dir/%%1/content.xml +.4om cp sxw-%%0.dir/settings.xml sxw-%%0.dir/%%1/settings.xml +% % +.4of mkdir sxw-%%0.dir/META-INF +.4of mv %%1.4of sxw-%%0.dir/META-INF/manifest.xml +% % +.4ot mv %%1.4ot sxw-%%0.dir/meta.xml +.4oy mv %%1.4oy sxw-%%0.dir/styles.xml +.4og cp -r %%1 sxw-%%0.dir/Pictures/%%1 +%-- sxw -- % +.4ox cd sxw-%%0.dir; zip -r %%0.sxw * ; cd .. +% % +.4ox mv sxw-%%0.dir/%%0.sxw . +% % +.4ox rm %%1.4ox +.4ox rm -r -f sxw-%%0.dir +%-- odt -- % +.4od cd sxw-%%0.dir; zip -r %%0.odt * ; cd .. +% % +.4od mv sxw-%%0.dir/%%0.odt . +% % +.4od rm %%1.4od +.4od rm -r -f sxw-%%0.dir +%%% end openoffice % +</oo> +% +<javahelp> +.jhm java -jar ${HOME}/jh2.0/javahelp/bin/jhindexer.jar -db %%0-doc/%%1-jhs %%1*.html +</javahelp> +<javahelp1> +.jhm java -jar ${HOME}/jh1.1.3/javahelp/bin/jhindexer.jar -db %%0-doc/%%1-jhs %%1*.html +</javahelp1> + +% end of file % + diff --git a/Master/texmf-dist/tex4ht/base/unix/xv4ht.cat b/Master/texmf-dist/tex4ht/base/unix/xv4ht.cat new file mode 100644 index 00000000000..b0203e0ffe5 --- /dev/null +++ b/Master/texmf-dist/tex4ht/base/unix/xv4ht.cat @@ -0,0 +1,15 @@ +"-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" + "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd +"-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd +"-//W3C//DTD HTML 4.01 Frameset//EN" + "http://www.w3.org/TR/html4/frameset.dtd + + + + +"-//OASIS//DTD DocBook XML V4.2CR1//EN" + "http://www.oasis-open.org/docbook/xml/4.2CR1/docbookx.dtd + + + diff --git a/Master/texmf-dist/tex4ht/base/win32/tex4ht.env b/Master/texmf-dist/tex4ht/base/win32/tex4ht.env new file mode 100644 index 00000000000..d456b3eecc2 --- /dev/null +++ b/Master/texmf-dist/tex4ht/base/win32/tex4ht.env @@ -0,0 +1,366 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% tex4ht.env (ms win/web2c) 2005-10-29-01:25 % +% Copyright (C) 1997--2005 Eitan M. Gurari % +% % +% This work may be distributed and/or modified under the % +% conditions of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any % +% later version. The latest version of this license is % +% in % +% http://www.latex-project.org/lppl.txt % +% and version 1.3 or later is part of all distributions % +% of LaTeX version 2003/12/01 or later. % +% % +% 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 % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Notes: % +% 1. Empty lines might be harmful % +% 2. Tagged script segments <tag>...</tag> are scanned only if % +% their names are specified within -ctag switches of tex4ht.c % +% and t4ht.c. When -c switches are not supplied, a -cdefault % +% is implicitly assumed. % +% The tags <tag> and </tag>, but not their bodies, are % +% ignored if they are not located at the start of their lines. % +% 3. Place this file in your work directory and/or in the same % +% directory as tex4ht.exe and t4ht.exe and/or in directory % +% `xxx' of your choice. In the latest case, compile tex4ht.c % +% and t4ht.c with `#define ENVFILE xxx', or provide the address % +% of the file to tex4ht and t4ht throught the -e switch % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% * Fix the paths % +% * A path may start with: % +% ~ for environment variable HOME % +% ~~ for environment variable TEX4HTTFM % +% * 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 % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +tpath/tex/texmf/fonts/tfm/! +% +<default> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/1/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/mozilla/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +</default> + +<mozhtf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/mozilla/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</mozhtf> + +<iso2htf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/2/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</iso2htf> + +<iso5htf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/5/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</iso5htf> + +<iso7htf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/7/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</iso7htf> + + +<iso15htf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/15/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</iso15htf> + +<koi8rhtf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/koi/8r/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</koi8rhtf> + +<symhtf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/symbol/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</symhtf> + +<win1251htf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/win/1251/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</win1251htf> + +<unihtf> +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/ascii/! +i~/tex4ht.dir/texmf/tex4ht/ht-fonts/alias/! +</unihtf> + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% 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) % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + <convert> + 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 +Gif exist zz%%4.ps DEL zz%%4.ps >nul +Gif exist %%3 DEL %%3 >nul +Gdvips -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.eps +Gpstoedit -f svg zz%%4.eps %%3 +Gif exist zz%%4.ps DEL zz%%4.ps >nul +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 zz%%4.ps -trim +repage -density 110x110 -transparent "#FFFFFF" %%3 +Gif exist zz%%4.ps DEL zz%%4.ps >nul + </convert> +%--------- alternative instructions for old versions of convert +% Gconvert zz%%4.ps -trim -density 110x110 -transparent "#FFFFFF" %%3 +% Gconvert zz%%4.ps -crop 0x0 +repage -density 110x110 -transparent "#FFFFFF" %%3 +% Gconvert zz%%4.ps -crop 0x0 +page -density 110x110 -transparent "#FFFFFF" %%3 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +<netpbm> +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 +</netpbm> +<dvipng> +G.png +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 -pp -gif %%2:%%2 %%1 -o %%3 +G. +Gdvips -Ppdf -mode ibmvga -D 110 -f > zz%%4.ps +Gconvert -crop 0x0 -density 110x110 -transparent '#FFFFFF' zz%%4.ps %%3 +Grm zz%%4.ps +</dvipng> + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% 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* +% +<validatehtml> +</validatehtml> +<validate> + .xml java -cp texmf/tex4ht/bin/xv4ht.jar xv4ht %%1.xml texmf/tex4ht/base/win32/xv4ht.cat + .html java -cp texmf/tex4ht/bin/xv4ht.jar xv4ht %%1.html texmf/tex4ht/base/win32/xv4ht.cat + .css mycssparser %%1.css +</validate> + % +% * Address for an automatically created bookkeeping file % +% * Ignored under kpathsea % +% * The work directory is assumed for a default % +lc:\tex4ht\tex4ht.fls +% +<oo> +%%% openoffice % +.4os mkdir sxw-%%0.dir +.4os mkdir sxw-%%0.dir\Pictures +.4os move %%1.4os sxw-%%0.dir\settings.xml +.4os move %%0.xml 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\%%1 +%-- sxw -- +.4ox cd sxw-%%0.dir\ +.4ox cd sxw-%%0.dir\META-INF +.4ox zip sxw-%%0.dir\%%0.sxw sxw-%%0.dir\META-INF\*.* +.4ox cd .. +.4ox cd sxw-%%0.dir\Pictures +.4ox zip sxw-%%0.dir\%%0.sxw sxw-%%0.dir\Pictures +.4ox cd .. +.4ox zip -j sxw-%%0.dir\%%0.sxw sxw-%%0.dir\* +.4ox cd .. +% +.4ox move sxw-%%0.dir\%%0.sxw . +% +.4ox del %%1.4ox +.4ox echo y | del sxw-%%0.dir\Pictures\*.* +.4ox rd sxw-%%0.dir\Pictures +.4ox echo y | del sxw-%%0.dir\META-INF\*.* +.4ox rd sxw-%%0.dir\META-INF +.4ox echo y | del sxw-%%0.dir\*.* +.4ox rd sxw-%%0.dir +%-- odt -- +.4od cd sxw-%%0.dir\ +.4od cd sxw-%%0.dir\META-INF +.4od zip sxw-%%0.dir\%%0.odt sxw-%%0.dir\META-INF\*.* +.4od cd .. +.4od cd sxw-%%0.dir\Pictures +.4od zip sxw-%%0.dir\%%0.odt sxw-%%0.dir\Pictures +.4od cd .. +.4od zip -j sxw-%%0.dir\%%0.odt sxw-%%0.dir\* +.4od cd .. +% +.4od move sxw-%%0.dir\%%0.odt . +% +.4od del %%1.4od +.4od echo y | del sxw-%%0.dir\Pictures\*.* +.4od rd sxw-%%0.dir\Pictures +.4od echo y | del sxw-%%0.dir\META-INF\*.* +.4od rd sxw-%%0.dir\META-INF +.4od echo y | del sxw-%%0.dir\*.* +.4od rd sxw-%%0.dir +%%% end openoffice % +</oo> +% +% Activate the following non-concurent sub script, if the previous +% one does not work. That is, interchange <oo> with <oo-alt> +% and </oo> with </oo-alt>. +% +<oo-alt> +%%% openoffice % +.4os mkdir Pictures +.4os move %%1.4os settings.xml +.4os move %%0.xml content.xml +% +.4om mkdir %%1 +.4om move %%1.4om %%1\content.xml +.4om copy settings.xml %%1\settings.xml +% +.4of mkdir META-INF +.4of move %%1.4of META-INF\manifest.xml +% +.4ot move %%1.4ot meta.xml +.4oy move %%1.4oy styles.xml +.4og copy %%1 Pictures\%%1 +%-- sxw --- +.4ox zip -m %%0.sxw Pictures +.4ox zip -m %%0.sxw settings.xml +.4ox zip -m %%0.sxw content.xml +.4ox zip -m -r %%0.sxw %%0-m* +.4ox zip -m -r %%0.sxw META-INF +.4ox zip -m %%0.sxw meta.xml +.4ox zip -m %%0.sxw styles.xml +.4ox zip -m -r %%0.sxw Pictures/* +%-- odt --- +.4od zip -m %%0.odt Pictures +.4od zip -m %%0.odt settings.xml +.4od zip -m %%0.odt content.xml +.4od zip -m -r %%0.odt %%0-m* +.4od zip -m -r %%0.odt META-INF +.4od zip -m %%0.odt meta.xml +.4od zip -m %%0.odt styles.xml +.4od zip -m -r %%0.odt Pictures/* +%%% end openoffice % +</oo-alt> +% +% Platforms 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} +% +<oo-msys> +%%% openoffice % +.4os mkdir Pictures +.4os mv %%1.4os settings.xml +.4os mv %%0.xml 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 --parents %%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 % +</oo-msys> +% +<javahelp> +.jhm java -jar c:\jh2.0\javahelp\bin\jhindexer.jar -db %%0-doc\%%1-jhs %%1*.html +</javahelp> +<javahelp1> +.jhm java -jar c:\jh1.1.3\javahelp\bin\jhindexer.jar -db %%0-doc\%%1-jhs %%1*.html +</javahelp1> + +% end of file % + diff --git a/Master/texmf-dist/tex4ht/base/win32/xv4ht.cat b/Master/texmf-dist/tex4ht/base/win32/xv4ht.cat new file mode 100644 index 00000000000..b0203e0ffe5 --- /dev/null +++ b/Master/texmf-dist/tex4ht/base/win32/xv4ht.cat @@ -0,0 +1,15 @@ +"-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" + "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd +"-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd +"-//W3C//DTD HTML 4.01 Frameset//EN" + "http://www.w3.org/TR/html4/frameset.dtd + + + + +"-//OASIS//DTD DocBook XML V4.2CR1//EN" + "http://www.oasis-open.org/docbook/xml/4.2CR1/docbookx.dtd + + + |