summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-12 22:30:35 +0000
committerKarl Berry <karl@freefriends.org>2022-01-12 22:30:35 +0000
commit7d89d54f89bf344350b6970f404917edac997453 (patch)
treeb160414d34866cfd7ad94a7d76c61a3991efc529 /Master/texmf-dist/tex/generic
parent51c76bd00f0afd18d79753374d24aee52252ad62 (diff)
alt text in odt output, tex4ht r1056
git-svn-id: svn://tug.org/texlive/trunk@61591 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht14
1 files changed, 11 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht b/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht
index 0a400c7949c..51dccea4f00 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht
@@ -1,4 +1,4 @@
-% ooffice.4ht (2022-01-09-07:36), generated from tex4ht-ooffice.tex
+% ooffice.4ht (2022-01-12-14:29), generated from tex4ht-ooffice.tex
% Copyright 2009-2022 TeX Users Group
% Copyright 2001-2009 Maarten Wisse, James Naughton, Eitan M. Gurari
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-01-09-07:36}
+\immediate\write-1{version 2022-01-12-14:29}
\exit:ifnot{Preamble,%
algorithmicx,%
@@ -500,6 +500,9 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew
\def:image:mime:type{.gif}{image/gif}
\def:image:mime:type{.svg}{image/svg+xml}
\def\svg:width{0.0pt}\def\svg:height{0.0pt}
+% this is defined in graphicx.4ht, but we should it define here too, for cases
+% when graphicx is not used
+\NewConfigure{GraphicsAlt}{1}
\Configure{IMG}
{% parse the image extension, will be used later
\expandafter\filename@parse\expandafter{\PictureFile}%
@@ -538,7 +541,12 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew
/><!--draw:name="}}
{" }
{\ht:special{t4ht=" }}
- {\ht:special{t4ht=--></draw:frame>}}
+ {%
+ \ifx\a:GraphicsAlt\relax%
+ \Configure{GraphicsAlt}{ALT}%
+ \fi%
+ \ht:special{t4ht=--><svg:title>\a:GraphicsAlt</svg:title></draw:frame>}%
+ }
\Configure{PictureAlt*+[]}
{\ht:special{t4ht>\jobname .tmp}}
{\ht:special{t4ht<\jobname .tmp}}