diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-12 21:54:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-12 21:54:22 +0000 |
commit | 51c76bd00f0afd18d79753374d24aee52252ad62 (patch) | |
tree | 11a6aad691e85e42a8c6a5c718414a0a25ade90f /Master/texmf-dist | |
parent | 518f8d90ebff0c2828a0a7bedc75666822ce7327 (diff) |
declare GraphicsAlt, tex4ht r1055
git-svn-id: svn://tug.org/texlive/trunk@61590 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
4 files changed, 37 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index c622871995b..0507080b417 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,9 @@ +2022-01-12 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex (graphicx.4ht): declare GraphicsAlt configuration, + in order to support the \includegraphics's alt attribute in other + output formats than HTML. + 2022-01-11 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (usepackage.4ht, unicode-math-hooks.4ht): added diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index ece2d419ea7..0f0bcda1293 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 1054 2022-01-11 12:16:25Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1055 2022-01-12 21:28:48Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2022 TeX Users Group @@ -26356,6 +26356,7 @@ dvips needs to be used instead Support for the alt key of \Verb!\includegraphics! command. \<fix graphicx\><<< +\NewConfigure{GraphicsAlt}{1} \define@key{Gin}{alt}{\Configure{GraphicsAlt}{#1}} >>> diff --git a/Master/texmf-dist/tex/generic/tex4ht/graphicx.4ht b/Master/texmf-dist/tex/generic/tex4ht/graphicx.4ht index 1b283d4a2ac..02ace338a0a 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/graphicx.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/graphicx.4ht @@ -1,6 +1,6 @@ -% graphicx.4ht (2021-10-04-13:48), generated from tex4ht-4ht.tex +% graphicx.4ht (2022-01-12-13:53), generated from tex4ht-4ht.tex % Copyright 2003-2009 Eitan M. Gurari -% Copyright 2009-2021 TeX Users Group +% Copyright 2009-2022 TeX Users Group % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-10-04-13:48} +\immediate\write-1{version 2022-01-12-13:53} \let\Gin:esetsize\Gin@esetsize \def\Gin@esetsize{% @@ -40,6 +40,7 @@ \pend:def\Grot@box{\a:rotatebox} \append:def\Grot@box{\b:rotatebox} +\NewConfigure{GraphicsAlt}{1} \define@key{Gin}{alt}{\Configure{GraphicsAlt}{#1}} \Hinput{graphicx} diff --git a/Master/texmf-dist/tex/generic/tex4ht/unicode-math-hooks.4ht b/Master/texmf-dist/tex/generic/tex4ht/unicode-math-hooks.4ht new file mode 100644 index 00000000000..a0561b96eb0 --- /dev/null +++ b/Master/texmf-dist/tex/generic/tex4ht/unicode-math-hooks.4ht @@ -0,0 +1,25 @@ +% unicode-math-hooks.4ht (2022-01-11-14:12), generated from tex4ht-4ht.tex +% Copyright 2021 TeX Users Group +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any +% later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions +% of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status "maintained". +% +% The Current Maintainer of this work +% is the TeX4ht Project <http://tug.org/tex4ht>. +% +% If you modify this program, changing the +% version identification would be appreciated. +\immediate\write-1{version 2022-01-11-14:12} + +\:dontusepackage{unicode-math} +\RequirePackage{fontspec} % it is loaded by unicode-math +\NewDocumentCommand \setmathfont { O{} m O{} }{} +\endinput + |