From f906282b4d76e92712ff9e1c9b48120c4e625cb0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 4 Oct 2021 21:27:56 +0000 Subject: \includegraphics alt key, tex4ht r989 git-svn-id: svn://tug.org/texlive/trunk@60699 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 6 ++++++ Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 9 ++++++++- Master/texmf-dist/tex/generic/tex4ht/graphicx.4ht | 5 +++-- 3 files changed, 17 insertions(+), 3 deletions(-) (limited to 'Master') 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 + + * tex4ht-4ht.tex (graphicx.4ht): added support for the \includegraphics alt + key. + https://github.com/latex3/latex2e/issues/651 + 2021-09-28 Michal Hoftich * 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. + +\<<< +\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 -- cgit v1.2.3