summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/xr-hooks.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-04-26 22:00:14 +0000
committerKarl Berry <karl@freefriends.org>2022-04-26 22:00:14 +0000
commit008d30cf1d5af7a4a3e35458a39ad79bd19eec55 (patch)
tree338565ad2f6e27c85faec7142f0fcc4d4638677e /Master/texmf-dist/tex/generic/tex4ht/xr-hooks.4ht
parent39c08dab84a8de6742f3432f0cc2cdf8aecbc223 (diff)
xr subdirs r1118; tex4ht ulem fixes, tex4ht r1119
git-svn-id: svn://tug.org/texlive/trunk@63150 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/xr-hooks.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/xr-hooks.4ht10
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/xr-hooks.4ht b/Master/texmf-dist/tex/generic/tex4ht/xr-hooks.4ht
index 4365525869c..9db247c22ee 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/xr-hooks.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/xr-hooks.4ht
@@ -1,6 +1,6 @@
-% xr-hooks.4ht (2020-10-17-13:53), generated from tex4ht-4ht.tex
+% xr-hooks.4ht (2022-04-26-14:00), generated from tex4ht-4ht.tex
% Copyright 2020 TeX Users Group
-% Copyright 2009-2020 TeX Users Group
+% Copyright 2009-2022 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -17,10 +17,14 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2020-10-17-13:53}
+\immediate\write-1{version 2022-04-26-14:00}
\:AtEndOfPackage{\let\XR:\XR@
\def\XR@[#1]#2{%
+ % save directory for the linked file
+ \filename@parse{#2}%
+ % \filename@base is filename, \filename@area directory
+ \expandafter\xdef\csname xr:dir:\filename@base\endcsname{\filename@area}%
\Configure{AtBeginDocument}{\XR:[#1]{#2}}{}}%
}