summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-10-26 21:20:53 +0000
committerKarl Berry <karl@freefriends.org>2022-10-26 21:20:53 +0000
commit68f3c84435a5acb687802bfd1882dc8ac107854b (patch)
tree00936db54b7d9e6dac6f24ceb29c2cc20dda44e4 /Master/texmf-dist/tex/generic/tex4ht
parent6ce5e0b8e563465098a80a3beb9cbe343b67e979 (diff)
\subfile fixes, tex4ht r1224
git-svn-id: svn://tug.org/texlive/trunk@64828 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/subfiles.4ht31
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht4
2 files changed, 17 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/subfiles.4ht b/Master/texmf-dist/tex/generic/tex4ht/subfiles.4ht
index 9ec296607c0..f3ea1ff24cd 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/subfiles.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/subfiles.4ht
@@ -1,4 +1,4 @@
-% subfiles.4ht (2022-04-04-07:06), generated from tex4ht-4ht.tex
+% subfiles.4ht (2022-10-26-13:32), generated from tex4ht-4ht.tex
% Copyright 2022 TeX Users Group
%
% This work may be distributed and/or modified under the
@@ -16,28 +16,27 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-04-04-07:06}
+\immediate\write-1{version 2022-10-26-13:32}
+
+\def\subfiles:end{%
+ \def\:temp{document}
+ \ifx\@currenvir\:temp
+ \let\choose:begin\@secondoftwo%
+ \subfiles@restoreEndFrom\:gobble
+ \fi%
+}
\def\:tempa#1{%
\ifcsname subfiles@end\endcsname
- \else
- \subfiles@saveEndTo\subfiles@end
- \fi
- \let\choose:begin\@secondoftwo
- \expandafter\def\csname end \endcsname##1{%
- \romannumeral
- \subfiles@StrIfEqTF{##1}{document}{%
- \z@
- \subfiles@restoreEndFrom\subfiles@end
- #1%
- }{%
- \expandafter\expandafter\expandafter\z@\subfiles@end{##1}%
- }%
- }%
+\else
+ \subfiles@saveEndTo\subfiles@end
+\fi
+\pend:defI\end\subfiles:end
}
\HLet\subfiles@renewEndDocument\:tempa
+
\Hinput{subfiles}
\endinput
diff --git a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
index b576e894b49..f39875a881b 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
@@ -1,4 +1,4 @@
-% usepackage.4ht (2022-10-25-13:59), generated from tex4ht-4ht.tex
+% usepackage.4ht (2022-10-26-13:32), generated from tex4ht-4ht.tex
% Copyright 2003-2009 Eitan M. Gurari
% Copyright 2009-2022 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-10-25-13:59}
+\immediate\write-1{version 2022-10-26-13:32}
\def\:temp{tex4ht}\ifx \:temp\@currname
\:warning{\string\usepackage{tex4ht} again?}