summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty19
1 files changed, 12 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
index c0cdadf2f27..18a85e36ce7 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
+++ b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
@@ -1,7 +1,7 @@
\ifnum\the\catcode`\%=14\else\expandafter\edef\csname
\string:RestoreCatcodes\endcsname{\catcode`\%\the
\catcode`\%}\catcode`\%14\fi
-% tex4ht.sty (2024-01-23-13:44), generated from tex4ht-sty.tex
+% tex4ht.sty (2024-05-06-13:36), generated from tex4ht-sty.tex
% Copyright 2009-2024 TeX Users Group
% Copyright 1996-2009 Eitan M. Gurari
%
@@ -20,7 +20,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2024-01-23-13:44}
+\immediate\write-1{version 2024-05-06-13:36}
\ifx \Preamble\UnDef \else
@@ -32,11 +32,16 @@
\let\AtBeginDocument\origatbegindocument
\fi
-% disable new LaTeX's tagging support,
-% but save the requested keys for possible latter processing
-\ifdefined\DocumentMetadata
- \def\DocumentMetadata#1{\def\:DocumentMetadata{#1}}
-\fi
+
+% we used to disable new LaTeX's tagging support,
+% because it clashed with TeX4ht and caused fatal errors
+% we fixed the fatal errors, so it should be possible to
+% fix other issues as well. The upside will be that we
+% should be able to coordinate the projects and reuse some code.
+% https://github.com/michal-h21/make4ht/issues/145
+% \ifdefined\DocumentMetadata
+% \def\DocumentMetadata#1{\def\:DocumentMetadata{#1}}
+% \fi
\def\writesixteen#1{\immediate\write99999{#1}}
\expandafter\edef\csname :RestoreCatcodes\endcsname{%