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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Fri May 3 16:15:23 CEST 2024


Author: michal_h21
Date: 2024-05-03 14:15:23 +0000 (Fri, 03 May 2024)
New Revision: 1513

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
working on LaTeX Tagging support

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-04-24 22:10:14 UTC (rev 1512)
+++ trunk/lit/ChangeLog	2024-05-03 14:15:23 UTC (rev 1513)
@@ -1,3 +1,9 @@
+2024-05-03  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (usepackage.4ht, tagpdf-hooks.4ht,
+	tagpdf-base-hooks.4ht): declare \__tag_whatsits: {} command.
+	https://github.com/michal-h21/make4ht/issues/145
+
 2024-04-24  Karl Berry  <karl at freefriends.org>
 
 	* tex4ht-4ht.tex (microtype.4ht): use |<TeX4ht copywrite|>

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2024-04-24 22:10:14 UTC (rev 1512)
+++ trunk/lit/tex4ht-4ht.tex	2024-05-03 14:15:23 UTC (rev 1513)
@@ -5092,8 +5092,12 @@
 
 \<tagpdf-hooks.4ht\><<<
 % tagpdf-hooks.4ht (|version), generated from |jobname.tex
-% Copyright 2022 TeX Users Group
+% Copyright 2022-2024 TeX Users Group
 |<TeX4ht license text|>
+\ExplSyntaxOn
+% ignore tagpdf's specials
+\cs_set_protected:Npn \__tag_whatsits: {}
+\ExplSyntaxOff
 \:AtEndOfPackage{%
   \RenewDocumentCommand \tagpdfsetup { m }{}
 }
@@ -5100,6 +5104,24 @@
 \endinput
 >>> \AddFile{9}{tagpdf-hooks}
 
+\<add to usepackage\><<<
+\Configure{PackageHooks}{tagpdf-base.sty}{tagpdf-base-hooks.4ht}
+>>>
+
+This file can be used explicitly, we need to provide the whatsits command
+here as well.
+
+\<tagpdf-base-hooks.4ht\><<<
+% tagpd-base-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|>
+\ExplSyntaxOn
+% ignore tagpdf's specials
+\cs_set_protected:Npn \__tag_whatsits: {}
+\ExplSyntaxOff
+\endinput
+>>> \AddFile{9}{tagpdf-base-hooks}
+
 %%%%%%%%%%%%%%%%%%%%%
 \Section{accessibility}
 %%%%%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.