texlive[60699] Master/texmf-dist: \includegraphics alt key, tex4ht

commits+karl at tug.org commits+karl at tug.org
Mon Oct 4 23:27:56 CEST 2021


Revision: 60699
          http://tug.org/svn/texlive?view=revision&revision=60699
Author:   karl
Date:     2021-10-04 23:27:56 +0200 (Mon, 04 Oct 2021)
Log Message:
-----------
\includegraphics alt key, tex4ht r989

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=989

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/graphicx.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2021-10-04 20:29:29 UTC (rev 60698)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2021-10-04 21:27:56 UTC (rev 60699)
@@ -1,3 +1,9 @@
+2021-10-04  Michal Hoftich  <michal.h21 at 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 at gmail.com>
 
 	* tex4ht-html4.tex (html4.4ht): support for change of booktabs rule colors.

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2021-10-04 20:29:29 UTC (rev 60698)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2021-10-04 21:27:56 UTC (rev 60699)
@@ -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 @@
 
 \EndVerbatim
 
+
 Fix for XeTeX graphics - PDF inclusion doesn't work with the default driver, 
 dvips needs to be used instead
 
@@ -26077,6 +26078,12 @@
 
 >>>
 
+Support for the alt key of \Verb!\includegraphics! command.
+
+\<fix graphicx\><<<
+\define at 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 at ewidth' and
 \`'Gin at eheight' allow such values.  Hence, for such macros, we should

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/graphicx.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/graphicx.4ht	2021-10-04 20:29:29 UTC (rev 60698)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/graphicx.4ht	2021-10-04 21:27:56 UTC (rev 60699)
@@ -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 at esetsize
 \def\Gin at esetsize{%
@@ -40,6 +40,7 @@
 \pend:def\Grot at box{\a:rotatebox}
 \append:def\Grot at box{\b:rotatebox}
 
+\define at key{Gin}{alt}{\Configure{GraphicsAlt}{#1}}
 
 \Hinput{graphicx}
 \endinput



More information about the tex-live-commits mailing list.