summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-05-05 23:55:16 +0000
committerKarl Berry <karl@freefriends.org>2007-05-05 23:55:16 +0000
commit407c1e392677d0ae70c6c7ac58ed814c4457743f (patch)
tree7bf3d2760f2ece75718b68fb82fb7f653ae824a6
parent09208005665f3c7239e84f9d4a65773a5695ebfb (diff)
find xtpipes relatively, from eitan
git-svn-id: svn://tug.org/texlive/trunk@4248 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/tex4ht/base/unix/tex4ht.env18
1 files changed, 11 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex4ht/base/unix/tex4ht.env b/Master/texmf-dist/tex4ht/base/unix/tex4ht.env
index fe57c9129b7..4da1d875f66 100644
--- a/Master/texmf-dist/tex4ht/base/unix/tex4ht.env
+++ b/Master/texmf-dist/tex4ht/base/unix/tex4ht.env
@@ -1,6 +1,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% tex4ht.env / .tex4ht (unix) 2006-12-15-17:47 %
-% Copyright (C) 1997--2006 Eitan M. Gurari %
+% tex4ht.env / .tex4ht (unix) 2007-05-05-00:26 %
+% Copyright (C) 1997--2007 Eitan M. Gurari %
% %
% This work may be distributed and/or modified under the %
% conditions of the LaTeX Project Public License, either %
@@ -34,6 +34,8 @@
% 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 ${SELFAUTOPARENT}. %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% * Replace `path', and possibly what follows, with appropriate %
@@ -41,6 +43,7 @@
% * A path may start with: %
% ~ for environment variable HOME %
% ~~ for environment variable TEX4HTTFM %
+% %%~ for ${SELFAUTOPARENT} of KPATHSEA %
% * A ! requests recursive search into subdirectories %
% * Multiple t and i entries are allowed %
% * When supported by kpathsea %
@@ -49,6 +52,7 @@
% represent real addresses %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
+%
tpath/tex/texmf/fonts/tfm/!
%
<default>
@@ -222,9 +226,9 @@ S*
%
<ooxtpipes>
.4oo mv %%0.4oo %%0.tmp
-.4oo java -classpath /usr/share/texmf/tex4ht/bin xtpipes -i /usr/share/texmf/tex4ht/xttl/ -o %%0.4oo %%0.tmp
+.4oo java -classpath %%~/texmf-dist/tex4ht/bin xtpipes -i %%~/texmf-dist/tex4ht/xttl/ -o %%0.4oo %%0.tmp
.4om mv %%1.4om %%1.tmp
-.4om java -classpath /usr/share/texmf/tex4ht/bin xtpipes -i /usr/share/texmf/tex4ht/xttl/ -o %%1.4om %%1.tmp
+.4om java -classpath %%~/texmf-dist/tex4ht/bin xtpipes -i %%~/texmf-dist/tex4ht/xttl/ -o %%1.4om %%1.tmp
</ooxtpipes>
%
<oo>
@@ -272,17 +276,17 @@ S*
<emspk>
.html mv %%1.html %%1.tmp
-.html java -classpath ~/tex4ht.dir/texmf/tex4ht/bin xtpipes -i ~/tex4ht.dir/texmf/tex4ht/xttl/ -o %%1.html %%1.tmp
+.html java -classpath %%~/texmf-dist/tex4ht/bin xtpipes -i %%~/texmf-dist/tex4ht/xttl/ -o %%1.html %%1.tmp
</emspk>
<jsml>
.jsml mv %%1.jsml %%1.tmp
-.jsml java -classpath ~/tex4ht.dir/texmf/tex4ht/bin xtpipes -i ~/tex4ht.dir/texmf/tex4ht/xttl/ -o %%1.jsml %%1.tmp
+.jsml java -classpath %%~/texmf-dist/tex4ht/bin xtpipes -i %%~/texmf-dist/tex4ht/xttl/ -o %%1.jsml %%1.tmp
</jsml>
<docbk>
.xml cp %%1.xml %%1.tmp
-.xml java -classpath ~/tex4ht.dir/texmf/tex4ht/bin xtpipes -i ~/tex4ht.dir/texmf/tex4ht/xttl/ -o %%1.xml %%1.tmp
+.xml java -classpath %%~/texmf-dist/tex4ht/bin xtpipes -i %%~/texmf-dist/tex4ht/xttl/ -o %%1.xml %%1.tmp
</docbk>
% end of file %