summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/tex4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-02 22:05:16 +0000
committerKarl Berry <karl@freefriends.org>2022-02-02 22:05:16 +0000
commitad1e1367da04eb2e610d880a64b010bdfb286a87 (patch)
tree5af33d133e0b92b5f00cf0f87c947fe343a8c726 /Master/texmf-dist/source/generic/tex4ht
parentd4cbd833ea2b1e5f6b7dd39c10a9eed4c57b9df2 (diff)
tasks package, tex4ht r1069
git-svn-id: svn://tug.org/texlive/trunk@61860 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog7
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex25
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex18
3 files changed, 46 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 097f725fbcf..02e00499db4 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index 4a9bbabb848..8ae5eb4d257 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 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/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
index afb66c00bef..ed7402d9898 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/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}
+>>>
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%