From e5ffc42ed260285f76383ae18dd0f4a603c07fa8 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 8 Oct 2019 03:00:28 +0000 Subject: CTAN sync 201910080300 --- macros/latex/contrib/tasks/README | 2 +- macros/latex/contrib/tasks/tasks.sty | 15 ++++++++------- macros/latex/contrib/tasks/tasks_en.pdf | Bin 448511 -> 448291 bytes macros/latex/contrib/tasks/tasks_en.tex | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) (limited to 'macros/latex/contrib/tasks') diff --git a/macros/latex/contrib/tasks/README b/macros/latex/contrib/tasks/README index dfede84db1..f314d7c2e3 100644 --- a/macros/latex/contrib/tasks/README +++ b/macros/latex/contrib/tasks/README @@ -1,5 +1,5 @@ -------------------------------------------------------------------------- -the TASKS package v1.0b 2019/10/06 +the TASKS package v1.0c 2019/10/07 horizontally columned lists 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' diff --git a/macros/latex/contrib/tasks/tasks_en.pdf b/macros/latex/contrib/tasks/tasks_en.pdf index 2067bc4d07..d41a540073 100644 Binary files a/macros/latex/contrib/tasks/tasks_en.pdf and b/macros/latex/contrib/tasks/tasks_en.pdf differ diff --git a/macros/latex/contrib/tasks/tasks_en.tex b/macros/latex/contrib/tasks/tasks_en.tex index 7a5123f460..14d69196da 100644 --- a/macros/latex/contrib/tasks/tasks_en.tex +++ b/macros/latex/contrib/tasks/tasks_en.tex @@ -98,7 +98,7 @@ better off using traditional \LaTeX{} lists and the \pkg{enumitem} package for customization. \subsection{Changes} -The¸sinceversion{1.0} step to version~1.0 brought some significant changes: +The \sinceversion{1.0} step to version~1.0 brought some significant changes: \begin{itemize} \item the option \option{counter-format} is deprecated. Labels can now be set quite similar to the way they are set in \pkg{enumitem}. This also -- cgit v1.2.3