summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-09-30 21:13:18 +0000
committerKarl Berry <karl@freefriends.org>2022-09-30 21:13:18 +0000
commit16f6347105009653104a54a52e9cb2bcfe1df34e (patch)
tree1d1f3a6c1e26ecb1430b61afac091b71d3e7654c /Master
parent9eb8c88f07e23806d1cccc1ec943849ffbcfc8e2 (diff)
tagpdf support, tex4ht r1204
git-svn-id: svn://tug.org/texlive/trunk@64562 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog5
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex21
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/tagpdf-hooks.4ht25
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht5
4 files changed, 53 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index a2e8a8a04c9..c5170d818e8 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,8 @@
+2022-09-30 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (usepackage.4ht, tagpdf-hooks.4ht): basic Tagpdf
+ package support.
+
2022-09-29 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-4ht.tex (beamer.4ht),
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index f43a7d957c9..7016290030f 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 1203 2022-09-29 13:51:29Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1204 2022-09-30 11:45:34Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -4912,6 +4912,25 @@ a fatal error.
\endinput
>>> \AddFile{9}{lua-widow-control-hooks}
+%%%%%%%%%%%%%%%%%%%%%
+\Section{tagpdf}
+%%%%%%%%%%%%%%%%%%%%%
+
+This package adds support for tagged PDF to LaTeX. We need to suppress it in TeX4ht,
+as it leads to a fatal error.
+\<add to usepackage\><<<
+\Configure{PackageHooks}{tagpdf.sty}{tagpdf-hooks.4ht}
+>>>
+
+\<tagpdf-hooks.4ht\><<<
+% tagpdf-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2022 TeX Users Group
+|<TeX4ht license text|>
+\:AtEndOfPackage{%
+ \RenewDocumentCommand \tagpdfsetup { m }{}
+}
+\endinput
+>>> \AddFile{9}{tagpdf-hooks}
%%%%%%%%%%%%%%%%%
\Section{animate.sty}
diff --git a/Master/texmf-dist/tex/generic/tex4ht/tagpdf-hooks.4ht b/Master/texmf-dist/tex/generic/tex4ht/tagpdf-hooks.4ht
new file mode 100644
index 00000000000..5f608b1b16f
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/tex4ht/tagpdf-hooks.4ht
@@ -0,0 +1,25 @@
+% tagpdf-hooks.4ht (2022-09-30-14:03), generated from tex4ht-4ht.tex
+% Copyright 2022 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 2022-09-30-14:03}
+
+\:AtEndOfPackage{%
+ \RenewDocumentCommand \tagpdfsetup { m }{}
+}
+\endinput
+
diff --git a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
index 6d4479e0d43..735e4a5fd16 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 (2022-09-29-14:23), generated from tex4ht-4ht.tex
+% usepackage.4ht (2022-09-30-14:03), generated from tex4ht-4ht.tex
% Copyright 2003-2009 Eitan M. Gurari
% Copyright 2009-2022 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-09-29-14:23}
+\immediate\write-1{version 2022-09-30-14:03}
\def\:temp{tex4ht}\ifx \:temp\@currname
\:warning{\string\usepackage{tex4ht} again?}
@@ -67,6 +67,7 @@
\Configure{PackageHooks}{pdfbase.sty}{pdfbase-hooks.4ht}
\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}{breakurl.sty}{breakurl-hooks.4ht}
\Configure{PackageHooks}{hyperref.sty}{hyperref-hooks.4ht}
\Configure{PackageHooks}{bookmark.sty}{bookmark-hooks.4ht}