diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3doc.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3doc.dtx | 35 |
1 files changed, 5 insertions, 30 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx b/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx index dfbb2abbf30..eb67bd70b38 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx @@ -2,7 +2,7 @@ % %% File: l3doc.dtx % -% Copyright (C) 1990-2021 The LaTeX Project +% Copyright (C) 1990-2022 The LaTeX Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -31,7 +31,7 @@ \askforoverwritefalse \preamble -Copyright (C) 1990-2021 The LaTeX Project +Copyright (C) 1990-2022 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of @@ -79,7 +79,7 @@ and all files in that bundle must be distributed together. % % \title{The \cls{l3doc} class} % \author{\Team} -% \date{Released 2021-11-22} +% \date{Released 2022-01-12} % \maketitle % \tableofcontents % @@ -1370,8 +1370,6 @@ and all files in that bundle must be distributed together. ':'~hence~it~is~not~clear~where~to~add~'_p'~or~'TF'.~ Please~follow~expl3~naming~conventions. } -\msg_new:nnn { l3doc } { deprecated-function } - { The~deprecated~function(s)~'#1'~should~have~been~removed~on~#2. } \msg_new:nnn { l3doc } { date-format } { The~date~'#1'~should~be~given~in~YYYY-MM-DD~format. } \msg_new:nnn { l3doc } { future-date } @@ -2420,7 +2418,7 @@ and all files in that bundle must be distributed together. } , added .code:n = { \@@_date_set_past:Nn \l_@@_date_added_tl {#1} }, updated .code:n = { \@@_date_set_past:Nn \l_@@_date_updated_tl {#1} } , - deprecated .code:n = { \@@_deprecated_on:n {#1} } , + deprecated .code:n = {} , % A stub tested .code:n = { } , label .code:n = { @@ -2464,29 +2462,6 @@ and all files in that bundle must be distributed together. % \end{macrocode} % \end{macro} % -% \begin{macro}{\@@_deprecated_on:n} -% The date comparison function expects two dates in the YYYY-MM-DD -% format (|-|~is not subtraction here). -% Complain if a deprecated function should have been removed earlier. -% In any case, mark it as internal to suppress the text -% \enquote{documented on page \ldots{}}. -% \begin{macrocode} -\cs_new_protected:Npn \@@_deprecated_on:n #1 - { - \@@_date_set:Nn \l_@@_tmpa_tl {#1} - \exp_args:No \@@_date_compare:nNnT - { \l_@@_tmpa_tl } < { \c_sys_year_int - \c_sys_month_int - \c_sys_day_int } - { - \msg_error:nnxx { l3doc } { deprecated-function } - { \tl_to_str:N \l_@@_macro_argument_tl } - { \l_@@_tmpa_tl } - } - \bool_set_true:N \l_@@_macro_internal_bool - \bool_set_true:N \l_@@_macro_internal_set_bool - } -% \end{macrocode} -% \end{macro} -% % \begin{macro}{\@@_function:nnw} % \begin{arguments} % \item Key--value list. @@ -2922,7 +2897,7 @@ and all files in that bundle must be distributed together. } , added .code:n = {} , % TODO updated .code:n = {} , % TODO - deprecated .code:n = { \@@_deprecated_on:n {#1} } , + deprecated .code:n = {} , % A stub verb .bool_set:N = \l_@@_names_verb_bool , module .tl_set:N = \l_@@_override_module_tl , documented-as .tl_set:N = \l_@@_macro_documented_tl , |