[tex4ht-commits] [SCM] tex4ht updated: r1736 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Mon Sep 8 15:59:01 CEST 2025
Author: michal_h21
Date: 2025-09-08 13:59:00 +0000 (Mon, 08 Sep 2025)
New Revision: 1736
Modified:
trunk/lit/ChangeLog
trunk/lit/mktex4ht-cnf.tex
trunk/lit/tex4ht-4ht.tex
trunk/lit/tex4ht-html4.tex
Log:
fixed support for the tcolorbox docCommand environment
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2025-08-31 15:21:34 UTC (rev 1735)
+++ trunk/lit/ChangeLog 2025-09-08 13:59:00 UTC (rev 1736)
@@ -1,3 +1,10 @@
+2025-09-08 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (tcolorbox.4ht),
+ * tex4ht-html4.tex (html4.4ht): fixed support for the docCommand environment
+ from the tcolorbox.documentation library.
+ https://github.com/michal-h21/make4ht/issues/178
+
2025-08-31 Karl Berry <karl at freefriends.org>
* tex4ht-4ht.tex (unicode-math-hooks.4ht): 2025.
Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex 2025-08-31 15:21:34 UTC (rev 1735)
+++ trunk/lit/mktex4ht-cnf.tex 2025-09-08 13:59:00 UTC (rev 1736)
@@ -420,6 +420,7 @@
\AddFile{9}{framed}
\AddFile{9}{mdframed}
\AddFile{9}{tcolorbox}
+%\AddFile{9}{tcolorbox.documentation}
\AddFile{9}{slashbox}
\AddFile{9}{parallel}
\AddFile{9}{skak}
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2025-08-31 15:21:34 UTC (rev 1735)
+++ trunk/lit/tex4ht-4ht.tex 2025-09-08 13:59:00 UTC (rev 1736)
@@ -29942,6 +29942,7 @@
|<tcolorbox minipage|>
|<tcolorbox nameref|>
+|<tcolorbox.documentation|>
\Hinput{tcolorbox}
\endinput
@@ -29973,6 +29974,17 @@
}
>>>
+Tcolorbox included it's sublibraries in a way that don't register them
+for the use with .4ht files. The following code will detect the
+tcolorbox.documentation library and will enable to configure it in output format
+.4ht files.
+
+\<tcolorbox.documentation\><<<
+\ifdefined\tcb at manual@entry
+\Hinput{tcolorbox.documentation}
+\fi
+>>>
+
%%%%%%%%%%%%%%%%%%%%%%%
\Section{slashbox}
%%%%%%%%%%%%%%%%%%%%%%%
Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex 2025-08-31 15:21:34 UTC (rev 1735)
+++ trunk/lit/tex4ht-html4.tex 2025-09-08 13:59:00 UTC (rev 1736)
@@ -17145,6 +17145,17 @@
\Configure{tcblisting}{\Css{\#\:tcbcolid\space.lstinputlisting{margin-bottom:0em;margin-top:0em;border: none;}}}
>>>
+\subsection{Tcolorbox documentation}
+
+Fixes for the docCommand environment
+See \Link[https://github.com/michal-h21/make4ht/issues/178]{}{}for the bug report\EndLink.
+
+\<configure html4 tcolorbox\><<<
+\ConfigureList{tcb at manual@entry}{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="doccommand">}}{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}}{}{}
+\ConfigureEnv{tcb at doc@head}{\IgnorePar\EndP}{}{}{}
+\Css{.doccommand > p {margin-left:2em;}}
+>>>
+
%%%%%%%%%%%%%%%%
\section{verse}
%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.