summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tasks
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-05-11 20:48:36 +0000
committerKarl Berry <karl@freefriends.org>2020-05-11 20:48:36 +0000
commit1e28eec3048eca3b4bb303fd89731719d16274e7 (patch)
treec42c59e94024b96db90d9a8dd224f9350105bdd1 /Master/texmf-dist/tex/latex/tasks
parent0e1ee2e226e159a60e8f3c25f41bfbf1ed10679c (diff)
tasks (11may20)
git-svn-id: svn://tug.org/texlive/trunk@55104 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tasks')
-rw-r--r--Master/texmf-dist/tex/latex/tasks/tasks.sty13
1 files changed, 9 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/tasks/tasks.sty b/Master/texmf-dist/tex/latex/tasks/tasks.sty
index 31db9fe1ea8..22ac99035b6 100644
--- a/Master/texmf-dist/tex/latex/tasks/tasks.sty
+++ b/Master/texmf-dist/tex/latex/tasks/tasks.sty
@@ -28,10 +28,10 @@
\RequirePackage {expl3,xparse,xtemplate}
\ExplSyntaxOn
-\tl_const:Nn \c_tasks_date_tl {2020/04/19}
+\tl_const:Nn \c_tasks_date_tl {2020/05/11}
\tl_const:Nn \c_tasks_version_major_number_tl {1}
\tl_const:Nn \c_tasks_version_minor_number_tl {2}
-\tl_const:Nn \c_tasks_version_subrelease_tl {a}
+\tl_const:Nn \c_tasks_version_subrelease_tl {b}
\tl_const:Nx \c_tasks_version_number_tl
{
\c_tasks_version_major_number_tl .
@@ -675,7 +675,10 @@
}
% --------------------------------------------------------------------------
-
+% #1: item separator
+% #2: options
+% #3: number of columns
+% #4: environment body
\cs_new_protected:Npn \tasks_body:nnnn #1#2#3#4
{
\int_gincr:N \g__tasks_env_int
@@ -687,11 +690,11 @@
\vskip-\baselineskip
\hrule\@height\z@
}
+ \keys_set:nn {tasks/list} {#2}
\dim_compare:nNnF { \l__tasks_before_list_skip } = {0pt}
{ \vspace {\l__tasks_before_list_skip} }
\list {}
{
- \keys_set:nn {tasks/list} {#2}
\dim_set:Nn \leftmargin {0pt}
\dim_set:Nn \rightmargin {0pt}
}
@@ -859,3 +862,5 @@
- \tasksifmeasuringTF
- new option `counter'
- rename manual files
+2020/04/19 v1.2a - only use arabic numbers for \theHtask
+2020/05/11 v1.2b - options are set to late for `before-skip' -- fixed