summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tasks/tasks.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-10-08 03:00:28 +0000
committerNorbert Preining <norbert@preining.info>2019-10-08 03:00:28 +0000
commite5ffc42ed260285f76383ae18dd0f4a603c07fa8 (patch)
tree7d901aebae17ed14f1c9812c9339a88d68dc74e4 /macros/latex/contrib/tasks/tasks.sty
parentba86549c94b1e8b6b19bc82b01e85a7e513e7586 (diff)
CTAN sync 201910080300
Diffstat (limited to 'macros/latex/contrib/tasks/tasks.sty')
-rw-r--r--macros/latex/contrib/tasks/tasks.sty15
1 files changed, 8 insertions, 7 deletions
diff --git a/macros/latex/contrib/tasks/tasks.sty b/macros/latex/contrib/tasks/tasks.sty
index 571d17775b..d1634835d5 100644
--- a/macros/latex/contrib/tasks/tasks.sty
+++ b/macros/latex/contrib/tasks/tasks.sty
@@ -28,10 +28,10 @@
\RequirePackage {expl3,xparse,xtemplate}
\ExplSyntaxOn
-\tl_const:Nn \c_tasks_date_tl {2019/10/06}
+\tl_const:Nn \c_tasks_date_tl {2019/10/07}
\tl_const:Nn \c_tasks_version_major_number_tl {1}
\tl_const:Nn \c_tasks_version_minor_number_tl {0}
-\tl_const:Nn \c_tasks_version_subrelease_tl {b}
+\tl_const:Nn \c_tasks_version_subrelease_tl {c}
\tl_const:Nx \c_tasks_version_number_tl
{
\c_tasks_version_major_number_tl .
@@ -527,9 +527,9 @@
{ \tl_put_left:NV \l__tasks_label_tl \l__tasks_label_format_tl }
% check if the label width is big enough:
\hbox_set:NV \l__tasks_tmpa_box \l__tasks_label_tl
- \dim_compare:nNnF
+ \dim_compare:nNnT
{ \box_wd:N \l__tasks_tmpa_box }
- <
+ >
{ \l__tasks_label_width_dim }
{
\msg_warning:nnnx {tasks}
@@ -610,9 +610,8 @@
style .tl_set:N = \l__tasks_instance_tl ,
style .initial:n = alphabetize ,
counter-format .code:n =
- \msg_warning:nnnnn {tasks} {deprecated} {option} {counter-format}
- {label} ,
- % \keys_set:nn {tasks/list} { label = #1 } ,
+ \msg_warning:nnnnn {tasks} {deprecated} {option} {counter-format} {label}
+ \keys_set:nn {tasks/list} { label = #1 } ,
label .code:n =
\bool_set_true:N \l__tasks_custom_label_bool
\tl_set:Nn \l__tasks_custom_label_tl {#1} ,
@@ -808,3 +807,5 @@
- the option `counter-format' is deprecated
2019/10/05 v1.0a - fix small bug in deprecation message
2019/10/06 v1.0b - fix bug in `label-format' definition
+2019/10/07 v1.0c - fix bug in width warning
+ - fix bug in deprecation of `counter-format'