summaryrefslogtreecommitdiff
path: root/support/TeX4ht
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-02-04 03:01:19 +0000
committerNorbert Preining <norbert@preining.info>2022-02-04 03:01:19 +0000
commitb7a48c5e229d2c195b6a32bfd73a1036a31f2df3 (patch)
tree0de52f1cd71e177264b40f03cfcae565537e941c /support/TeX4ht
parent5f2b3969a73a6756d3cd224240ae1be6408d5801 (diff)
CTAN sync 202202040301
Diffstat (limited to 'support/TeX4ht')
-rw-r--r--support/TeX4ht/source/ChangeLog7
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex25
-rw-r--r--support/TeX4ht/source/tex4ht-html4.tex18
3 files changed, 46 insertions, 4 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index 097f725fbc..02e00499db 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,10 @@
+2022-02-02 Michal Hoftich <michal.h21@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@gmail.com>
* tex4ht-html4.tex (html4.4ht): added support for colors in
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index 4a9bbabb84..8ae5eb4d25 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1067 2022-02-01 16:25:25Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1069 2022-02-02 14:31:53Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -30871,6 +30871,29 @@ the fancy page style.
>>> \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}
%%%%%%%%%%%%%%%%%%%
diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex
index afb66c00be..ed7402d989 100644
--- a/support/TeX4ht/source/tex4ht-html4.tex
+++ b/support/TeX4ht/source/tex4ht-html4.tex
@@ -1,8 +1,8 @@
-% $Id: tex4ht-html4.tex 1068 2022-02-01 16:56:15Z michal_h21 $
+% $Id: tex4ht-html4.tex 1070 2022-02-02 22:04:53Z karl $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
-% Copyright 2009-2021 TeX Users Group
+% Copyright 2009-2022 TeX Users Group
% Copyright 1996-2009 Eitan M. Gurari
% Released under LPPL 1.3c+.
% See tex4ht-cpright.tex for license text.
@@ -65,7 +65,7 @@
\<html4\><<<
% html4.4ht (|version), generated from |jobname.tex
-% Copyright 2009-2021 TeX Users Group
+% Copyright 2009-2022 TeX Users Group
% Copyright |CopyYear.1997. Eitan M. Gurari
|<TeX4ht copywrite|>
>>>
@@ -15349,6 +15349,18 @@ Support for colors in listings
{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}
+>>>
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%