summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht13
1 files changed, 11 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht b/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht
index e3e8bb66275..148c4305cdd 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht
@@ -1,4 +1,4 @@
-% tcolorbox.4ht (2022-05-04-14:00), generated from tex4ht-4ht.tex
+% tcolorbox.4ht (2022-05-05-13:42), generated from tex4ht-4ht.tex
% Copyright 2020-2022 TeX Users Group
%
% This work may be distributed and/or modified under the
@@ -16,7 +16,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-05-04-14:00}
+\immediate\write-1{version 2022-05-05-13:42}
% use custom counter that increments for every \tcolorbox
@@ -92,6 +92,15 @@
\pend:def\tcb@minipage@center{\SaveEndP}
+\AfterEndPreamble{%
+ % fix \nameref support
+ \def\:tempa#1{%
+ \gdef\NR:Title{\a:newlabel{#1}}%
+ \o:tcb@gettitle:{#1}%
+ }%
+ \HLet\tcb@gettitle\:tempa
+}
+
\Hinput{tcolorbox}
\endinput