summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-ooffice.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-01-14 03:01:14 +0000
committerNorbert Preining <norbert@preining.info>2022-01-14 03:01:14 +0000
commit45623da68203ac8d7aa04b779a6ed65c92c3f866 (patch)
tree151ca3ede3ee826360d4b32c0029cfc106346ec9 /support/TeX4ht/source/tex4ht-ooffice.tex
parentee3f9ca89b21a2174f7e427d9d48247b1912e130 (diff)
CTAN sync 202201140301
Diffstat (limited to 'support/TeX4ht/source/tex4ht-ooffice.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-ooffice.tex12
1 files changed, 10 insertions, 2 deletions
diff --git a/support/TeX4ht/source/tex4ht-ooffice.tex b/support/TeX4ht/source/tex4ht-ooffice.tex
index 9b1fbf1ffc..663fdb4711 100644
--- a/support/TeX4ht/source/tex4ht-ooffice.tex
+++ b/support/TeX4ht/source/tex4ht-ooffice.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-ooffice.tex 1053 2022-01-09 15:36:40Z karl $
+% $Id: tex4ht-ooffice.tex 1056 2022-01-12 22:24:14Z michal_h21 $
% compile 3 times: latex tex4ht-ooffice
% htlatex tex4ht-ooffice "xhtml,4,sections+"
%
@@ -1171,6 +1171,9 @@ Enable supported image extensions out of the box.
\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}
{|<insert shadowing fig file|>%
\ht:special{t4ht=<draw:frame
@@ -1194,7 +1197,12 @@ Enable supported image extensions out of the box.
/><!--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 ooffice pst-jtree\><<<