summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-10-04 20:45:35 +0000
committerKarl Berry <karl@freefriends.org>2023-10-04 20:45:35 +0000
commit238c5ef86c71837d77b5e8bc2aad699463822d3b (patch)
tree3f80616c4e18855c9589a9615b0382167b10198d /Master/texmf-dist
parent1c0500231f4a1d492c48676b4239ba89191cc5ae (diff)
disable \DocumentMetadata, tex4ht r1376
git-svn-id: svn://tug.org/texlive/trunk@68451 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog7
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-sty.tex8
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty10
3 files changed, 22 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index a36afe6e7b7..41ec5d2ce8b 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,10 @@
+2023-10-04 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-sty.tex (tex4ht.sty): disable the \DocumentMetadata
+ command, in order to prevent invocation of the LaTeX tagging system,
+ which clashes with TeX4ht.
+ https://puszcza.gnu.org.ua/bugs/?477
+
2023-10-02 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-4ht.tex (latex.4ht): fixed support for \csname commands in
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-sty.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-sty.tex
index c9193ba9400..f43c4d59a5a 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-sty.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-sty.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-sty.tex 1194 2022-09-16 13:21:14Z michal_h21 $
+% $Id: tex4ht-sty.tex 1376 2023-10-04 12:24:05Z michal_h21 $
% tex tex4ht-sty or ht tex tex4ht-sty
%
% Copyright 2009-2022 TeX Users Group
@@ -175,6 +175,12 @@
\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
+
\def\writesixteen#1{\immediate\write99999{#1}}
|<save cat codes|>
|<ifs for TeX4ht|>
diff --git a/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
index acd3921589a..e9c13b63703 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 (2023-02-03-14:48), generated from tex4ht-sty.tex
+% tex4ht.sty (2023-10-04-13:17), generated from tex4ht-sty.tex
% Copyright 2009-2023 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 2023-02-03-14:48}
+\immediate\write-1{version 2023-10-04-13:17}
\ifx \Preamble\UnDef \else
@@ -32,6 +32,12 @@
\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
+
\def\writesixteen#1{\immediate\write99999{#1}}
\expandafter\edef\csname :RestoreCatcodes\endcsname{%
\expandafter\ifx \csname :RestoreCatcodes\endcsname\relax\else