diff options
-rw-r--r-- | Master/texmf-dist/tex4ht/base/unix/tex4ht.env | 138 | ||||
-rw-r--r-- | Master/texmf-dist/tex4ht/base/win32/tex4ht.env | 4 |
2 files changed, 47 insertions, 95 deletions
diff --git a/Master/texmf-dist/tex4ht/base/unix/tex4ht.env b/Master/texmf-dist/tex4ht/base/unix/tex4ht.env index fe925e59e05..8d8de14d2e9 100644 --- a/Master/texmf-dist/tex4ht/base/unix/tex4ht.env +++ b/Master/texmf-dist/tex4ht/base/unix/tex4ht.env @@ -1,6 +1,5 @@ -% tex4ht.env (private) (2024-06-23-13:56), generated from tex4ht-env.tex -% (can be used as ~/.tex4ht) -% Copyright 2009-2023 TeX Users Group +% tex4ht.env-unix (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 @@ -54,9 +53,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % -t/usr/local/teTeX/share/texmf/fonts/tfm/! -t/var/tmp/texfonts/tfm/! - t/usr/local/teTeX/texmf/fonts/vf/! +tpath/tex/texmf/fonts/tfm/! % <default> i%%~/tex4ht/ht-fonts/iso8859/1/! @@ -152,27 +149,12 @@ i%%~/tex4ht/ht-fonts/alias/! % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Select one of the G scripts % +% 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) % -% gs fonts: -Pfont (e.g., -Pcmz -Pamz) % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -<convert-old> - 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 -Gdvisvgm -n -p %%2 --exact -c 1.4,1.4 -o %%3 %%1 -G. -Gdvips -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps -Ggs -sDEVICE=ppm -sOutputFile=zz%%4.ppm -r110x110 -dTextAlphaBits=2 -dGraphicsAlphaBits=2 -q -dbatch -dNOPAUSE zz%%4.ps -c quit -Gconvert zz%%4.ppm -crop 0x0 +page -density 110x110 -transparent '#FFFFFF' %%3 -Grm zz%%4.ps -Grm zz%%4.ppm -</convert-old> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% <netpbm> Gdvips -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps @@ -186,6 +168,24 @@ Grm zz%%4.ppm Grm temp.ppm % Gppmtogif -interlace -transparent 1,1,1 zz%%4.ppm > %%3 </netpbm> +<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 +Gdvisvgm -n -p %%2 --exact -c 1.4,1.4 -o %%3 %%1 +G. +%echo "dbg: got to dvips to png via gs (unix dvips convert)" +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 +%--------- 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> <dvipng> G.png %echo "dbg: got to dvi to png via (dvipng)" @@ -202,11 +202,6 @@ Gdvipng -T tight -D 144 -bg Transparent -pp %%2:%%2 %%1 -o %%3 %Grm zz%%4.ps </dvipng> - <convert> -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 - </convert> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Default scripts, shifted rightward 1 pos %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -218,121 +213,78 @@ Grm zz%%4.ps %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % +% * 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 -e%%1 -d%%2 % -Ecp empty.png %%1%%2 % t4ht -d%%2 -m%%1 % Achmod %%1 %%2%%3 % removed protection % S* % -% * Address for an automatically created bookkeeping file % -% * The work directory is assumed for a default % -l~/tex4ht.dir/tex4ht.fls -% <javahelp> .html mv %%1.html %%1.tmp -.html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s javahelp.4xt -o %%1.html %%1.tmp -.jhm echo "java -jar ${HOME}/javahelp.dir/jh2.0/javahelp/bin/jhindexer.jar -db %%0-doc/%%1-jhs %%1*.html" -.jhm echo "--- Warning --- Beware of leftover %%1*.html files from other compilations" -.jhm java -jar ${HOME}/javahelp.dir/jh2.0/javahelp/bin/jhindexer.jar -db %%0-doc/%%1-jhs %%1*.html +.html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s javahelp.4xt -o %%1.html %%1.tmp +.jhm echo "java -jar ${HOME}/jh2.0/javahelp/bin/jhindexer.jar -db %%0-doc/%%1-jhs %%1*.html" +.jhm echo "--- Warning --- Beware of leftover %%1*.html files from other compilations" +.jhm java -jar ${HOME}/jh2.0/javahelp/bin/jhindexer.jar -db %%0-doc/%%1-jhs %%1*.html </javahelp> -<javahelp-prog> -.java rm -r -f %%0-java.dir -.java mkdir %%0-java.dir -.java cp *.java %%0-java.dir/. -.java javac -classpath ${HOME}/javahelp.dir/jh2.0/javahelp/lib/jh.jar %%0-java.dir/%%1.java -.java chdir %%0-java.dir; jar -cf %%1.jar *.class ; chdir .. -.java mv %%0-java.dir/%%1.jar . -.java rm -r -f %%0-java.dir -.java zip -r %%1 %%0-doc %%1.jar -</javahelp-prog> <javahelp1> -.jhm java -jar ${HOME}/javahelp.dir/jh1.1.3/javahelp/bin/jhindexer.jar -db %%0-doc/%%1-jhs %%1*.html +.jhm java -jar ${HOME}/jh1.1.3/javahelp/bin/jhindexer.jar -db %%0-doc/%%1-jhs %%1*.html </javahelp1> -<javahelp1-prog> -.java rm -r -f %%0-java.dir -.java mkdir %%0-java.dir -.java cp *.java %%0-java.dir/. -.java javac -classpath ${HOME}/javahelp.dir/jh1.1.3/javahelp/lib/jh.jar %%0-java.dir/%%1.java -.java chdir %%0-java.dir; jar -cf %%1.jar *.class ; chdir .. -.java mv %%0-java.dir/%%1.jar . -.java rm -r -f %%0-java.dir -.java zip -r %%1 %%0-doc %%1.jar -</javahelp1-prog> <emspk> .html mv %%1.html %%1.tmp -.html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%1.html %%1.tmp -.html xmllint --noout %%1.html +.html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%1.html %%1.tmp </emspk> <jsml> .jsml mv %%1.jsml %%1.tmp .jsml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%1.jsml %%1.tmp -.jsml xmllint --noout %%1.jsml </jsml> <docbk> .xml cp %%1.xml %%1.tmp .xml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%1.xml %%1.tmp -.xml xmllint --relaxng /home/4/gurari/dtd.dir/docbook.dir/docbook-5.0/rng/docbook.rng -noout -dropdtd -nonet %%0.xml </docbk> <xhtml> .html mv %%1.html %%1.tmp -.html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtml.4xt -o %%1.html %%1.tmp -.html xmllint --noout %%1.html +.html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtml.4xt -o %%1.html %%1.tmp .xht mv %%1.xht %%1.tmp -.xht java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtml.4xt -o %%1.xht %%1.tmp -.xht xmllint --noout %%1.xht +.xht java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtml.4xt -o %%1.xht %%1.tmp .xml mv %%1.xml %%1.tmp -.xml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtml.4xt -o %%1.xml %%1.tmp -.xml xmllint --noout %%1.xml +.xml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtml.4xt -o %%1.xml %%1.tmp </xhtml> <xhtmml> .html mv %%1.html %%1.tmp -.html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtmml.4xt -o %%1.html %%1.tmp -.html xmllint --noout %%1.html +.html java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtmml.4xt -o %%1.html %%1.tmp .xht mv %%1.xht %%1.tmp -.xht java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtmml.4xt -o %%1.xht %%1.tmp -.xht xmllint --noout %%1.xht +.xht java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtmml.4xt -o %%1.xht %%1.tmp .xml mv %%1.xml %%1.tmp -.xml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtmml.4xt -o %%1.xml %%1.tmp -.xml xmllint --noout %%1.xml +.xml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -s xhtmml.4xt -o %%1.xml %%1.tmp </xhtmml> - + <ooxtpipes> .4oo mv %%0.4oo %%0.tmp .4oo java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%0.4oo %%0.tmp .4om mv %%1.4om %%1.tmp .4om java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i %%~/tex4ht/xtpipes/ -o %%1.4om %%1.tmp </ooxtpipes> - +% <validatehtml> -.html xmllint --noout --valid --html %%1.html -.xml xmllint --noout --valid %%1.xml - .hs java -cp ./tex4ht.dir/texmf/tex4ht/bin/xv4ht.jar xv4ht %%1.hs ./tex4ht.dir/texmf/tex4ht/base/solaris/xv4ht.cat - .jhm java -cp ./tex4ht.dir/texmf/tex4ht/bin/xv4ht.jar xv4ht %%1.jhm ./tex4ht.dir/texmf/tex4ht/base/solaris/xv4ht.cat -.css vcss %%1.css + .html xmllint --noout --valid --html %%1.html </validatehtml> <validate> -.xml xmllint --noout --valid %%1.xml -.html xmllint --noout --valid %%1.html -.css vcss %%1.css - .4om echo "rxp -V -s -e %%1.4om" - .4om rxp -V -s -e %%1.4om - .4oo xmllint --relaxng ~/dtd.dir/openoffice/relaxng.dir/OpenDocument-schema-v1.0-os.rng -noout %%0.4oo -.4oo xmllint --relaxng ~/dtd.dir/openoffice/relaxng.dir/OpenDocument-schema-v1.1.rng -noout %%0.4oo - .4oy xmllint --relaxng ~/dtd.dir/openoffice/relaxng.dir/OpenDocument-schema-v1.0-os.rng -noout %%0-styles.4oy -.4oy xmllint --relaxng ~/dtd.dir/openoffice/relaxng.dir/OpenDocument-schema-v1.1.rng -noout %%0-styles.4oy -.4om perl -pe 's/math://g' %%1.4om | perl -pe 's/xmlns:[^=]*="[^"]*"//g' | perl -pe 's/xlink:[^=]*="[^"]*"//g' > tmp.tmp ; xmllint --valid --noout --catalogs tmp.tmp + .xml xmllint --noout --valid %%1.xml + .html xmllint --noout --valid %%1.html + .css mycssparser %%1.css </validate> - Xmake -f \HOME texmf/base/NSGMLS name=%%1 ext=%%2 %%3 % <oo> %%% openoffice % diff --git a/Master/texmf-dist/tex4ht/base/win32/tex4ht.env b/Master/texmf-dist/tex4ht/base/win32/tex4ht.env index 2d3f42c3245..64ab2a452f7 100644 --- a/Master/texmf-dist/tex4ht/base/win32/tex4ht.env +++ b/Master/texmf-dist/tex4ht/base/win32/tex4ht.env @@ -1,5 +1,5 @@ -% tex4ht.env-win32 (2024-06-23-13:56), generated from tex4ht-env.tex -% Copyright 2009-2023 TeX Users Group +% 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 |