From 965ee888b459af7323124323b6df5820aa2c4e1d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 26 Nov 2021 21:54:22 +0000 Subject: adjustbox fixes, tex4ht r1017 git-svn-id: svn://tug.org/texlive/trunk@61160 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/adjustbox.4ht | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/generic/tex4ht/adjustbox.4ht') diff --git a/Master/texmf-dist/tex/generic/tex4ht/adjustbox.4ht b/Master/texmf-dist/tex/generic/tex4ht/adjustbox.4ht index 2c7d5deff98..6e737c73034 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/adjustbox.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/adjustbox.4ht @@ -1,5 +1,5 @@ -% adjustbox.4ht (2019-05-21-14:50), generated from tex4ht-4ht.tex -% Copyright 2019 TeX Users Group +% adjustbox.4ht (2021-11-26-13:53), generated from tex4ht-4ht.tex +% Copyright 2019-2021 TeX Users Group % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -16,7 +16,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2019-05-21-14:50} +\immediate\write-1{version 2021-11-26-13:53} \NewConfigure{AdjustboxValignTop}{1} \NewConfigure{AdjustboxValignMiddle}{1} @@ -42,10 +42,12 @@ % suppress trying to draw the frame \def\adjbox@boxframe#1#2#3{} -% we should redefine all adjustbox environments, they may produce unvanted artifacts, math mode, etc. +% patch macro that collects adjustbox contents and draw box. we disable this functionality, as all +% of this should be handled by CSS % keys are set, so it should be possible to extract colors or frame size in theory -% I just haven't found a working solution yet -\renewenvironment{adjustbox}[1]{\update:adjustbox:id\adjbox@setkeys{#1}\a:Adjustbox}{\b:Adjustbox} +\long\def\:temp#1#2{\update:adjustbox:id\adjbox@setkeys{#1}\a:Adjustbox #2\b:Adjustbox\endgroup} +\HLet\@adjustbox\:temp + % definitions for macros % we don't save any colors and just use one configuration for all box types. -- cgit v1.2.3