summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/subfiles.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-04-04 14:45:45 +0000
committerKarl Berry <karl@freefriends.org>2022-04-04 14:45:45 +0000
commit2ce6cae309475dafb8b34c940e8b28115946a20f (patch)
tree20d7355430fbc4510c465c6bd7db72620cd10105 /Master/texmf-dist/tex/generic/tex4ht/subfiles.4ht
parentf404266c0f5f8c80182d9c7c14c1b19c5128b307 (diff)
tex4ht updates, texhr r1096-1106
git-svn-id: svn://tug.org/texlive/trunk@62897 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/subfiles.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/subfiles.4ht43
1 files changed, 43 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/subfiles.4ht b/Master/texmf-dist/tex/generic/tex4ht/subfiles.4ht
new file mode 100644
index 00000000000..9ec296607c0
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/tex4ht/subfiles.4ht
@@ -0,0 +1,43 @@
+% subfiles.4ht (2022-04-04-07:06), generated from tex4ht-4ht.tex
+% Copyright 2022 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2022-04-04-07:06}
+
+\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}%
+ }%
+ }%
+}
+
+\HLet\subfiles@renewEndDocument\:tempa
+
+\Hinput{subfiles}
+\endinput
+