summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex13
1 files changed, 11 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index d9c2de66c3b..577a1f2e9b8 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 1395 2023-10-18 20:38:31Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1396 2023-10-20 16:07:23Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2023 TeX Users Group
@@ -28490,7 +28490,7 @@ We need to use dvips driver with XeLaTeX
\get:xcolorcss{tcbcolframe}\:tcbcolframe%
\get:xcolorcss{tcbcolupper}\:tcbcolupper%
% make unique ID for this box
- \def\:tcbcolid{tcolobox-\arabic{:tcbcolcount}}
+ \gdef\:tcbcolid{tcolobox-\arabic{:tcbcolcount}}
% Open box
\a:tcolorbox%
% set label if it exists
@@ -28530,6 +28530,15 @@ We need to use dvips driver with XeLaTeX
\def\:tempb{\d:tcolorbox\o:tcb@endboxanddraw:}
\HLet\tcb@endboxanddraw\:tempb
+% tcolorbox supports libraries, but it loads them
+% in a way that doesn't register them for the use
+% with .4ht files.
+% this fix is for tcblistingscore.code.tex
+\NewConfigure{tcblisting}{1}
+\def\:tempb{\o:endtcblisting:\d:tcolorbox\a:tcblisting}
+\HLet\endtcblisting\:tempb
+
+
% this code prevents emptying of the box title when
% some Tcolorbox options are used
\def\:tempb{}