diff options
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index 4c5fe4127af..8296aec575f 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 1504 2024-04-19 15:48:03Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1507 2024-04-22 13:28:48Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2024 TeX Users Group @@ -28823,6 +28823,7 @@ We need to use dvips driver with XeLaTeX % use custom counter that increments for every \tcolorbox \newcounter{:tcbcolcount} +\ExplSyntaxOn \def\:tempa{% \stepcounter{:tcbcolcount}% % save text and background colors for use in CSS @@ -28838,8 +28839,9 @@ We need to use dvips driver with XeLaTeX % set label if it exists \ifdefined\tcolorbox:label:key% \let\@currentlabel\tcolorbox:currentlabel% at this moment, \@currentlabel has wrong value - \o:tcb@set@label:{\tcolorbox:label:key}% + %\o:tcb@set@label:{\tcolorbox:label:key}% \AnchorLabel% save cross-ref destination + \o:__tcobox_label:n:{\tcolorbox:label:key}% \global\let\tcolorbox:label:key\undefined% \fi% % open title @@ -28862,6 +28864,7 @@ We need to use dvips driver with XeLaTeX \fi% % We need to close box in \tcb@endboxanddraw } +\ExplSyntaxOff \HLet\tcb@drawcolorbox\:tempa % overwrite other versions of box drawing macros @@ -28907,7 +28910,13 @@ We need to use dvips driver with XeLaTeX \xdef\tcolorbox:label:key{#1}% \global\let\tcolorbox:currentlabel\@currentlabel% } -\HLet\tcb@set@label\:tempa + +\ExplSyntaxOn +%\HLet\tcb@set@label\:tempa +\HLet\__tcobox_label_label:n\:tempa +\HLet\__tcobox_label_zlabel:n\:tempa +\HLet\__tcobox_label:n\:tempa +\ExplSyntaxOff |<tcolorbox minipage|> |<tcolorbox nameref|> |