summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-05-03 21:40:35 +0000
committerKarl Berry <karl@freefriends.org>2024-05-03 21:40:35 +0000
commit96babb51463b68e24fef93ad95844abe214a62ad (patch)
tree883f70d15e40f5102aa5a6c9b6ab4b2fde7a5046
parent32875a6b082ad969093a04c9427a7ae554d9b08e (diff)
working on tagging support, tex4ht r1513
git-svn-id: svn://tug.org/texlive/trunk@71165 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog6
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex26
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/tagpdf-base-hooks.4ht26
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/tagpdf-hooks.4ht10
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht5
5 files changed, 66 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 2429b5742c1..7bf38f7cc5f 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,9 @@
+2024-05-03 Michal Hoftich <michal.h21@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@freefriends.org>
* tex4ht-4ht.tex (microtype.4ht): use |<TeX4ht copywrite|>
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index 4af3079f8a6..1abdca77535 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1512 2024-04-24 22:10:14Z karl $
+% $Id: tex4ht-4ht.tex 1513 2024-05-03 14:15:23Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -5092,14 +5092,36 @@ as it leads to a fatal error.
\<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 }{}
}
\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}
%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/tex/generic/tex4ht/tagpdf-base-hooks.4ht b/Master/texmf-dist/tex/generic/tex4ht/tagpdf-base-hooks.4ht
new file mode 100644
index 00000000000..09d16cefdfd
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/tex4ht/tagpdf-base-hooks.4ht
@@ -0,0 +1,26 @@
+% tagpd-base-hooks.4ht (2024-05-03-14:34), generated from tex4ht-4ht.tex
+% Copyright 2024 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2024-05-03-14:34}
+
+\ExplSyntaxOn
+% ignore tagpdf's specials
+\cs_set_protected:Npn \__tag_whatsits: {}
+\ExplSyntaxOff
+\endinput
+
diff --git a/Master/texmf-dist/tex/generic/tex4ht/tagpdf-hooks.4ht b/Master/texmf-dist/tex/generic/tex4ht/tagpdf-hooks.4ht
index 5f608b1b16f..c012b7967b8 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/tagpdf-hooks.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/tagpdf-hooks.4ht
@@ -1,5 +1,5 @@
-% tagpdf-hooks.4ht (2022-09-30-14:03), generated from tex4ht-4ht.tex
-% Copyright 2022 TeX Users Group
+% tagpdf-hooks.4ht (2024-05-03-14:34), generated from tex4ht-4ht.tex
+% Copyright 2022-2024 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -16,8 +16,12 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-09-30-14:03}
+\immediate\write-1{version 2024-05-03-14:34}
+\ExplSyntaxOn
+% ignore tagpdf's specials
+\cs_set_protected:Npn \__tag_whatsits: {}
+\ExplSyntaxOff
\:AtEndOfPackage{%
\RenewDocumentCommand \tagpdfsetup { m }{}
}
diff --git a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
index fa01702929e..fef5bf8c851 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
@@ -1,4 +1,4 @@
-% usepackage.4ht (2024-04-18-14:01), generated from tex4ht-4ht.tex
+% usepackage.4ht (2024-05-03-14:34), generated from tex4ht-4ht.tex
% Copyright 2003-2009 Eitan M. Gurari
% Copyright 2009-2024 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2024-04-18-14:01}
+\immediate\write-1{version 2024-05-03-14:34}
\def\:temp{tex4ht}\ifx \:temp\@currname
\:warning{\string\usepackage{tex4ht} again?}
@@ -70,6 +70,7 @@
\Configure{PackageHooks}{pdfx.sty}{pdfx-hooks.4ht}
\Configure{PackageHooks}{lua-widow-control.sty}{lua-widow-control-hooks.4ht}
\Configure{PackageHooks}{tagpdf.sty}{tagpdf-hooks.4ht}
+\Configure{PackageHooks}{tagpdf-base.sty}{tagpdf-base-hooks.4ht}
\Configure{PackageHooks}{accessibility.sty}{accessibility-hooks.4ht}
\Configure{PackageHooks}{embedfile.sty}{embedfile-hooks.4ht}
\Configure{PackageHooks}{breakurl.sty}{breakurl-hooks.4ht}