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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Wed Feb 2 15:31:54 CET 2022


Author: michal_h21
Date: 2022-02-02 14:31:53 +0000 (Wed, 02 Feb 2022)
New Revision: 1069

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

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-02-01 16:56:15 UTC (rev 1068)
+++ trunk/lit/ChangeLog	2022-02-02 14:31:53 UTC (rev 1069)
@@ -1,3 +1,10 @@
+2022-02-02  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (tasks.4ht),
+	* tex4ht-html4.tex (html4.4ht): added support for the Tasks
+	package.
+	https://tex.stackexchange.com/a/632391/2891
+
 2022-02-01  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html4.tex (html4.4ht): added support for colors in

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2022-02-01 16:56:15 UTC (rev 1068)
+++ trunk/lit/mktex4ht-cnf.tex	2022-02-02 14:31:53 UTC (rev 1069)
@@ -265,6 +265,7 @@
 \AddFile{9}{paralist}
 \AddFile{9}{pifont}
 \AddFile{9}{listings}
+\AddFile{9}{tasks}
 \AddFile{9}{alphanum}
 \AddFile{9}{lineno}
 \AddFile{9}{errata}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-02-01 16:56:15 UTC (rev 1068)
+++ trunk/lit/tex4ht-4ht.tex	2022-02-02 14:31:53 UTC (rev 1069)
@@ -30871,6 +30871,29 @@
 >>> \AddFile{9}{fancyhdr-hooks}
 
 %%%%%%%%%%%%%%%%%%%
+\Section{fancyhdr}
+%%%%%%%%%%%%%%%%%%%
+
+
+\<tasks.4ht\><<<
+% tasks.4ht (|version), generated from |jobname.tex
+% Copyright 2022 TeX Users Group
+|<TeX4ht copywrite|>
+\ExplSyntaxOn
+% generate normal \item for tasks instead of coffins
+\cs_set_protected:Npn \__tasks_task_fourht:nnn #1#2#3
+{\item[#1]{\__tasks_setup: #2 {#3}}}
+\cs_generate_variant:Nn \__tasks_task_fourht:nnn {VVV}
+
+\HLet\__tasks_task:nnn\__tasks_task_fourht:nnn
+\HLet\__tasks_task:VVV\__tasks_task_fourht:VVV
+
+\ExplSyntaxOff
+\Hinput{tasks}
+\endinput
+>>> \AddFile{9}{tasks}
+
+%%%%%%%%%%%%%%%%%%%
 \Section{alphanum}
 %%%%%%%%%%%%%%%%%%%
 

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2022-02-01 16:56:15 UTC (rev 1068)
+++ trunk/lit/tex4ht-html4.tex	2022-02-02 14:31:53 UTC (rev 1069)
@@ -15349,8 +15349,20 @@
        {font-family: monospace,monospace; white-space: nowrap; }}
 >>>
 
+%%%%%%%%%%%%%%%%%%%%
+\subsection{tasks}
+%%%%%%%%%%%%%%%%%%%%
 
+\<configure html4 tasks\><<<
+\ConfigureList{tasks}
+{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="tasks">}\def\end:task{}}
+{\ifvmode\IgnorePar\fi\EndP\end:task\HCode{</div>}}
+{\end:task\HCode{<div class="task"><span class="label">}\def\end:task{\HCode{</div>}}}
+{\HCode{</span>}\noindent}
+>>>
 
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \subsection{mdwlist}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.