summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-10-05 03:01:17 +0000
committerNorbert Preining <norbert@preining.info>2023-10-05 03:01:17 +0000
commitde10325d1f4ef1ac2c14d6e3711771caf4a4f3ae (patch)
treec9a1825181b0f5c50d4bdf428452aa64addd371b /support/TeX4ht/source
parentcd7d1e8ab4117911e28e76248fc92bebfbd9fb15 (diff)
CTAN sync 202310050301
Diffstat (limited to 'support/TeX4ht/source')
-rw-r--r--support/TeX4ht/source/ChangeLog7
-rw-r--r--support/TeX4ht/source/tex4ht-sty.tex8
2 files changed, 14 insertions, 1 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index a36afe6e7b..41ec5d2ce8 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/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/support/TeX4ht/source/tex4ht-sty.tex b/support/TeX4ht/source/tex4ht-sty.tex
index c9193ba940..f43c4d59a5 100644
--- a/support/TeX4ht/source/tex4ht-sty.tex
+++ b/support/TeX4ht/source/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|>