diff options
author | Karl Berry <karl@freefriends.org> | 2023-12-11 23:25:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-12-11 23:25:36 +0000 |
commit | faa8f0892749c067f045bc12679ace756c3bf843 (patch) | |
tree | 3f2ddd395d87eeb502aa1a07d5d08ee0104949e3 /Master/texmf-dist/tex4ht/base | |
parent | bee1c107f159561bf1b664cc0a36757be239f2d1 (diff) |
dvisvgm -o, tex4ht r1417
git-svn-id: svn://tug.org/texlive/trunk@69095 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex4ht/base')
-rw-r--r-- | Master/texmf-dist/tex4ht/base/unix/tex4ht.env | 48 | ||||
-rw-r--r-- | Master/texmf-dist/tex4ht/base/win32/tex4ht.env | 34 |
2 files changed, 36 insertions, 46 deletions
diff --git a/Master/texmf-dist/tex4ht/base/unix/tex4ht.env b/Master/texmf-dist/tex4ht/base/unix/tex4ht.env index 1cd5f7c2756..5cea6b85ea4 100644 --- a/Master/texmf-dist/tex4ht/base/unix/tex4ht.env +++ b/Master/texmf-dist/tex4ht/base/unix/tex4ht.env @@ -1,6 +1,6 @@ -% unix/tex4ht.env (2019-03-07), generated from tex4ht-env.tex, and -% modified by hand for TeX Live (unix). -% Copyright 2009-2019 TeX Users Group +% tex4ht.env-unix (2023-12-11-15:24), generated from tex4ht-env.tex +% (can be used as ~/.tex4ht) +% Copyright 2009-2023 TeX Users Group % Copyright 1997-2009 Eitan M. Gurari % % This work may be distributed and/or modified under the @@ -18,23 +18,26 @@ % % If you modify this program, changing the % version identification would be appreciated.% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% 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 % -% 4. Under kpathsea, the substring `%%~' may be employed in % -% commands to indirectly obtain the value of ${TEXMFDIST}. % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% 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 location of the file to tex4ht and t4ht with +% the -e switch. +% +% 4. Under kpathsea, the substring `%%~' may be employed in +% commands to obtain the value of ${TEXMFDIST}. +% % % * Replace `path', and possibly what follows, with appropriate % % content % @@ -172,7 +175,7 @@ Grm temp.ppm 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 -s %%1 > %%3 +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 @@ -191,7 +194,7 @@ 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 -s %%1 > %%3 +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. @@ -322,3 +325,4 @@ S* </oo> % % end of file + diff --git a/Master/texmf-dist/tex4ht/base/win32/tex4ht.env b/Master/texmf-dist/tex4ht/base/win32/tex4ht.env index f64b2949658..53358dd2cec 100644 --- a/Master/texmf-dist/tex4ht/base/win32/tex4ht.env +++ b/Master/texmf-dist/tex4ht/base/win32/tex4ht.env @@ -1,6 +1,5 @@ -% win32/tex4ht.env (2019-03-07), generated from tex4ht-env.tex, and -% modified by hand for TeX Live (unix). -% Copyright 2009-2019 TeX Users Group +% tex4ht.env-win32 (2023-12-11-15:24), generated from tex4ht-env.tex +% Copyright 2009-2023 TeX Users Group % Copyright 1997-2009 Eitan M. Gurari % % This work may be distributed and/or modified under the @@ -18,30 +17,16 @@ % % If you modify this program, changing the % version identification would be appreciated.% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% 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 % -% 4. Under kpathsea, the substring `%%~' may be employed in % -% commands to indirectly obtain the value of ${TEXMFDIST}. % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% 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. % -% * Fix the paths % +% * 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 % +% * A ! requests recursive search into subdirectories % % * Multiple t and i entries are allowed % % * When supported by kpathsea % % + t entries are ignored % @@ -189,7 +174,7 @@ Gif exist zz%%4.ps DEL zz%%4.ps >nul 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 -s %%1 > %%3 +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 @@ -204,7 +189,7 @@ 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 -s %%1 > %%3 +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. @@ -363,3 +348,4 @@ lc:\tex4ht\tex4ht.fls </oo-msys> % % end of file + |