summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog6
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex9
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/graphicx.4ht5
3 files changed, 17 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index fb6049c9597..b229ff27f80 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,9 @@
+2021-10-04 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (graphicx.4ht): added support for the \includegraphics alt
+ key.
+ https://github.com/latex3/latex2e/issues/651
+
2021-09-28 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-html4.tex (html4.4ht): support for change of booktabs rule colors.
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index 4df4f93e6cc..ae34076fa0d 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 987 2021-09-26 20:24:16Z michal_h21 $
+% $Id: tex4ht-4ht.tex 989 2021-10-04 09:35:17Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2021 TeX Users Group
@@ -26024,6 +26024,7 @@ For xml
\EndVerbatim
+
Fix for XeTeX graphics - PDF inclusion doesn't work with the default driver,
dvips needs to be used instead
@@ -26077,6 +26078,12 @@ dvips needs to be used instead
>>>
+Support for the alt key of \Verb!\includegraphics! command.
+
+\<fix graphicx\><<<
+\define@key{Gin}{alt}{\Configure{GraphicsAlt}{#1}}
+>>>
+
The calc package redefined \`'\setlength' to allow expressions of the
form `\Verb!width=.625\textwidth+5mm!'. The macros \`'Gin@ewidth' and
\`'Gin@eheight' allow such values. Hence, for such macros, we should
diff --git a/Master/texmf-dist/tex/generic/tex4ht/graphicx.4ht b/Master/texmf-dist/tex/generic/tex4ht/graphicx.4ht
index d481b92b265..1b283d4a2ac 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/graphicx.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/graphicx.4ht
@@ -1,4 +1,4 @@
-% graphicx.4ht (2021-08-12-13:49), generated from tex4ht-4ht.tex
+% graphicx.4ht (2021-10-04-13:48), generated from tex4ht-4ht.tex
% Copyright 2003-2009 Eitan M. Gurari
% Copyright 2009-2021 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2021-08-12-13:49}
+\immediate\write-1{version 2021-10-04-13:48}
\let\Gin:esetsize\Gin@esetsize
\def\Gin@esetsize{%
@@ -40,6 +40,7 @@
\pend:def\Grot@box{\a:rotatebox}
\append:def\Grot@box{\b:rotatebox}
+\define@key{Gin}{alt}{\Configure{GraphicsAlt}{#1}}
\Hinput{graphicx}
\endinput