summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-4ht.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-11-12 03:02:06 +0000
committerNorbert Preining <norbert@preining.info>2023-11-12 03:02:06 +0000
commit5ee22d8ea7f225ba59142a53f0387a2bccc22dde (patch)
tree63ca211ff5ff12c7f756ac8a197726c314eb980b /support/TeX4ht/source/tex4ht-4ht.tex
parente4ccc7921b6518e670428990524161b3ddbfebd2 (diff)
CTAN sync 202311120302
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex51
1 files changed, 50 insertions, 1 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index beea54d732..dc39ccea90 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1406 2023-11-06 15:17:44Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1408 2023-11-10 14:51:19Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2023 TeX Users Group
@@ -5003,6 +5003,55 @@ as it leads to a fatal error.
\endinput
>>> \AddFile{9}{tagpdf-hooks}
+%%%%%%%%%%%%%%%%%%%%%
+\Section{accessibility}
+%%%%%%%%%%%%%%%%%%%%%
+
+The accessibility package is deprecated, but it leads to a fatal error
+when it is used. So we will block it from loading, and provide our own
+version of commands provided by the package.
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{accessibility.sty}{accessibility-hooks.4ht}
+>>>
+
+\<accessibility-hooks.4ht\><<<
+% accessibility-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2023 TeX Users Group
+|<TeX4ht license text|>
+% redefine commands that would cause fatal error when the package is being processed
+\let\:origpdfobj\pdfobj
+\let\:origpdfoutput\pdfoutput
+\let\pdfoutput\@undefined
+\def\pdfobj reserveobjnum{}
+\:AtEndOfPackage{
+ \let\pdfobj\:origpdfobj
+ \let\pdfoutput\:origpdfoutput
+ \def\PDFStructObj#1#2{}%
+}
+\endinput
+
+>>> \AddFile{9}{accessibility-hooks}
+
+\<accessibility.4ht\><<<
+% accessibility.4ht (|version), generated from |jobname.tex
+% Copyright 2023 TeX Users Group
+|<TeX4ht license text|>
+|<accessibility alt|>
+\Hinput{accessibility}
+\endinput
+>>>\AddFile{9}{accessibility}
+
+The alt command does nothing in the picture mode,
+but it outputs its argument in the normal output.
+
+\<accessibility alt\><<<
+\NewConfigure{accessibilityalt}{2}
+\def\:tempa#1{\a:accessibilityalt #1\b:accessibilityalt}
+\def\alt#1{}
+\HLet\alt\:tempa
+>>>
+
%%%%%%%%%%%%%%%%%
\Section{animate.sty}
%%%%%%%%%%%%%%%%%