diff options
Diffstat (limited to 'Master/texmf-dist/source')
53 files changed, 372 insertions, 505 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/expl3.dtx b/Master/texmf-dist/source/latex/l3kernel/expl3.dtx index 7500ea3a794..010acc2ef42 100644 --- a/Master/texmf-dist/source/latex/l3kernel/expl3.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/expl3.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: expl3.dtx Copyright (C) 1990-2018 The LaTeX3 Project +%% File: expl3.dtx Copyright (C) 1990-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -21,7 +21,7 @@ % for those people who are interested. % %<*driver|generic|package> -\def\ExplFileDate{2018-12-12}% +\def\ExplFileDate{2019-01-01}% %</driver|generic|package> %<*driver> \documentclass[full]{l3doc} @@ -49,7 +49,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3.ins b/Master/texmf-dist/source/latex/l3kernel/l3.ins index 8a72417d1db..cbd58c8e296 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3.ins +++ b/Master/texmf-dist/source/latex/l3kernel/l3.ins @@ -123,15 +123,6 @@ and all files in that bundle must be distributed together. \generate{\file{l3names.def} {\from{l3names.dtx} {names}}} - -% old modules generating a usage error: - -\generate{\file{l3regex.sty} {\from{l3oldmodules.dtx} {l3regex,oldmodules}}} -\generate{\file{l3sort.sty} {\from{l3oldmodules.dtx} {l3sort,oldmodules}}} -\generate{\file{l3str.sty} {\from{l3oldmodules.dtx} {l3str,oldmodules}}} -\generate{\file{l3tl-analysis.sty}{\from{l3oldmodules.dtx} {l3tl-analysis,oldmodules}}} -\generate{\file{l3tl-build.sty} {\from{l3oldmodules.dtx} {l3tl-build,oldmodules}}} - % Lua code \def\MetaPrefix{--} diff --git a/Master/texmf-dist/source/latex/l3kernel/l3alloc.dtx b/Master/texmf-dist/source/latex/l3kernel/l3alloc.dtx index 72adae80423..46d67b00d5e 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3alloc.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3alloc.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3alloc.dtx Copyright (C) 1990-2012,2014-2017 The LaTeX3 Project +%% File: l3alloc.dtx Copyright (C) 1990-2012,2014-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3basics.dtx b/Master/texmf-dist/source/latex/l3kernel/l3basics.dtx index 92ef56b2497..44e0968f05b 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3basics.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3basics.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3basics.dtx Copyright (C) 1990-2018 The LaTeX3 project +%% File: l3basics.dtx Copyright (C) 1990-2019 The LaTeX3 project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx b/Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx index 2959353c2a6..5b6c4aa23eb 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3bootstrap.dtx Copyright (C) 2011-2017 The LaTeX3 project +%% File: l3bootstrap.dtx Copyright (C) 2011-2019 The LaTeX3 project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -138,7 +138,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3box.dtx b/Master/texmf-dist/source/latex/l3kernel/l3box.dtx index b0c545ffe8d..39a4ab8c754 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3box.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3box.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3box.dtx Copyright (C) 2005-2018 The LaTeX3 Project +%% File: l3box.dtx Copyright (C) 2005-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -593,16 +593,19 @@ % \end{function} % % -% \begin{function}[updated = 2011-10-22]{\vbox_set_split_to_ht:NNn} +% \begin{function}[updated = 2018-12-29] +% { +% \vbox_set_split_to_ht:NNn, \vbox_set_split_to_ht:cNn, +% \vbox_set_split_to_ht:Ncn, \vbox_set_split_to_ht:ccn, +% \vbox_gset_split_to_ht:NNn, \vbox_gset_split_to_ht:cNn, +% \vbox_gset_split_to_ht:Ncn, \vbox_gset_split_to_ht:ccn +% } % \begin{syntax} % \cs{vbox_set_split_to_ht:NNn} \meta{box_1} \meta{box_2} \Arg{dimexpr} % \end{syntax} % Sets \meta{box_1} to contain material to the height given by the % \meta{dimexpr} by removing content from the top of \meta{box_2} % (which must be a vertical box). -% \begin{texnote} -% This is the \TeX{} primitive \tn{vsplit}. -% \end{texnote} % \end{function} % % \begin{function}{\vbox_unpack:N, \vbox_unpack:c} @@ -1542,13 +1545,27 @@ % \end{macro} % \end{macro} % -% \begin{macro}{\vbox_set_split_to_ht:NNn} +% \begin{macro} +% { +% \vbox_set_split_to_ht:NNn, \vbox_set_split_to_ht:cNn, +% \vbox_set_split_to_ht:Ncn, \vbox_set_split_to_ht:ccn, +% \vbox_gset_split_to_ht:NNn, \vbox_gset_split_to_ht:cNn, +% \vbox_gset_split_to_ht:Ncn, \vbox_gset_split_to_ht:ccn, +% } % \testfile* % Splitting a vertical box in two. % \begin{macrocode} \__kernel_patch:nnNNpn { \__kernel_chk_var_local:N #1 } { } \cs_new_protected:Npn \vbox_set_split_to_ht:NNn #1#2#3 { \tex_setbox:D #1 \tex_vsplit:D #2 to \@@_dim_eval:n {#3} } +\cs_generate_variant:Nn \vbox_set_split_to_ht:NNn { c , Nc , cc } +\__kernel_patch:nnNNpn { \__kernel_chk_var_global:N #1 } { } +\cs_new_protected:Npn \vbox_gset_split_to_ht:NNn #1#2#3 + { + \tex_global:D \tex_setbox:D #1 + \tex_vsplit:D #2 to \@@_dim_eval:n {#3} + } +\cs_generate_variant:Nn \vbox_gset_split_to_ht:NNn { c , Nc , cc } % \end{macrocode} % \end{macro} % @@ -2087,29 +2104,6 @@ % \end{macrocode} % \end{macro} % -% \subsection{Deprecated functions} -% -% \begin{macro}[deprecated = 2018-12-31]{\box_resize:Nnn, \box_resize:cnn} -% \begin{macro}[deprecated = 2018-12-31]{\box_use_clear:N, \box_use_clear:c} -% \begin{macrocode} -\__kernel_patch_deprecation:nnNNpn - { 2018-12-31 } { \box_resize_to_wd_and_ht_plus_dp:Nnn } -\cs_new_protected:Npn \box_resize:Nnn - { \box_resize_to_wd_and_ht_plus_dp:Nnn } -\__kernel_patch_deprecation:nnNNpn - { 2018-12-31 } { \box_resize_to_wd_and_ht_plus_dp:cnn } -\cs_new_protected:Npn \box_resize:cnn - { \box_resize_to_wd_and_ht_plus_dp:cnn } -\__kernel_patch_deprecation:nnNNpn - { 2018-12-31 } { \box_use_drop:N } -\cs_new_protected:Npn \box_use_clear:N { \box_use_drop:N } -\__kernel_patch_deprecation:nnNNpn - { 2018-12-31 } { \box_use_drop:c } -\cs_new_protected:Npn \box_use_clear:c { \box_use_drop:c } -% \end{macrocode} -% \end{macro} -% \end{macro} -% % \begin{macrocode} %</initex|package> % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/l3kernel/l3candidates.dtx b/Master/texmf-dist/source/latex/l3kernel/l3candidates.dtx index 0fdfe1ea798..780b8ac6b03 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3candidates.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3candidates.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3candidates.dtx Copyright (C) 2012-2018 The LaTeX3 Project +%% File: l3candidates.dtx Copyright (C) 2012-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -42,7 +42,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -408,6 +408,15 @@ % \end{texnote} % \end{function} % +% \begin{function}[added = 2018-12-29]{\iow_allow_break:} +% \begin{syntax} +% \cs{iow_allow_break:} +% \end{syntax} +% In the first argument of \cs{iow_wrap:nnnN} (for instance in +% messages), inserts a break-point that allows a line break. +% In other words this is a zero-width breaking space. +% \end{function} +% % \section{Additions to \pkg{l3flag}} % % \begin{function}[EXP, added = 2018-04-02]{\flag_raise_if_clear:n} @@ -3253,7 +3262,7 @@ % % \begin{macro} % { -% \char_lower_case:N, \char_upper_case:N, +% \char_lower_case:N, \char_upper_case:N, % \char_mixed_case:N, \char_fold_case:N % } % \begin{macro}{\@@_change_case:nNN} @@ -3737,7 +3746,7 @@ { \cs_new:Npn \@@_change_case_char:nN #1#2 { - \@@_change_case_output:fwn + \@@_change_case_output:fwn { \use:c { char_ #1 _case:N } #2 } } } @@ -3755,7 +3764,7 @@ } } { - \@@_change_case_output:fwn + \@@_change_case_output:fwn { \use:c { char_ #1 _case:N } #2 } } } @@ -3807,7 +3816,7 @@ \cs_if_exist:cTF { c_@@_change_case_ #2 _ \token_to_str:N #1 _tl } { \@@_change_case_output:vwn - { c_@@_change_case_ #2 _ \token_to_str:N #1 _tl } + { c_@@_change_case_ #2 _ \token_to_str:N #1 _tl } #3 } { @@ -3815,7 +3824,7 @@ { c_@@_change_case_ \str_if_eq:nnTF {#2} { lower } { upper } { lower } - _ \token_to_str:N #1 _tl + _ \token_to_str:N #1 _tl } { \@@_change_case_output:nwn {#1} @@ -4407,7 +4416,7 @@ \@@_tmp:w \c_@@_dotless_i_tl { 0131 } \@@_tmp:w \c_@@_dotted_I_tl { 0130 } \@@_tmp:w \c_@@_i_ogonek_tl { 012F } - \@@_tmp:w \c_@@_I_ogonek_tl { 012E } + \@@_tmp:w \c_@@_I_ogonek_tl { 012E } \group_end: % \end{macrocode} % \end{variable} diff --git a/Master/texmf-dist/source/latex/l3kernel/l3clist.dtx b/Master/texmf-dist/source/latex/l3kernel/l3clist.dtx index eee5474874b..3ed242d1809 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3clist.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3clist.dtx @@ -2,7 +2,7 @@ % %% File: l3clist.dtx Copyright (C) 2004-2011 Frank Mittelbach, %% The LaTeX3 project -%% (C) 2012-2018 The LaTeX3 Project +%% (C) 2012-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3coffins.dtx b/Master/texmf-dist/source/latex/l3kernel/l3coffins.dtx index b3f37081ae8..2f9429c6d12 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3coffins.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3coffins.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3coffins.dtx Copyright(C) 2010-2018 The LaTeX3 Project +%% File: l3coffins.dtx Copyright(C) 2010-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -1053,7 +1053,7 @@ ( \dim_to_fp:n {#1} * \l_@@_slope_x_fp - - ( \dim_to_fp:n {#5} * + - ( \dim_to_fp:n {#5} * \l_@@_slope_y_fp ) - \dim_to_fp:n {#2} + \dim_to_fp:n {#6} diff --git a/Master/texmf-dist/source/latex/l3kernel/l3color-base.dtx b/Master/texmf-dist/source/latex/l3kernel/l3color-base.dtx index 4cda24b3d25..aa5b6a1d2ec 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3color-base.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3color-base.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3color-base.dtx Copyright(C) 2011,2012,2014,2016-2018 The LaTeX3 Project +%% File: l3color-base.dtx Copyright(C) 2011,2012,2014,2016-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx b/Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx index 55a03cc9a40..37860cf2cb3 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3deprecation.dtx (C) Copyright 2017-2018 The LaTeX3 Project +%% File: l3deprecation.dtx (C) Copyright 2017-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -83,14 +83,34 @@ { \tl_to_str:n {#3} } { \token_to_str:N #1 } { \tl_to_str:n {#2} } } } -\__kernel_deprecation_error:Nnn \file_if_exist_input:nT - { \file_if_exist:nT and~ \file_input:n } { 2018-03-05 } -\__kernel_deprecation_error:Nnn \file_if_exist_input:nTF - { \file_if_exist:nT and~ \file_input:n } { 2018-03-05 } +\__kernel_deprecation_error:Nnn \box_resize:cnn + { \box_resize_to_wd_and_ht_plus_dp:cnn } { 2018-12-27 } +\__kernel_deprecation_error:Nnn \box_resize:Nnn + { \box_resize_to_wd_and_ht_plus_dp:Nnn } { 2018-12-27 } +\__kernel_deprecation_error:Nnn \box_use_clear:c + { \box_use_drop:c } { 2018-12-27 } +\__kernel_deprecation_error:Nnn \box_use_clear:N + { \box_use_drop:N } { 2018-12-27 } \__kernel_deprecation_error:Nnn \c_job_name_tl { \c_sys_jobname_str } { 2017-01-01 } +\__kernel_deprecation_error:Nnn \c_minus_one + { -1 } { 2018-12-27 } \__kernel_deprecation_error:Nnn \dim_case:nnn { \dim_case:nnF } { 2015-07-14 } +\__kernel_deprecation_error:Nnn \file_add_path:nN + { \file_get_full_name:nN } { 2018-12-27 } +\__kernel_deprecation_error:Nnn \file_if_exist_input:nT + { \file_if_exist:nT and~ \file_input:n } { 2018-03-05 } +\__kernel_deprecation_error:Nnn \file_if_exist_input:nTF + { \file_if_exist:nT and~ \file_input:n } { 2018-03-05 } +\__kernel_deprecation_error:Nnn \file_list: + { \file_log_list: } { 2018-12-27 } +\__kernel_deprecation_error:Nnn \file_path_include:n + { \seq_put_right:Nn \l_file_search_path_seq } { 2018-12-27 } +\__kernel_deprecation_error:Nnn \file_path_remove:n + { \seq_remove_all:Nn \l_file_search_path_seq } { 2018-12-27 } +\__kernel_deprecation_error:Nnn \g_file_current_name_tl + { \g_file_current_name_str } { 2018-12-27 } \__kernel_deprecation_error:Nnn \int_case:nnn { \int_case:nnF } { 2015-07-14 } \__kernel_deprecation_error:Nnn \int_from_binary:n @@ -107,6 +127,10 @@ { \int_to_oct:n } { 2016-01-05 } \__kernel_deprecation_error:Nnn \ior_get_str:NN { \ior_str_get:NN } { 2018-03-05 } +\__kernel_deprecation_error:Nnn \ior_list_streams: + { \ior_show_list: } { 2018-12-27 } +\__kernel_deprecation_error:Nnn \ior_log_streams: + { \ior_log_list: } { 2018-12-27 } \__kernel_deprecation_error:Nnn \luatex_if_engine_p: { \sys_if_engine_luatex_p: } { 2017-01-01 } \__kernel_deprecation_error:Nnn \luatex_if_engine:F @@ -133,6 +157,10 @@ { } { 2015-07-14 } \__kernel_deprecation_error:Nnn \scan_align_safe_stop: { protected~commands } { 2017-01-01 } +\__kernel_deprecation_error:Nnn \sort_ordered: + { \sort_return_same: } { 2018-12-27 } +\__kernel_deprecation_error:Nnn \sort_reversed: + { \sort_return_swapped: } { 2018-12-27 } \__kernel_deprecation_error:Nnn \str_case:nnn { \str_case:nnF } { 2015-07-14 } \__kernel_deprecation_error:Nnn \str_case:onn @@ -147,6 +175,8 @@ { \tex_lowercase:D } { 2018-03-05 } \__kernel_deprecation_error:Nnn \tl_to_uppercase:n { \tex_uppercase:D } { 2018-03-05 } +\__kernel_deprecation_error:Nnn \token_new:Nn + { \cs_new_eq:NN } { 2018-12-29 } \__kernel_deprecation_error:Nnn \xetex_if_engine_p: { \sys_if_engine_xetex_p: } { 2017-01-01 } \__kernel_deprecation_error:Nnn \xetex_if_engine:F @@ -158,24 +188,6 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}[deprecated = 2018-12-31]{\__cs_generate_variant_loop_warning:nnxxxx} -% This is left-over from \pkg{l3expan}. It cannot be done there -% because \pkg{l3tl} is not loaded at that time. Of course what's -% deprecated is actually some combinations of variants; see -% \pkg{l3expan}. -% \begin{macrocode} -\__kernel_deprecation_code:nn - { - \cs_set_protected:Npn \__cs_generate_variant_loop_warning:nnxxxx - { \__kernel_msg_error:nnxxxx } - } - { - \cs_set_protected:Npn \__cs_generate_variant_loop_warning:nnxxxx - { \__kernel_msg_warning:nnxxxx } - } -% \end{macrocode} -% \end{macro} -% % \begin{macro}[deprecated = 2019-12-31]{\etex_beginL:D} % \begin{macro}{\@@_primitive:NN, \@@_primitive:w} % We renamed all primitives to \cs[no-index]{tex_\ldots{}:D} so all diff --git a/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx b/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx index 2be7fcfed3a..43a05058002 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3doc.dtx Copyright (C) 1990-2018 The LaTeX3 project +%% File: l3doc.dtx Copyright (C) 1990-2019 The LaTeX3 project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -77,7 +77,7 @@ and all files in that bundle must be distributed together. % % \title{The \cls{l3doc} class} % \author{\Team} -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % \maketitle % \tableofcontents % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3docstrip.dtx b/Master/texmf-dist/source/latex/l3kernel/l3docstrip.dtx index 8c87b691642..96633a2f925 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3docstrip.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3docstrip.dtx @@ -1,6 +1,6 @@ % \iffalse % -%% File l3dosctrip.dtx Copyright (C) 2012,2014-2017 The LaTeX3 Project +%% File l3dosctrip.dtx Copyright (C) 2012,2014-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -61,7 +61,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3drivers.dtx b/Master/texmf-dist/source/latex/l3kernel/l3drivers.dtx index 535714e56a8..340af23602f 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3drivers.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3drivers.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3drivers.dtx Copyright(C) 2011-2018 The LaTeX3 Project +%% File: l3drivers.dtx Copyright(C) 2011-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -554,23 +554,23 @@ %<*package> \ProvidesExplFile %<*dvipdfmx> - {l3dvidpfmx.def}{2018-12-12}{} + {l3dvidpfmx.def}{2019-01-01}{} {L3 Experimental driver: dvipdfmx} %</dvipdfmx> %<*dvips> - {l3dvips.def}{2018-12-12}{} + {l3dvips.def}{2019-01-01}{} {L3 Experimental driver: dvips} %</dvips> %<*dvisvgm> - {l3dvisvgm.def}{2018-12-12}{} + {l3dvisvgm.def}{2019-01-01}{} {L3 Experimental driver: dvisvgm} %</dvisvgm> %<*pdfmode> - {l3pdfmode.def}{2018-12-12}{} + {l3pdfmode.def}{2019-01-01}{} {L3 Experimental driver: PDF mode} %</pdfmode> %<*xdvipdfmx> - {l3xdvidpfmx.def}{2018-12-12}{} + {l3xdvidpfmx.def}{2019-01-01}{} {L3 Experimental driver: xdvipdfmx} %</xdvipdfmx> %</package> @@ -638,8 +638,8 @@ } } { - \exp_after:wN \@@_color_pickup:w - \current@color \q_stop #1 + \exp_last_unbraced:Nx \@@_color_pickup:w + { \current@color } \q_stop #1 } } \cs_new_protected:Npn \@@_color_pickup:w #1 ~ #2 \q_stop #3 diff --git a/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx b/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx index d4c07c4b0a3..7d5d2bf5d22 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3expan.dtx Copyright (C) 1990-2018 The LaTeX3 project +%% File: l3expan.dtx Copyright (C) 1990-2019 The LaTeX3 project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -2346,8 +2346,7 @@ % \@@_generate_variant_loop_end:nwwwNNnn, % \@@_generate_variant_loop_long:wNNnn, % \@@_generate_variant_loop_invalid:NNwNNnn, -% \@@_generate_variant_loop_special:NNwNNnn, -% \@@_generate_variant_loop_warning:nnxxxx +% \@@_generate_variant_loop_special:NNwNNnn % } % \begin{arguments} % \item Last few consecutive letters common between the base and @@ -2400,10 +2399,6 @@ % breaking function takes the empty brace group in |#4| as its first % argument: this empty brace group produces the correct signature for % the full variant. -% -% Since people seem to have tried generating |N| or |c|-type variants -% of |n|-type arguments, and |n|, |o|, |V|, |v|, |f|, |x| variants of -% |N|-type arguments, in those cases we only produce a warning. % \begin{macrocode} \cs_new:Npn \@@_generate_variant_loop:nNwN #1#2#3 \q_mark #4 { @@ -2494,13 +2489,11 @@ #3 \q_stop #4 #5 {#6} {#7} \exp_not:n { - \@@_generate_variant_loop_warning:nnxxxx + \__kernel_msg_error:nnxxxx { kernel } { deprecated-variant } {#7} { \token_to_str:N #5 } {#1} {#2} } } -\cs_new_protected:Npn \@@_generate_variant_loop_warning:nnxxxx - { \__kernel_msg_warning:nnxxxx } % \end{macrocode} % \end{macro} % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3file.dtx b/Master/texmf-dist/source/latex/l3kernel/l3file.dtx index 23f34a1e95f..1b1248f2484 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3file.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3file.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3file.dtx Copyright (C) 1990-2018 The LaTeX3 Project +%% File: l3file.dtx Copyright (C) 1990-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -42,7 +42,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -447,6 +447,8 @@ % (for example after a control sequence), % \item |\#|, |\%|, |\{|, |\}|, |\~| may be used to represent % the corresponding character, +% \item \cs{iow_allow_break:} may be used to allow a line-break +% without inserting a space (this is experimental), % \item \cs{iow_indent:n} may be used to indent a part of the % \meta{text} (not the \meta{run-on text}). % \end{itemize} @@ -1400,6 +1402,7 @@ % { % \c_@@_wrap_end_marker_tl, % \c_@@_wrap_newline_marker_tl, +% \c_@@_wrap_allow_break_marker_tl, % \c_@@_wrap_indent_marker_tl, % \c_@@_wrap_unindent_marker_tl % } @@ -1417,7 +1420,7 @@ { \tl_to_str:n { \^^I \^^O \^^W \^^_ \^^W \^^R \^^A \^^P } } \group_end: \tl_map_inline:nn - { { end } { newline } { indent } { unindent } } + { { end } { newline } { allow_break } { indent } { unindent } } { \tl_const:cx { c_@@_wrap_ #1 _marker_tl } { @@ -1430,6 +1433,30 @@ % \end{variable} % \end{variable} % +% \begin{macro}{\iow_allow_break:} +% \begin{macro}[EXP]{\@@_allow_break:} +% \begin{macro}[EXP]{\@@_allow_break_error:} +% We set \cs{iow_allow_break:n} to produce an error when outside +% messages. Within wrapped message, it is set to \cs{@@_allow_break:} +% when valid and otherwise to \cs{@@_allow_break_error:}. The second +% produces an error expandably. +% \begin{macrocode} +\cs_new_protected:Npn \iow_allow_break: + { + \__kernel_msg_error:nnnn { kernel } { iow-indent } + { \iow_wrap:nnnN } { \iow_allow_break: } + } +\cs_new:Npx \@@_allow_break: { \c_@@_wrap_allow_break_marker_tl } +\cs_new:Npn \@@_allow_break_error: + { + \__kernel_msg_expandable_error:nnnn { kernel } { iow-indent } + { \iow_wrap:nnnN } { \iow_allow_break: } + } +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% % \begin{macro}{\iow_indent:n} % \begin{macro}[EXP]{\@@_indent:n} % \begin{macro}[EXP]{\@@_indent_error:n} @@ -1488,6 +1515,7 @@ \int_set:Nn \tex_escapechar:D { 92 } \cs_set_eq:NN \\ \iow_newline: \cs_set_eq:NN \ \c_catcode_other_space_tl + \cs_set_eq:NN \iow_allow_break: \@@_allow_break: \cs_set_eq:NN \iow_indent:n \@@_indent:n #3 % \end{macrocode} @@ -1500,6 +1528,7 @@ % \begin{macrocode} %<package> \cs_set_eq:NN \protect \token_to_str:N \tl_set:Nx \l_@@_wrap_tl {#1} + \cs_set_eq:NN \iow_allow_break: \@@_allow_break_error: \cs_set_eq:NN \iow_indent:n \@@_indent_error:n % \end{macrocode} % Afterwards, set the newline marker (two assignments to fully expand, @@ -1806,7 +1835,27 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{\@@_wrap_indent:, \@@_wrap_unindent:} +% \begin{macro}{\@@_wrap_allow_break:n} +% This is called after a chunk has been wrapped. The +% \cs{l_@@_line_part_tl} typically ends with a space (except at the +% beginning of a line?), which we remove since the +% \texttt{allow\_break} marker should not insert a space. Then move +% on with the next chunk, making sure to adjust the target number of +% characters for the line in case we did remove a space. +% \begin{macrocode} +\cs_new_protected:Npn \@@_wrap_allow_break:n #1 + { + \tl_set:Nx \l_@@_line_tl + { \l_@@_line_tl \@@_wrap_trim:N \l_@@_line_part_tl } + \bool_set_false:N \l_@@_line_break_bool + \tl_if_empty:NTF \l_@@_line_part_tl + { \@@_wrap_chunk:nw {#1} } + { \exp_args:Nf \@@_wrap_chunk:nw { \int_eval:n { #1 + 1 } } } + } +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@@_wrap_indent:n, \@@_wrap_unindent:n} % These functions are called after a chunk has been wrapped, when % encountering \texttt{indent}/\texttt{unindent} markers. Add the % line part (last line part of the previous chunk) to the line so far @@ -1834,7 +1883,7 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{\@@_wrap_newline:, \@@_wrap_end:} +% \begin{macro}{\@@_wrap_newline:n, \@@_wrap_end:n} % These functions are called after a chunk has been line-wrapped, when % encountering a \texttt{newline}/\texttt{end} marker. Unless we just % took a line-break, store the line part and the line so far into the @@ -1879,13 +1928,18 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}[EXP]{\@@_wrap_trim:N, \@@_wrap_trim:w} -% Remove one trailing \enquote{other} space from the argument. +% \begin{macro}[EXP]{\@@_wrap_trim:N, \@@_wrap_trim:w, \@@_wrap_trim_aux:w} +% Remove one trailing \enquote{other} space from the argument if present. % \begin{macrocode} -\cs_new:Npn \@@_wrap_trim:N #1 - { \tl_if_empty:NF #1 { \exp_after:wN \@@_wrap_trim:w #1 \q_stop } } -\exp_last_unbraced:NNNNo - \cs_new:Npn \@@_wrap_trim:w #1 \c_catcode_other_space_tl \q_stop {#1} +\cs_set_protected:Npn \@@_tmp:w #1 + { + \cs_new:Npn \@@_wrap_trim:N ##1 + { \exp_after:wN \@@_wrap_trim:w ##1 \q_mark #1 \q_mark \q_stop } + \cs_new:Npn \@@_wrap_trim:w ##1 #1 \q_mark + { \@@_wrap_trim_aux:w ##1 \q_mark } + \cs_new:Npn \@@_wrap_trim_aux:w ##1 \q_mark ##2 \q_stop {##1} + } +\exp_args:NV \@@_tmp:w \c_catcode_other_space_tl % \end{macrocode} % \end{macro} % @@ -2367,89 +2421,10 @@ { Only~#1 (arg~1)~allows~#2 } { The~command~#2 can~only~be~used~in~messages~ - which~will~be~wrapped~using~#1.~ - It~was~called~with~argument~'#3'. - } -% \end{macrocode} -% -% \subsection{Deprecated functions} -% -% \begin{variable}[deprecated = 2018-12-31]{\g_file_current_name_tl} -% For removal after 2018-12-31. -% Contrarily to most other deprecated commands this is expandable -% so we need to put code by hand in two token lists. We use -% \cs{tex_def:D} directly because \cs{g_file_current_name_tl} is made -% outer by \cs{debug_on:n} \texttt{\{deprecation\}}. -% \begin{macrocode} -\tl_new:N \g_file_current_name_tl -\tl_gset:Nn \g_file_current_name_tl { \g_file_curr_name_str } -\__kernel_deprecation_code:nn - { - \__kernel_deprecation_error:Nnn \g_file_current_name_tl - { \g_file_curr_name_str } { 2018-12-31 } - } - { \tex_def:D \g_file_current_name_tl { \g_file_curr_name_str } } -% \end{macrocode} -% \end{variable} -% -% \begin{macro}[deprecated = 2018-12-31]{\file_path_include:n} -% \begin{macro}[deprecated = 2018-12-31]{\file_path_remove:n} -% Wrapper functions to manage the search path. -% \begin{macrocode} -\__kernel_patch_deprecation:nnNNpn { 2018-12-31 } - { \seq_put_right:Nn \l_file_search_path_seq } -\cs_new_protected:Npn \file_path_include:n #1 - { - \__kernel_file_name_sanitize:nN {#1} \l_@@_full_name_str - \seq_if_in:NVF \l_file_search_path_seq \l_@@_full_name_str - { \seq_put_right:NV \l_file_search_path_seq \l_@@_full_name_str } - } -\__kernel_patch_deprecation:nnNNpn { 2018-12-31 } - { \seq_remove_all:Nn \l_file_search_path_seq } -\cs_new_protected:Npn \file_path_remove:n #1 - { - \__kernel_file_name_sanitize:nN {#1} \l_@@_full_name_str - \seq_remove_all:NV \l_file_search_path_seq \l_@@_full_name_str - } -% \end{macrocode} -% \end{macro} -% \end{macro} -% -% \begin{macro}[deprecated = 2018-12-31]{\file_add_path:nN} -% For removal after 2018-12-31. -% \begin{macrocode} -\__kernel_patch_deprecation:nnNNpn { 2018-12-31 } { \file_get_full_name:nN } -\cs_new_protected:Npn \file_add_path:nN #1#2 - { - \file_get_full_name:nN {#1} #2 - \str_if_empty:NT #2 - { \tl_set:Nn #2 { \q_no_value } } + which~will~be~wrapped~using~#1. + \tl_if_empty:nF {#3} { ~ It~was~called~with~argument~'#3'. } } % \end{macrocode} -% \end{macro} -% -% \begin{macro}[deprecated = 2018-12-31]{\file_list:} -% Renamed to \cs{file_log_list:}. For removal after 2018-12-31. -% \begin{macrocode} -\__kernel_patch_deprecation:nnNNpn { 2018-12-31 } { \file_log_list: } -\cs_new_protected:Npn \file_list: { \file_log_list: } -% \end{macrocode} -% \end{macro} -% -% \begin{macro}[added = 2014-08-22, updated = 2015-08-01, deprecated = 2018-12-31] -% {\ior_list_streams:, \ior_log_streams:, \iow_list_streams:, \iow_log_streams:} -% These got a more consistent naming. -% \begin{macrocode} -\__kernel_patch_deprecation:nnNNpn { 2018-12-31 } { \ior_show_list: } -\cs_new_protected:Npn \ior_list_streams: { \ior_show_list: } -\__kernel_patch_deprecation:nnNNpn { 2018-12-31 } { \ior_log_list: } -\cs_new_protected:Npn \ior_log_streams: { \ior_log_list: } -\__kernel_patch_deprecation:nnNNpn { 2018-12-31 } { \iow_show_list: } -\cs_new_protected:Npn \iow_list_streams: { \iow_show_list: } -\__kernel_patch_deprecation:nnNNpn { 2018-12-31 } { \iow_log_list: } -\cs_new_protected:Npn \iow_log_streams: { \iow_log_list: } -% \end{macrocode} -% \end{macro} % % \begin{macrocode} %</initex|package> diff --git a/Master/texmf-dist/source/latex/l3kernel/l3final.dtx b/Master/texmf-dist/source/latex/l3kernel/l3final.dtx index 3a404d6d7ba..36809a81885 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3final.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3final.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3final.dtx Copyright (C) 1990-2018 The LaTeX3 Project +%% File: l3final.dtx Copyright (C) 1990-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -69,7 +69,7 @@ % % The letters |a|--|z| and |A|--|Z| have the correct catcode directly from \IniTeX{} % while for Unicode engines (almost) all characters to be treated as letters -% are defined by the automatic data parsing. Thus the changes here are to +% are defined by the automatic data parsing. Thus the changes here are to % deal with the additional cases. % % All the characters in the range $0$--$31$ \emph{except} tab (|^^I|), nl diff --git a/Master/texmf-dist/source/latex/l3kernel/l3flag.dtx b/Master/texmf-dist/source/latex/l3kernel/l3flag.dtx index 1bb1b81f236..2a5e284ecd8 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3flag.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3flag.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3flag.dtx Copyright (C) 2011-2018 The LaTeX3 Project +%% File: l3flag.dtx Copyright (C) 2011-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-assign.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-assign.dtx index 43aaaa02329..d5527679b62 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-assign.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-assign.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3fp-assign.dtx Copyright (C) 2011-2017 The LaTeX3 project +%% File: l3fp-assign.dtx Copyright (C) 2011-2019 The LaTeX3 project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -38,7 +38,7 @@ % {latex-team@latex-project.org}^^A % }^^A % } -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % \maketitle % % \begin{documentation} diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-aux.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-aux.dtx index 224c41de621..785c6693069 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-aux.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-aux.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3fp-aux.dtx Copyright(C) 2011-2018 The LaTeX3 Project +%% File: l3fp-aux.dtx Copyright(C) 2011-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-basics.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-basics.dtx index 44bb46bca49..1cb866748b6 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-basics.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-basics.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3fp-basics.dtx Copyright (C) 2011-2014,2016-2018 The LaTeX3 Project +%% File: l3fp-basics.dtx Copyright (C) 2011-2014,2016-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -38,7 +38,7 @@ % {latex-team@latex-project.org}^^A % }^^A % } -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-convert.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-convert.dtx index ea329ab40de..2eaf34da4ca 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-convert.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-convert.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3fp-convert.dtx Copyright(C) 2011-2018 The LaTeX3 Project +%% File: l3fp-convert.dtx Copyright(C) 2011-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-expo.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-expo.dtx index d5a523371e9..d1c3adfdbab 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-expo.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-expo.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3fp-expo.dtx Copyright (C) 2011-2018 The LaTeX3 Project +%% File: l3fp-expo.dtx Copyright (C) 2011-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -38,7 +38,7 @@ % {latex-team@latex-project.org}^^A % }^^A % } -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-extended.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-extended.dtx index 1c70b959b3a..d6c897f4ce2 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-extended.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-extended.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3fp-extended.dtx Copyright (C) 2011-2018 The LaTeX3 Project +%% File: l3fp-extended.dtx Copyright (C) 2011-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -38,7 +38,7 @@ % {latex-team@latex-project.org}^^A % }^^A % } -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -1204,7 +1204,7 @@ { \@@_fixed_to_float_o:wN #2; #1 } \cs_new:Npn \@@_fixed_to_float_o:wN #1#2#3#4#5#6; #7 { % for the 8-digit-at-the-start thing - + \@@_int_eval:w \c_@@_block_int + + \@@_int_eval:w \c_@@_block_int \exp_after:wN \exp_after:wN \exp_after:wN \@@_fixed_to_loop:N \exp_after:wN \use_none:n diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-logic.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-logic.dtx index 21365b45ea0..d28685e956e 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-logic.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-logic.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3fp-logic.dtx Copyright (C) 2011-2018 The LaTeX3 Project +%% File: l3fp-logic.dtx Copyright (C) 2011-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -38,7 +38,7 @@ % {latex-team@latex-project.org}^^A % }^^A % } -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx index 3c13e3be6d8..a35c9ed97bb 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3fp-parse.dtx Copyright (C) 2011-2018 The LaTeX3 Project +%% File: l3fp-parse.dtx Copyright (C) 2011-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -38,7 +38,7 @@ % {latex-team@latex-project.org}^^A % }^^A % } -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -2599,7 +2599,7 @@ \cs_new:Npn \@@_parse_compare_auxi:NNNNNNN #1#2#3#4#5#6#7 { \if_case:w - \@@_int_eval:w \exp_after:wN ` \token_to_str:N #7 - `< + \@@_int_eval:w \exp_after:wN ` \token_to_str:N #7 - `< \@@_int_eval_end: \@@_parse_compare_auxii:NNNNN #2#2#4#5#6 \or: \@@_parse_compare_auxii:NNNNN #2#3#2#5#6 diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-random.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-random.dtx index 038f222028b..c38d03b584a 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-random.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-random.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3fp-random.dtx Copyright (C) 2016-2018 The LaTeX3 Project +%% File: l3fp-random.dtx Copyright (C) 2016-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -38,7 +38,7 @@ % {latex-team@latex-project.org}^^A % }^^A % } -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -421,19 +421,27 @@ \@@_randint_auxii:wn #2 ; { \@@_randint_auxii:wn #1 ; \@@_randint_auxiii_o:ww } } - \cs_new:Npn \@@_randint_auxii:wn \s_@@ \@@_chk:w 1#1#2#3 ; + \cs_new:Npn \@@_randint_auxii:wn \s_@@ \@@_chk:w #1#2#3#4 ; { - \exp_after:wN \@@_ep_to_fixed:wwn - \int_value:w \@@_int_eval:w - #2 - \c_@@_prec_int , #3 {0000} {0000} ; + \if_meaning:w 0 #1 + \exp_after:wN \use_i:nn + \else: + \exp_after:wN \use_ii:nn + \fi: + { \exp_after:wN \@@_fixed_continue:wn \c_@@_one_fixed_tl } { - \if_meaning:w 0 #1 - \exp_after:wN \use_i:nnnn - \exp_after:wN \@@_fixed_add_one:wN - \fi: - \exp_after:wN \@@_fixed_sub:wwn \c_@@_one_fixed_tl + \exp_after:wN \@@_ep_to_fixed:wwn + \int_value:w \@@_int_eval:w + #3 - \c_@@_prec_int , #4 {0000} {0000} ; + { + \if_meaning:w 0 #2 + \exp_after:wN \use_i:nnnn + \exp_after:wN \@@_fixed_add_one:wN + \fi: + \exp_after:wN \@@_fixed_sub:wwn \c_@@_one_fixed_tl + } + \@@_fixed_continue:wn } - \@@_fixed_continue:wn } \cs_new:Npn \@@_randint_auxiii_o:ww #1 ; #2 ; { diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-round.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-round.dtx index 6a3ad894c99..2c612568e5b 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-round.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-round.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3fp-round.dtx Copyright(C) 2011-2018 The LaTeX3 Project +%% File: l3fp-round.dtx Copyright(C) 2011-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-traps.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-traps.dtx index 287adb037cf..efeaeaf1b56 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-traps.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-traps.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3fp-traps.dtx Copyright (C) 2011-2014,2016,2017 The LaTeX3 Project +%% File: l3fp-traps.dtx Copyright (C) 2011-2014,2016-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -38,7 +38,7 @@ % {latex-team@latex-project.org}^^A % }^^A % } -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % \maketitle % % \begin{documentation} diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx index ede5b7c1caf..af79954fe77 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3fp-trig.dtx Copyright (C) 2011-2018 The LaTeX3 Project +%% File: l3fp-trig.dtx Copyright (C) 2011-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -38,7 +38,7 @@ % {latex-team@latex-project.org}^^A % }^^A % } -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp.dtx index 77472f65103..b3f9a5801ea 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3fp.dtx Copyright (C) 2011-2018 The LaTeX3 Project +%% File: l3fp.dtx Copyright (C) 2011-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -47,7 +47,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fparray.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fparray.dtx index 2a3daa476a1..645c9106276 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fparray.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fparray.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3fparray.dtx Copyright (C) 2018 The LaTeX3 Project +%% File: l3fparray.dtx Copyright (C) 2018-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -42,7 +42,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3int.dtx b/Master/texmf-dist/source/latex/l3kernel/l3int.dtx index f9d75e4c7b6..30e5841cc26 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3int.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3int.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3int.dtx Copyright (C) 1990-2018 The LaTeX3 Project +%% File: l3int.dtx Copyright (C) 1990-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -2557,26 +2557,6 @@ % % \subsection{Deprecated} % -% \begin{variable}[deprecated = 2018-12-31]{\c_minus_one} -% The actual allocation mechanism is in \pkg{l3alloc}. -% In package mode, reuse \tn{m@ne}. -% We also store in two global token lists some code for -% \cs{debug_on:n} \texttt{\{deprecation\}} and \cs{debug_off:n} -% \texttt{\{deprecation\}}. For the -% latter, we need to locally set \cs{c_minus_one} back to the constant -% hence use a private name. We use \cs{tex_let:D} directly because -% \cs{c_minus_one} (as all deprecated commands) is made outer by -% \cs{debug_on:n} \texttt{\{deprecation\}}. -% \begin{macrocode} -%<package>\cs_gset_eq:NN \c_@@_minus_one \m@ne -%<initex>\int_const:Nn \c_@@_minus_one { -1 } -\cs_new_eq:NN \c_minus_one \c_@@_minus_one -\__kernel_deprecation_code:nn - { \__kernel_deprecation_error:Nnn \c_minus_one { -1 } { 2018-12-31 } } - { \tex_let:D \c_minus_one \c_@@_minus_one } -% \end{macrocode} -% \end{variable} -% % \begin{variable}[deprecated = 2019-12-31] % { % \c_zero, \c_one, \c_two, \c_three, \c_four, \c_five, \c_six, diff --git a/Master/texmf-dist/source/latex/l3kernel/l3intarray.dtx b/Master/texmf-dist/source/latex/l3kernel/l3intarray.dtx index a67f7b74ad2..df0086a304b 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3intarray.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3intarray.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3intarray.dtx Copyright (C) 2017-2018 The LaTeX3 Project +%% File: l3intarray.dtx Copyright (C) 2017-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -42,7 +42,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3kernel-functions.dtx b/Master/texmf-dist/source/latex/l3kernel/l3kernel-functions.dtx index 75d2ac887a8..bfa72d34198 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3kernel-functions.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3kernel-functions.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3kernel-functions.dtx Copyright (C) 2018 The LaTeX3 project +%% File: l3kernel-functions.dtx Copyright (C) 2018-2019 The LaTeX3 project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3keys.dtx b/Master/texmf-dist/source/latex/l3kernel/l3keys.dtx index eef25a90f88..99872d40ada 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3keys.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3keys.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3keys.dtx Copyright (C) 2006-2018 The LaTeX3 Project +%% File: l3keys.dtx Copyright (C) 2006-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -1094,7 +1094,7 @@ % \begin{macro}[EXP]{\@@_def_aux:n} % \begin{macro}[EXP]{\@@_def_aux:w} % First remove the leading quark, then trim spaces off, and finally remove -% a set of braces. +% a set of braces. % \begin{macrocode} \cs_new_protected:Npn \@@_def:Nn #1#2 { @@ -2154,7 +2154,7 @@ \cs_generate_variant:Nn \@@_set_selective:nnnn { o } \cs_new_protected:Npn \@@_set_selective:nn #1#2 { - \bool_set_true:N \l_@@_selective_bool + \bool_set_true:N \l_@@_selective_bool \keys_set:nn {#1} {#2} \bool_set_false:N \l_@@_selective_bool } @@ -2295,7 +2295,7 @@ { \tl_set_eq:Nc \l_keys_value_tl - { \c_@@_default_root_tl \l_keys_path_tl } + { \c_@@_default_root_tl \l_keys_path_tl } } { \tl_clear:N \l_keys_value_tl } } @@ -2352,7 +2352,7 @@ \clist_map_break:n { \use_none:n } } } - \@@_execute_unknown: + \@@_execute_unknown: } \cs_new_protected:Npn \@@_execute_unknown: { diff --git a/Master/texmf-dist/source/latex/l3kernel/l3luatex.dtx b/Master/texmf-dist/source/latex/l3kernel/l3luatex.dtx index e99e293795a..6c37f960f78 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3luatex.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3luatex.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3luatex.dtx Copyright (C) 2010-2018 The LaTeX3 Project +%% File: l3luatex.dtx Copyright (C) 2010-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -158,7 +158,7 @@ % \begin{quote} % |D:|\meta{year}\meta{month}\meta{day}\meta{hour}\meta{minute}^^A % \meta{second}\meta{offset} -% \end{quote} +% \end{quote} % where the latter may be |Z| (UTC) or % \meta{plus-minus}\meta{hours}|'|\meta{minutes}|'|. If the \meta{file} is % not found, nothing is returned with \emph{no error raised}. diff --git a/Master/texmf-dist/source/latex/l3kernel/l3msg.dtx b/Master/texmf-dist/source/latex/l3kernel/l3msg.dtx index 482ddf423c9..504419ac23d 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3msg.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3msg.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3msg.dtx Copyright (C) 2009-2018 The LaTeX3 Project +%% File: l3msg.dtx Copyright (C) 2009-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3names.dtx b/Master/texmf-dist/source/latex/l3kernel/l3names.dtx index 500b4c7ecb7..bc8ebd43ed2 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3names.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3names.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3names.dtx Copyright (C) 1990-2018 The LaTeX3 project +%% File: l3names.dtx Copyright (C) 1990-2019 The LaTeX3 project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -691,7 +691,7 @@ %<*initex|names|package> % \end{macrocode} % \XeTeX{}-specific primitives. Note that \XeTeX{}'s \tn{strcmp} is -% handled earlier and is \enquote{rolled up} into \tn{pdfstrcmp}. +% handled earlier and is \enquote{rolled up} into \tn{pdfstrcmp}. % A few cross-compatibility names which lack % the |pdf| of the original are handled later. % \begin{macrocode} diff --git a/Master/texmf-dist/source/latex/l3kernel/l3oldmodules.dtx b/Master/texmf-dist/source/latex/l3kernel/l3oldmodules.dtx deleted file mode 100644 index b98ff93d266..00000000000 --- a/Master/texmf-dist/source/latex/l3kernel/l3oldmodules.dtx +++ /dev/null @@ -1,129 +0,0 @@ -% \iffalse meta-comment -% -%% File: l3oldmodules.dtx Copyright (C) 2014-2018 The LaTeX3 Project -% -% It may be distributed and/or modified under the conditions of the -% LaTeX Project Public License (LPPL), either version 1.3c of this -% license or (at your option) any later version. The latest version -% of this license is in the file -% -% https://www.latex-project.org/lppl.txt -% -% This file is part of the "l3kernel bundle" (The Work in LPPL) -% and all files in that bundle must be distributed together. -% -% ----------------------------------------------------------------------- -% -% The development version of the bundle can be found at -% -% https://github.com/latex3/latex3 -% -% for those people who are interested. -% -%<*driver|oldmodules> -%</driver|oldmodules> -%<*driver> -\documentclass[full,kernel]{l3doc} -\begin{document} - \DocInput{\jobname.dtx} -\end{document} -%</driver> -% \fi -% -% \title{Obsolete individual modules} -% -% \author{^^A -% The \LaTeX3 Project\thanks -% {^^A -% E-mail: -% \href{mailto:latex-team@latex-project.org} -% {latex-team@latex-project.org}^^A -% }^^A -% } -% -% -% \date{Released 2018-12-12} -% -% \maketitle -% -% \section{Introduction} -% -% \begin{documentation} -% The source code for \texttt{expl3} is organized by modules, e.g., -% integer processing is found in \texttt{l3int.dtx}, etc. Initially -% each such module was used to generate a corresponding -% \texttt{.sty} that was then loaded as part of the \texttt{expl3} -% package. -% -% It was however also possible to load only individual modules (they -% would then load other modules as necessary. This scheme was done -% to ease testing and updates during the time the kernel code saw a -% lot of update. -% -% However, keeping dependencies between modules current became a -% complex task and in fact most modules would require most other -% modules so that in the end everything or nearly everything was -% loaded anyway. -% -% We therefore decided to stop providing individual module packages -% but instead generate all code into a single file that is then -% loaded as part of the \texttt{expl3} package. This decision was -% announced a while back and with the recent \texttt{expl3} -% distributions it because a reality. -% -% To help user that do have code or documents referencing the old -% module packages, we provide (for the time being) skeleton packages -% that generate an error message and then load the \texttt{expl3} so -% that the user can continue. -% Eventually these packages will get fully removed. -% \end{documentation} -% -% \section{Implementation} -% -% \begin{implementation} -% -% First store the current package name in a macro for later use. -% \begin{macrocode} -%<*oldmodules> -\def\old@liii@module@name -%<l3regex>{l3regex} -%<l3sort>{l3sort} -%<l3str>{l3str} -%<l3tl-analysis>{l3tl-analysis} -%<l3tl-build>{l3tl-build} -% \end{macrocode} -% -% Then identify the current package: -% \begin{macrocode} -\ProvidesPackage\old@liii@module@name - [% - 2017/03/18 Obsolete L3 package - ] -% \end{macrocode} -% Describe the current situation on the terminal, then generate an -% error to ensure that the message is actually seen. -% \begin{macrocode} -\typeout{*****************************************************************} -\typeout{** } -\typeout{** Package \old@liii@module@name\space is obsolete and has been removed!} -\typeout{** } -\typeout{** Its functionality is now only provided as part of the expl3 package.} -\typeout{** } -\typeout{** The old packages will be removed entirely at the end of 2018.} -\typeout{** } -\typeout{** Therefore, please replace '\string\usepackage{\old@liii@module@name}'} -\typeout{** with '\string\usepackage{expl3}' in your documents as soon as possible.} -\typeout{** } -\typeout{*******************************************************************} -\PackageWarning - \old@liii@module@name{This package is obsolete --- - use 'expl3' instead} -% \end{macrocode} -% Finally load \texttt{expl3} so that the user can continue for now. -% \begin{macrocode} -\RequirePackage{expl3} -%</oldmodules> -% \end{macrocode} -% -% \end{implementation} - diff --git a/Master/texmf-dist/source/latex/l3kernel/l3prg.dtx b/Master/texmf-dist/source/latex/l3kernel/l3prg.dtx index 2f098c37d15..e2d840e61bd 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3prg.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3prg.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3prg.dtx Copyright (C) 2005-2018 The LaTeX3 Project +%% File: l3prg.dtx Copyright (C) 2005-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3prop.dtx b/Master/texmf-dist/source/latex/l3kernel/l3prop.dtx index c70c0c18966..dabb81ef207 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3prop.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3prop.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3prop.dtx Copyright (C) 1990-2018 The LaTeX3 Project +%% File: l3prop.dtx Copyright (C) 1990-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3quark.dtx b/Master/texmf-dist/source/latex/l3kernel/l3quark.dtx index 3507d524eb8..a14c8a2a0d1 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3quark.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3quark.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3quark.dtx Copyright (C) 1990-2018 The LaTeX3 Project +%% File: l3quark.dtx Copyright (C) 1990-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3regex.dtx b/Master/texmf-dist/source/latex/l3kernel/l3regex.dtx index c3812e26443..a7c8f1db9e8 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3regex.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3regex.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3regex.dtx Copyright (C) 2011-2018 The LaTeX3 Project +%% File: l3regex.dtx Copyright (C) 2011-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -3042,7 +3042,7 @@ { \@@_two_if_eq:NNNNTF #1 #2 \@@_compile_special:N ) { - \cs_set:Npn \@@_item_equal:n + \cs_set:Npn \@@_item_equal:n { \@@_item_caseless_equal:n } \cs_set:Npn \@@_item_range:nn { \@@_item_caseless_range:nn } diff --git a/Master/texmf-dist/source/latex/l3kernel/l3seq.dtx b/Master/texmf-dist/source/latex/l3kernel/l3seq.dtx index 8e4d7b58b0e..5cf035feca5 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3seq.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3seq.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3seq.dtx Copyright (C) 1990-2018 The LaTeX3 Project +%% File: l3seq.dtx Copyright (C) 1990-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % diff --git a/Master/texmf-dist/source/latex/l3kernel/l3skip.dtx b/Master/texmf-dist/source/latex/l3kernel/l3skip.dtx index 5e4098eb367..4b74e4e4e0c 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3skip.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3skip.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % %% File: l3skip.dtx Copyright (C) 2004-2011 Frank Mittelbach, The LaTeX3 Project -%% (C) 2012-2018 The LaTeX3 Project +%% (C) 2012-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -42,7 +42,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -178,7 +178,7 @@ % \dim_set:Nn \l_my_dim % { 10 pt * \dim_ratio:nn { 5 pt } { 10 pt } } % \end{verbatim} -% The output of \cs{dim_ratio:nn} on full expansion is a ration expression +% The output of \cs{dim_ratio:nn} on full expansion is a ratio expression % between two integers, with all distances converted to scaled points. % Thus % \begin{verbatim} diff --git a/Master/texmf-dist/source/latex/l3kernel/l3sort.dtx b/Master/texmf-dist/source/latex/l3kernel/l3sort.dtx index bb2d6f966e5..a3e71fbdf6f 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3sort.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3sort.dtx @@ -1,6 +1,6 @@ % \iffalse % -%% File l3sort.dtx (C) Copyright 2012-2018 The LaTeX3 Project +%% File l3sort.dtx (C) Copyright 2012-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -551,49 +551,67 @@ { \tex_the:D \tex_toks:D \exp_after:wN \l_@@_A_int \exp_after:wN } \exp_after:wN { \tex_the:D \tex_toks:D \l_@@_C_int } \prg_do_nothing: - \@@_return_mark:N - \@@_return_mark:N + \@@_return_mark:w + \@@_return_mark:w + \q_mark \@@_return_none_error: } % \end{macrocode} % \end{macro} % % \begin{macro}{\sort_return_same:, \sort_return_swapped:} -% \begin{macro}{\@@_return_mark:N} -% \begin{macro}{\@@_return_none_error:, \@@_return_two_error:w} -% The marker removes one token. Each comparison should call -% \cs{sort_return_same:} or \cs{sort_return_swapped:} exactly -% once. If neither is called, \cs{@@_return_none_error:} is called. +% \begin{macro}{\@@_return_mark:w} +% \begin{macro}{\@@_return_none_error:, \@@_return_two_error:} +% Each comparison should call \cs{sort_return_same:} or +% \cs{sort_return_swapped:} exactly once. If neither is called, +% \cs{@@_return_none_error:} is called, since the \texttt{return_mark} +% removes tokens until \cs{q_mark}. If one is called, the +% \texttt{return_mark} auxiliary removes everything except +% \cs{@@_return_same:w} (or its \texttt{swapped} analogue) followed by +% \cs{@@_return_none_error:}. Finally if two or more are called, +% \cs{@@_return_two_error:} ends up before any \cs{@@_return_mark:w}, +% so that it produces an error. % \begin{macrocode} -\cs_new_protected:Npn \sort_return_same: #1 \@@_return_mark:N +\cs_new_protected:Npn \sort_return_same: + #1 \@@_return_mark:w #2 \q_mark { #1 - \@@_return_mark:N - \@@_return_two_error:w \@@_return_same: + #2 + \@@_return_two_error: + \@@_return_mark:w + \q_mark + \@@_return_same:w } -\cs_new_protected:Npn \sort_return_swapped: #1 \@@_return_mark:N +\cs_new_protected:Npn \sort_return_swapped: + #1 \@@_return_mark:w #2 \q_mark { #1 - \@@_return_mark:N - \@@_return_two_error:w \@@_return_swapped: + #2 + \@@_return_two_error: + \@@_return_mark:w + \q_mark + \@@_return_swapped:w } -\cs_new_protected:Npn \@@_return_mark:N #1 { } +\cs_new_protected:Npn \@@_return_mark:w #1 \q_mark { } \cs_new_protected:Npn \@@_return_none_error: { \__kernel_msg_error:nnxx { kernel } { return-none } { \tex_the:D \tex_toks:D \l_@@_A_int } { \tex_the:D \tex_toks:D \l_@@_C_int } - \@@_return_same: + \@@_return_same:w \@@_return_none_error: + } +\cs_new_protected:Npn \@@_return_two_error: + { + \__kernel_msg_error:nnxx { kernel } { return-two } + { \tex_the:D \tex_toks:D \l_@@_A_int } + { \tex_the:D \tex_toks:D \l_@@_C_int } } -\cs_new_protected:Npn \@@_return_two_error:w - #1 \@@_return_none_error: - { \__kernel_msg_error:nn { kernel } { return-two } } % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % -% \begin{macro}{\@@_return_same:} +% \begin{macro}{\@@_return_same:w} % If the comparison function returns \texttt{same}, % then the second argument fed to \cs{@@_compare:nn} % should remain to the right of the other one. Since @@ -605,7 +623,7 @@ % is already in the correct registers and we are done % with merging those two blocks. % \begin{macrocode} -\cs_new_protected:Npn \@@_return_same: +\cs_new_protected:Npn \@@_return_same:w #1 \@@_return_none_error: { \tex_toks:D \l_@@_B_int \tex_toks:D \l_@@_C_int \int_decr:N \l_@@_B_int @@ -618,7 +636,7 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{\@@_return_swapped:} +% \begin{macro}{\@@_return_swapped:w} % If the comparison function returns \texttt{swapped}, % then the next item to add to the merger is the first % argument, contents of the \tn{toks} register $A$. @@ -629,7 +647,7 @@ % the second block, indexed by $C$, are copied % to the merger by \cs{@@_merge_blocks_end:}. % \begin{macrocode} -\cs_new_protected:Npn \@@_return_swapped: +\cs_new_protected:Npn \@@_return_swapped:w #1 \@@_return_none_error: { \tex_toks:D \l_@@_B_int \tex_toks:D \l_@@_A_int \int_decr:N \l_@@_B_int @@ -1067,25 +1085,13 @@ \__kernel_msg_new:nnnn { kernel } { return-two } { The~comparison~code~returned~multiple~times. } { - When~sorting~a~list,~the~code~to~compare~items~called~ + When~sorting~a~list,~the~code~to~compare~items~#1~and~#2~called~ \iow_char:N\\sort_return_same: ~or~ \iow_char:N\\sort_return_swapped: ~multiple~times.~ Exactly~one~of~these~should~be~called. } % \end{macrocode} % -% \subsection{Deprecated functions} -% -% \begin{macro}[deprecated = 2018-12-31]{\sort_ordered:, \sort_reversed:} -% These functions were renamed for consistency. -% \begin{macrocode} -\__kernel_patch_deprecation:nnNNpn { 2018-12-31 } { \sort_return_same: } -\cs_new_protected:Npn \sort_ordered: { \sort_return_same: } -\__kernel_patch_deprecation:nnNNpn { 2018-12-31 } { \sort_return_swapped: } -\cs_new_protected:Npn \sort_reversed: { \sort_return_swapped: } -% \end{macrocode} -% \end{macro} -% % \begin{macrocode} %</initex|package> % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/l3kernel/l3str.dtx b/Master/texmf-dist/source/latex/l3kernel/l3str.dtx index 0eb50ae3775..4b8ea892e4c 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3str.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3str.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3str.dtx Copyright (C) 2011-2018 The LaTeX3 Project +%% File: l3str.dtx Copyright (C) 2011-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -614,11 +614,23 @@ % \end{syntax} % Converts the \meta{token list} to a \meta{string}, and leaves in the % input stream the characters from the \meta{start index} to the -% \meta{end index} inclusive. Positive \meta{indices} are counted -% from the start of the string, $1$~being the first character, and -% negative \meta{indices} are counted from the end of the string, -% $-1$~being the last character. If either of \meta{start index} or -% \meta{end index} is~$0$, the result is empty. For instance, +% \meta{end index} inclusive. Spaces are preserved and counted as items +% (contrast this with \cs{tl_range:nnn} where spaces are not counted as +% items and are possibly discarded from the output). +% +% Here \meta{start index} and \meta{end index} should be integer denotations. +% For describing in detail the functions' behavior, let $m$ and $n$ be the start +% and end index respectively. If either is $0$, the result is empty. A positive +% index means `start counting from the left end', a negative index means +% `start counting from the right end'. Let $l$ be the count of the token list. +% +% The \emph{actual start point} is determined as $M=m$ if~$m>0$ and as $M=l+m+1$ +% if~$m<0$. Similarly the \emph{actual end point} is $N=n$ if~$n>0$ and $N=l+n+1$ +% if~$n<0$. If $M>N$, the result is empty. Otherwise it consists of all items from +% position $M$ to position $N$ inclusive; for the purpose of this rule, we can +% imagine that the token list extends at infinity on either side, with void items +% at positions $s$ for $s\le0$ or $s>l$. +% For instance, % \begin{verbatim} % \iow_term:x { \str_range:nnn { abcdef } { 2 } { 5 } } % \iow_term:x { \str_range:nnn { abcdef } { -4 } { -1 } } @@ -634,6 +646,32 @@ % \iow_term:x { \str_range:nnn { abcdef } { -1 } { -4 } } % \end{verbatim} % both yield empty strings. +% +% The behavior of \cs{str_range_ignore_spaces:nnn} is similar, but spaces +% are removed before starting the job. The input +% \begin{verbatim} +% \iow_term:x { \str_range:nnn { abcdefg } { 2 } { 5 } } +% \iow_term:x { \str_range:nnn { abcdefg } { 2 } { -3 } } +% \iow_term:x { \str_range:nnn { abcdefg } { -6 } { 5 } } +% \iow_term:x { \str_range:nnn { abcdefg } { -6 } { -3 } } +% +% \iow_term:x { \str_range:nnn { abc~efg } { 2 } { 5 } } +% \iow_term:x { \str_range:nnn { abc~efg } { 2 } { -3 } } +% \iow_term:x { \str_range:nnn { abc~efg } { -6 } { 5 } } +% \iow_term:x { \str_range:nnn { abc~efg } { -6 } { -3 } } +% +% \iow_term:x { \str_range_ignore_spaces:nnn { abcdefg } { 2 } { 5 } } +% \iow_term:x { \str_range_ignore_spaces:nnn { abcdefg } { 2 } { -3 } } +% \iow_term:x { \str_range_ignore_spaces:nnn { abcdefg } { -6 } { 5 } } +% \iow_term:x { \str_range_ignore_spaces:nnn { abcdefg } { -6 } { -3 } } +% +% \iow_term:x { \str_range_ignore_spaces:nnn { abcd~efg } { 2 } { 5 } } +% \iow_term:x { \str_range_ignore_spaces:nnn { abcd~efg } { 2 } { -3 } } +% \iow_term:x { \str_range_ignore_spaces:nnn { abcd~efg } { -6 } { 5 } } +% \iow_term:x { \str_range_ignore_spaces:nnn { abcd~efg } { -6 } { -3 } } +% \end{verbatim} +% will print four instances of |bcde|, four instances of |bc e| and eight +% instances of |bcde|. % \end{function} % % \section{String manipulation} diff --git a/Master/texmf-dist/source/latex/l3kernel/l3sys.dtx b/Master/texmf-dist/source/latex/l3kernel/l3sys.dtx index 3aa20856ee2..557739569f1 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3sys.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3sys.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3sys.dtx Copyright (C) 2015-2018 The LaTeX3 Project +%% File: l3sys.dtx Copyright (C) 2015-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -58,7 +58,7 @@ % \end{variable} % % \section{Date and time} -% +% % \begin{variable}[added = 2015-09-22] % { % \c_sys_minute_int, diff --git a/Master/texmf-dist/source/latex/l3kernel/l3tl-analysis.dtx b/Master/texmf-dist/source/latex/l3kernel/l3tl-analysis.dtx index b81545a05da..1d2527dc041 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3tl-analysis.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3tl-analysis.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3tl-analysis.dtx Copyright (C) 2011-2018 The LaTeX3 Project +%% File: l3tl-analysis.dtx Copyright (C) 2011-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -42,7 +42,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -638,7 +638,7 @@ \tex_advance:D \l_@@_analysis_type_int \l_@@_analysis_type_int \fi: \tex_skip:D \l_@@_analysis_index_int - = \l_@@_analysis_normal_int sp + = \l_@@_analysis_normal_int sp plus \l_@@_analysis_type_int sp \scan_stop: \int_incr:N \l_@@_analysis_index_int \int_zero:N \l_@@_analysis_normal_int @@ -916,7 +916,7 @@ \@@_analysis_map_inline_aux:nnn {##1} {##3} {##2} } \cs_gset_protected:Npn \@@_analysis_map_inline_aux:nnn ##1##2##3 - { + { #2 #1 } diff --git a/Master/texmf-dist/source/latex/l3kernel/l3tl.dtx b/Master/texmf-dist/source/latex/l3kernel/l3tl.dtx index b85b98a9222..1d44094605b 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3tl.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3tl.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3tl.dtx Copyright (C) 1990-2018 The LaTeX3 Project +%% File: l3tl.dtx Copyright (C) 1990-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -1034,7 +1034,7 @@ % \end{syntax} % Leaves in the input stream the items from the \meta{start index} to the % \meta{end index} inclusive. Spaces and braces are preserved between -% the items returned (but never at either end of the list). +% the items returned (but never at either end of the list). % % Here \meta{start index} and \meta{end index} should be integer denotations. % For describing in detail the functions' behavior, let $m$ and $n$ be the start @@ -1052,7 +1052,7 @@ % Spaces in between items in the actual range are preserved. Spaces at either end % of the token list will be removed anyway (think to the token list being passed to % |\tl_trim_spaces:n| to begin with. -% +% % Thus, with $l=7$ as in the examples below, all of the following are equivalent % and result in the whole token list % \begin{verbatim} @@ -1081,14 +1081,14 @@ % \tl_range:nnn { abcd~{e{}}f } { 2 } { 4 } % \end{verbatim} % will discard the space after `d`. -% +% % If we want to get the items from the third to the last, the call % is |\tl_range:nnn { <tl> } { 3 } { -1 }|. Similarly, for discarding % the last item, we can do |\tl_range:nnn { <tl> } { 1 } { -2 }|. -% +% % The behavior of \cs{tl_range:Nnn} is exactly the same, acting on the % contents of the tl variable. -% +% % For improved performance, see \cs{tl_range_braced:nnn} and % \cs{tl_range_unbraced:nnn}. % \begin{texnote} diff --git a/Master/texmf-dist/source/latex/l3kernel/l3token.dtx b/Master/texmf-dist/source/latex/l3kernel/l3token.dtx index 312d4546dac..e2046695e6f 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3token.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3token.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3token.dtx Copyright (C) 2005-2018 The LaTeX3 Project +%% File: l3token.dtx Copyright (C) 2005-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -2515,16 +2515,6 @@ % \end{macro} % \end{macro} % -% \subsection{Deprecated functions} -% -% \begin{macro}[deprecated=2018-12-31]{\token_new:Nn} -% For removal after 2018-12-31. -% \begin{macrocode} -\__kernel_patch_deprecation:nnNNpn { 2018-12-31 } { \cs_new_eq:NN } -\cs_new_protected:Npn \token_new:Nn #1#2 { \cs_new_eq:NN #1 #2 } -% \end{macrocode} -% \end{macro} -% % \begin{macrocode} %</initex|package> % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/l3kernel/l3unicode.dtx b/Master/texmf-dist/source/latex/l3kernel/l3unicode.dtx index 9506e49fbd0..ef39b6e3dc1 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3unicode.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3unicode.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3unicode.dtx Copyright (C) 2018 The LaTeX3 Project +%% File: l3unicode.dtx Copyright (C) 2018-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -218,14 +218,14 @@ \ior_close:N \g_@@_data_ior \group_end: } -% \end{macrocode} +% \end{macrocode} % For the $8$-bit engines, the above is skipped but there is still some % set up required. As case changing can only be applied to bytes, and % they have to be in the ASCII range, we define a series of data stores % to represent them, and the data are used such that only these are % ever case-changed. We do open and close one file to force allocation of % a read: this keeps all engines in line. -% \begin{macrocode} +% \begin{macrocode} { \group_begin: \cs_set_protected:Npn \@@_tmp:NN #1#2 |