[tex4ht-commits] [SCM] tex4ht updated: r1376 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Wed Oct 4 14:24:05 CEST 2023


Author: michal_h21
Date: 2023-10-04 12:24:05 +0000 (Wed, 04 Oct 2023)
New Revision: 1376

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-sty.tex
Log:
Disable the \DocumentMetadata command

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-10-02 10:40:17 UTC (rev 1375)
+++ trunk/lit/ChangeLog	2023-10-04 12:24:05 UTC (rev 1376)
@@ -1,3 +1,10 @@
+2023-10-04  Michal Hoftich  <michal.h21 at 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 at gmail.com>
 
 	* tex4ht-4ht.tex (latex.4ht): fixed support for \csname commands in

Modified: trunk/lit/tex4ht-sty.tex
===================================================================
--- trunk/lit/tex4ht-sty.tex	2023-10-02 10:40:17 UTC (rev 1375)
+++ trunk/lit/tex4ht-sty.tex	2023-10-04 12:24:05 UTC (rev 1376)
@@ -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|>



More information about the tex4ht-commits mailing list.