[tex4ht-commits] [SCM] tex4ht updated: r1087 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Mar 8 10:45:01 CET 2022


Author: michal_h21
Date: 2022-03-08 09:45:01 +0000 (Tue, 08 Mar 2022)
New Revision: 1087

Modified:
   trunk/lit/ChangeLog
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-4ht.tex
   trunk/lit/tex4ht-html4.tex
Log:
Added support for the threeparttable package

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-02-28 13:41:37 UTC (rev 1086)
+++ trunk/lit/ChangeLog	2022-03-08 09:45:01 UTC (rev 1087)
@@ -1,3 +1,10 @@
+2022-03-08  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (threeparttable.4ht),
+	* tex4ht-html4.tex (html4.4ht): added support for the Threeparttable
+	package.
+	https://puszcza.gnu.org.ua/bugs/?556
+
 2022-02-28  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html4.tex (html4-math.4ht): removed math configuration for

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2022-02-28 13:41:37 UTC (rev 1086)
+++ trunk/lit/mktex4ht-cnf.tex	2022-03-08 09:45:01 UTC (rev 1087)
@@ -49,6 +49,7 @@
 \AddFile{8}{tabulary-a}
 \AddFile{7}{tabularx}
 \AddFile{9}{tabu}
+\AddFile{9}{threeparttable}
 \AddFile{9}{mdwtab}
 \AddFile{9}{multirow}
 \AddFile{8}{theorem}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-02-28 13:41:37 UTC (rev 1086)
+++ trunk/lit/tex4ht-4ht.tex	2022-03-08 09:45:01 UTC (rev 1087)
@@ -10479,6 +10479,20 @@
 
 
 %%%%%%%%%%%%%%%%%%%%%%%%
+\Section{threeparttable}
+%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<threeparttable.4ht\><<< 
+% threeparttable.4ht (|version), generated from |jobname.tex 
+% Copyright 2022 TeX Users Group 
+|<TeX4ht license text|> 
+\def\:tempa{\o:TPT at endtabbox:\AddToHookNext{env/\@currenvir/after}{\IgnorePar}}
+\HLet\TPT at endtabbox\:tempa
+\Hinput{threeparttable} 
+\endinput
+>>> \AddFile{9}{threeparttable}
+
+%%%%%%%%%%%%%%%%%%%%%%%%
 \Section{mdwtab}
 %%%%%%%%%%%%%%%%%%%%%%%%
 

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2022-02-28 13:41:37 UTC (rev 1086)
+++ trunk/lit/tex4ht-html4.tex	2022-03-08 09:45:01 UTC (rev 1087)
@@ -2205,8 +2205,23 @@
                    border-right:solid black 0.4pt; }}
 >>>
 
+%%%%%%%%%%%%%
+\subsection{threeparttable}
 
+We mainly need to handle paragraphs.
+
+\<configure html4 threeparttable\><<<
+\ConfigureList{tablenotes}
+{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="tablenotes">}\par\ShowPar}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}}{\par\ShowPar}{}
+
+\ConfigureEnv{threeparttable}
+{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="threeparttable">}}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}\par\ShowPar}{}{}
+>>>
 %%%%%%%%%%%%%
+
+%%%%%%%%%%%%%
 \subsection{Mdwtab}
 %%%%%%%%%%%%%
 



More information about the tex4ht-commits mailing list.