diff options
author | Karl Berry <karl@freefriends.org> | 2015-06-19 22:34:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-06-19 22:34:54 +0000 |
commit | 8ec6f52457309f1e1152d881c29acc8f8c775442 (patch) | |
tree | 3b3247c79f170cc40a286743fb4e1265255cbb06 /Master/texmf-dist/tex | |
parent | 487de9cd41f430fd78e869079c420f36a8ff051a (diff) |
l3 (19jun15)
git-svn-id: svn://tug.org/texlive/trunk@37621 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
13 files changed, 185 insertions, 144 deletions
diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3sort/l3sort.sty b/Master/texmf-dist/tex/latex/l3experimental/l3sort/l3sort.sty index 626fb98a3c0..62f05087b94 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3sort/l3sort.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3sort/l3sort.sty @@ -13,7 +13,7 @@ %% %% Do not distribute a modified version of this file. %% -%% File l3sort.dtx (C) Copyright 2012,2014 The LaTeX3 Project +%% File l3sort.dtx (C) Copyright 2012,2014,2015 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 @@ -46,8 +46,8 @@ %% %% ----------------------------------------------------------------------- %% -\RequirePackage{expl3}[2014/11/25] -\@ifpackagelater{expl3}{2014/11/25} +\RequirePackage{expl3}[2015/06/15] +\@ifpackagelater{expl3}{2015/06/15} {} {% \PackageError{l3sort}{Support package l3kernel too old} @@ -59,7 +59,7 @@ }% \endinput } -\GetIdInfo$Id: l3sort.dtx 5471 2014-11-25 20:11:29Z joseph $ +\GetIdInfo$Id: l3sort.dtx 5630 2015-06-15 08:49:02Z joseph $ {L3 Experimental sorting functions} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3flag.sty b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3flag.sty index 45260c09f87..3dad3c21bfe 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3flag.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3flag.sty @@ -13,7 +13,7 @@ %% %% Do not distribute a modified version of this file. %% -%% File: l3flag.dtx Copyright (C) 2011-2012,2104 The LaTeX3 Project +%% File: l3flag.dtx Copyright (C) 2011-2012,2014,2015 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 @@ -45,8 +45,8 @@ %% prior consultation with the LaTeX3 Project. %% %% ----------------------------------------------------------------------- -\RequirePackage{expl3}[2014/11/25] -\@ifpackagelater{expl3}{2014/11/25} +\RequirePackage{expl3}[2015/06/15] +\@ifpackagelater{expl3}{2015/06/15} {} {% \PackageError{l3flag}{Support package l3kernel too old} @@ -58,7 +58,7 @@ }% \endinput } -\GetIdInfo$Id: l3flag.dtx 5471 2014-11-25 20:11:29Z joseph $ +\GetIdInfo$Id: l3flag.dtx 5630 2015-06-15 08:49:02Z joseph $ {L3 Experimental flags} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex-trace.sty b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex-trace.sty index becb142c763..6d6be77a1cc 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex-trace.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex-trace.sty @@ -13,7 +13,7 @@ %% %% Do not distribute a modified version of this file. %% -%% File: l3regex.dtx Copyright (C) 2011-2014 The LaTeX3 Project +%% File: l3regex.dtx Copyright (C) 2011-2015 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 @@ -45,8 +45,8 @@ %% prior consultation with the LaTeX3 Project. %% %% ----------------------------------------------------------------------- -\RequirePackage{expl3}[2014/11/25] -\@ifpackagelater{expl3}{2014/11/25} +\RequirePackage{expl3}[2015/06/15] +\@ifpackagelater{expl3}{2015/06/15} {} {% \PackageError{l3regex}{Support package l3kernel too old} @@ -58,7 +58,7 @@ }% \endinput } -\GetIdInfo$Id: l3regex.dtx 5471 2014-11-25 20:11:29Z joseph $ +\GetIdInfo$Id: l3regex.dtx 5630 2015-06-15 08:49:02Z joseph $ {L3 Experimental regular expressions} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex.sty b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex.sty index b2839ed61f1..4b322b68ba1 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex.sty @@ -13,7 +13,7 @@ %% %% Do not distribute a modified version of this file. %% -%% File: l3regex.dtx Copyright (C) 2011-2014 The LaTeX3 Project +%% File: l3regex.dtx Copyright (C) 2011-2015 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 @@ -45,8 +45,8 @@ %% prior consultation with the LaTeX3 Project. %% %% ----------------------------------------------------------------------- -\RequirePackage{expl3}[2014/11/25] -\@ifpackagelater{expl3}{2014/11/25} +\RequirePackage{expl3}[2015/06/15] +\@ifpackagelater{expl3}{2015/06/15} {} {% \PackageError{l3regex}{Support package l3kernel too old} @@ -58,7 +58,7 @@ }% \endinput } -\GetIdInfo$Id: l3regex.dtx 5471 2014-11-25 20:11:29Z joseph $ +\GetIdInfo$Id: l3regex.dtx 5630 2015-06-15 08:49:02Z joseph $ {L3 Experimental regular expressions} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str.sty b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str.sty index cb419358e4d..35b91ae711e 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str.sty @@ -13,7 +13,7 @@ %% %% Do not distribute a modified version of this file. %% -%% File: l3str.dtx Copyright (C) 2011-2014 The LaTeX3 Project +%% File: l3str.dtx Copyright (C) 2011-2015 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 @@ -45,8 +45,8 @@ %% prior consultation with the LaTeX3 Project. %% %% ----------------------------------------------------------------------- -\RequirePackage{expl3}[2014/11/25] -\@ifpackagelater{expl3}{2014/11/25} +\RequirePackage{expl3}[2015/06/15] +\@ifpackagelater{expl3}{2015/06/15} {} {% \PackageError{l3str}{Support package l3kernel too old} @@ -58,7 +58,7 @@ }% \endinput } -\GetIdInfo$Id: l3str-expl.dtx 5471 2014-11-25 20:11:29Z joseph $ +\GetIdInfo$Id: l3str-expl.dtx 5630 2015-06-15 08:49:02Z joseph $ {L3 Experimental strings} \def\ExplFileName{l3str} \ProvidesExplPackage diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3tl-build.sty b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3tl-build.sty index c2f1b05c180..244d6164930 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3tl-build.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3tl-build.sty @@ -13,7 +13,7 @@ %% %% Do not distribute a modified version of this file. %% -%% File: l3tl-build.dtx Copyright (C) 2011-2012 The LaTeX3 Project +%% File: l3tl-build.dtx Copyright (C) 2011-2015 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 @@ -45,8 +45,8 @@ %% prior consultation with the LaTeX3 Project. %% %% ----------------------------------------------------------------------- -\RequirePackage{expl3}[2014/08/25] -\@ifpackagelater{expl3}{2014/08/25} +\RequirePackage{expl3}[2015/06/15] +\@ifpackagelater{expl3}{2015/06/15} {} {% \PackageError{l3tl-build}{Support package l3kernel too old} @@ -58,7 +58,7 @@ }% \endinput } -\GetIdInfo$Id: l3tl-build.dtx 5378 2014-08-25 10:59:48Z joseph $ +\GetIdInfo$Id: l3tl-build.dtx 5630 2015-06-15 08:49:02Z joseph $ {L3 Experimental token list construction} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} diff --git a/Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty b/Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty index b18798c22a8..3d4b1b1582b 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty @@ -47,8 +47,8 @@ %% %% ----------------------------------------------------------------------- %% -\RequirePackage{expl3}[2014/09/15] -\@ifpackagelater{expl3}{2014/09/15} +\RequirePackage{expl3}[2015/06/15] +\@ifpackagelater{expl3}{2015/06/15} {} {% \PackageError{l3galley}{Support package l3kernel too old} @@ -60,7 +60,7 @@ }% \endinput } -\GetIdInfo$Id: l3galley.dtx 5624 2015-05-31 19:22:46Z joseph $ +\GetIdInfo$Id: l3galley.dtx 5630 2015-06-15 08:49:02Z joseph $ {L3 Experimental galley code} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} @@ -290,6 +290,7 @@ \seq_gpop_left:NN \g__galley_cutout_left_seq \l__galley_tmp_tl \seq_gpop_left:NN \g__galley_cutout_right_seq \l__galley_tmp_tl } + \__galley_parshape_set: } } \cs_new_protected:Npn \galley_par:n #1 diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex b/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex index dffedf539df..ba0cfff670a 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex +++ b/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex @@ -80,8 +80,8 @@ %% ----------------------------------------------------------------------- \def\ExplFileName{expl3} \def\ExplFileDescription{L3 programming layer} -\def\ExplFileDate{2015/03/01} -\def\ExplFileVersion{5547} +\def\ExplFileDate{2015/06/15} +\def\ExplFileVersion{5630} \begingroup \def\next{\endgroup} \expandafter\ifx\csname PackageError\endcsname\relax @@ -240,7 +240,7 @@ } } \endgroup -\GetIdInfo$Id: l3bootstrap.dtx 5542 2015-02-28 22:47:53Z joseph $ +\GetIdInfo$Id: l3bootstrap.dtx 5608 2015-05-20 15:29:10Z joseph $ {L3 Bootstrap code} \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname pdfstrcmp\endcsname\relax @@ -284,7 +284,7 @@ \fi \endgroup \begingroup - \def\next{\endgroup} + \def\next{\endgroup}% \def\ShortText{Required primitives not found}% \def\LongText% {% @@ -297,29 +297,30 @@ or later.\LineBreak \LineBreak }% - \expandafter\ifx\csname pdfstrcmp\endcsname\relax + \ifnum0% + \expandafter\ifx\csname pdfstrcmp\endcsname\relax\else 1\fi \expandafter\ifx\csname directlua\endcsname\relax \else - \ifnum\luatexversion<36 % - \newlinechar`\^^J\relax - \def\LineBreak{\noexpand\MessageBreak}% - \expandafter\ifx\csname PackageError\endcsname\relax - \def\LineBreak{^^J}% - \def\PackageError#1#2#3% - {% - \errhelp{#3}% - \errmessage{#1 Error: #2!} - }% - \fi - \edef\next + \ifnum\luatexversion<36 \else 1\fi + \fi + =0 % + \newlinechar`\^^J % + \def\LineBreak{\noexpand\MessageBreak}% + \expandafter\ifx\csname PackageError\endcsname\relax + \def\LineBreak{^^J}% + \def\PackageError#1#2#3% {% - \noexpand\PackageError{expl3}{\ShortText} - {\LongText Loading of expl3 will abort!}% - \endgroup - \noexpand\endinput + \errhelp{#3}% + \errmessage{#1 Error: #2} }% \fi - \fi + \edef\next + {% + \noexpand\PackageError{expl3}{\ShortText} + {\LongText Loading of expl3 will abort!}% + \endgroup + \noexpand\endinput + }% \fi \next \begingroup @@ -4770,7 +4771,7 @@ { \__quark_if_recursion_tail_break:NN #1 \prg_break: } \cs_new:Npn \quark_if_recursion_tail_break:n #1 { \__quark_if_recursion_tail_break:nN {#1} \prg_break: } -%% File: l3prg.dtx Copyright (C) 2005-2014 The LaTeX3 Project +%% File: l3prg.dtx Copyright (C) 2005-2015 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 @@ -4802,7 +4803,7 @@ %% prior consultation with the LaTeX3 Project. %% %% ----------------------------------------------------------------------- -\GetIdInfo$Id: l3prg.dtx 5354 2014-08-23 01:35:39Z bruno $ +\GetIdInfo$Id: l3prg.dtx 5566 2015-04-13 08:24:56Z joseph $ {L3 Control structures} %% \tex_let:D \if_bool:N \tex_ifodd:D @@ -7508,7 +7509,7 @@ \\ > \ \ \tl_to_str:n {#1} \ \ => \ \ \tl_to_str:n {#2} } -%% File: l3file.dtx Copyright (C) 1990-2014 The LaTeX3 Project +%% File: l3file.dtx Copyright (C) 1990-2015 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 @@ -7540,7 +7541,7 @@ %% prior consultation with the LaTeX3 Project. %% %% ----------------------------------------------------------------------- -\GetIdInfo$Id: l3file.dtx 5369 2014-08-24 22:41:47Z bruno $ +\GetIdInfo$Id: l3file.dtx 5627 2015-06-07 09:26:26Z bruno $ {L3 File and I/O operations} \tl_new:N \g_file_current_name_tl \tl_gset_eq:NN \g_file_current_name_tl \@currname @@ -7712,7 +7713,10 @@ { \cs_if_exist:NTF \normalend { \tex_count:D 38 \scan_stop: } - { \tex_count:D 16 \scan_stop: - \c_one } + { + \tex_count:D 16 \scan_stop: + \cs_if_exist:NT \loccount { - \c_one } + } } { \prop_gput:Nnn \g__ior_streams_prop {#1} { Reserved~by~format } @@ -7824,7 +7828,10 @@ { \cs_if_exist:NTF \normalend { \tex_count:D 39 \scan_stop: } - { \tex_count:D 17 \scan_stop: - \c_one } + { + \tex_count:D 17 \scan_stop: + \cs_if_exist:NT \loccount { - \c_one } + } } { \prop_gput:Nnn \g__iow_streams_prop {#1} { Reserved~by~format } @@ -7931,13 +7938,18 @@ \c_catcode_other_space_tl } } -\cs_new_protected:Npn \iow_indent:n #1 { } \cs_new:Npx \__iow_indent:n #1 { \c__iow_wrap_indent_marker_tl #1 \c__iow_wrap_unindent_marker_tl } +\cs_new:Npn \__iow_indent_error:n #1 + { + \__msg_kernel_expandable_error:nn { kernel } { indent-outside-wrapping-code } + #1 + } +\cs_new_protected_nopar:Npn \iow_indent:n { \__iow_indent_error:n } \cs_new_protected:Npn \iow_wrap:nnnN #1#2#3#4 { \group_begin: @@ -7953,6 +7965,7 @@ \cs_set_eq:NN \iow_indent:n \__iow_indent:n #3 \__iow_wrap_set:Nx \l__iow_wrap_tl {#1} + \cs_set_eq:NN \iow_indent:n \__iow_indent_error:n \tl_set:Nx \l__iow_newline_tl { \iow_newline: #2 } \tl_set:Nx \l__iow_newline_tl { \tl_to_str:N \l__iow_newline_tl } \tl_replace_all:Nnn \l__iow_newline_tl { ~ } { \c_space_tl } @@ -7961,12 +7974,13 @@ \int_zero:N \l__iow_current_indentation_int \tl_clear:N \l__iow_current_indentation_tl \int_zero:N \l__iow_current_line_int - \tl_clear:N \l__iow_current_line_tl + \tl_set:Nn \l__iow_current_line_tl { \use_none:n } \bool_set_true:N \l__iow_line_start_bool \use:x { \exp_not:n { \tl_clear:N \l__iow_wrap_tl } \__iow_wrap_loop:w + \tl_to_str:N \c__iow_wrap_newline_marker_tl \tl_to_str:N \l__iow_wrap_tl \tl_to_str:N \c__iow_wrap_end_marker_tl \c_space_tl \c_space_tl @@ -8098,6 +8112,8 @@ { File~names~must~contain~balanced~numbers~of~quotes~("). } +\__msg_kernel_new:nnn { kernel } { indent-outside-wrapping-code } + { Only~\iow_wrap:nnnN~(arg~1)~allows~\iow_indent:n } %% File: l3skip.dtx Copyright (C) 2004-2011 Frank Mittelbach, The LaTeX3 Project %% (C) 2012-2014 The LaTeX3 Project %% @@ -8131,7 +8147,7 @@ %% prior consultation with the LaTeX3 Project. %% %% ----------------------------------------------------------------------- -\GetIdInfo$Id: l3skip.dtx 5354 2014-08-23 01:35:39Z bruno $ +\GetIdInfo$Id: l3skip.dtx 5607 2015-05-18 12:25:06Z joseph $ {L3 Dimensions and skips} \cs_new_eq:NN \if_dim:w \tex_ifdim:D \cs_new_eq:NN \__dim_eval:w \etex_dimexpr:D @@ -8365,6 +8381,8 @@ } \cs_new:Npn \dim_to_decimal_in_bp:n #1 { \dim_to_decimal:n { ( #1 ) * 800 / 803 } } +\cs_new:Npn \dim_to_decimal_in_sp:n #1 + { \int_eval:n { \__dim_eval:w #1 \__dim_eval_end: } } \cs_new:Npn \dim_to_decimal_in_unit:nn #1#2 { \dim_to_decimal:n @@ -8570,7 +8588,7 @@ %% prior consultation with the LaTeX3 Project. %% %% ----------------------------------------------------------------------- -\GetIdInfo$Id: l3keys.dtx 5500 2015-01-27 14:37:04Z joseph $ +\GetIdInfo$Id: l3keys.dtx 5629 2015-06-14 08:38:04Z joseph $ {L3 Key-value interfaces} \int_new:N \g__keyval_level_int \tl_new:N \l__keyval_key_tl @@ -8839,7 +8857,7 @@ \clist_map_inline:nn {#2} { \int_incr:N \l_keys_choice_int - \__keys_cmd_set:nx { \l_keys_path_tl / ##1 } + \__keys_cmd_set:nx { \l_keys_path_tl / \tl_to_str:n {##1} } { \tl_set:Nn \exp_not:N \l_keys_choice_tl {##1} \int_set:Nn \exp_not:N \l_keys_choice_int @@ -9234,14 +9252,14 @@ { \clist_map_function:nN {#1} \__keys_choice_find:n } \prg_new_conditional:Npnn \keys_if_exist:nn #1#2 { p , T , F , TF } { - \cs_if_exist:cTF { \c__keys_code_root_tl #1 / #2 } + \cs_if_exist:cTF { \c__keys_code_root_tl \tl_to_str:n { #1 / #2 } } { \prg_return_true: } { \prg_return_false: } } \prg_new_conditional:Npnn \keys_if_choice_exist:nnn #1#2#3 { p , T , F , TF } { - \cs_if_exist:cTF { \c__keys_code_root_tl #1 / #2 / #3 } + \cs_if_exist:cTF { \c__keys_code_root_tl \tl_to_str:n { #1 / #2 / #3 } } { \prg_return_true: } { \prg_return_false: } } @@ -15999,7 +16017,7 @@ %% %% ----------------------------------------------------------------------- %% -\GetIdInfo$Id: l3candidates.dtx 5544 2015-03-01 18:30:00Z joseph $ +\GetIdInfo$Id: l3candidates.dtx 5613 2015-05-21 11:59:04Z joseph $ {L3 Experimental additions to l3kernel} \group_begin: \tex_lccode:D `? = `: \scan_stop: @@ -17292,21 +17310,29 @@ \__tl_change_case_output:nwn { #1 {#3} } #2 } -\cs_new:Npn \__tl_change_case_cs_expand:Nnw #1#2 +\cs_new:Npn \__tl_change_case_if_expandable:NTF #1 { - \bool_if:nTF + \token_if_expandable:NTF #1 { - \token_if_expandable_p:N #1 - && ! \token_if_protected_macro_p:N #1 - && ! \token_if_protected_long_macro_p:N #1 + \bool_if:nTF + { + \token_if_protected_macro_p:N #1 + || \token_if_protected_long_macro_p:N #1 + || \token_if_eq_meaning_p:NN \q_recursion_tail #1 + } + { \use_ii:nn } + { \use_i:nn } } + { \use_ii:nn } + } +\cs_new:Npn \__tl_change_case_cs_expand:Nnw #1#2 + { + \__tl_change_case_if_expandable:NTF #1 { \__tl_change_case_cs_expand:NN #1 } { #2 } } \cs_new:Npn \__tl_change_case_cs_expand:NN #1#2 { \exp_after:wN #2 #1 } -\cs_new:Npn \__tl_change_case_cs_expand:NNnw #1#2#3 - { \__tl_change_case_cs_expand:Nnw #2 {#3} #1 } \cs_new:Npn \__tl_change_case_lower_sigma:Nnw #1#2#3#4 \q_recursion_stop { \int_compare:nNnTF { `#1 } = { "03A3 } @@ -17319,27 +17345,22 @@ } \cs_new:Npn \__tl_change_case_lower_sigma:w #1 \q_recursion_stop { - \tl_if_head_is_N_type:nTF {#1} - { \__tl_change_case_lower_sigma:Nw #1 \q_recursion_stop } - { \c__unicode_final_sigma_tl } + \tl_if_head_is_N_type:nTF {#1} + { \__tl_change_case_lower_sigma:Nw #1 \q_recursion_stop } + { \c__unicode_final_sigma_tl } } \cs_new:Npn \__tl_change_case_lower_sigma:Nw #1#2 \q_recursion_stop { - \token_if_cs:NTF #1 - { \c__unicode_final_sigma_tl } + \__tl_change_case_if_expandable:NTF #1 { - \exp_after:wN \__tl_change_case_lower_sigma_loop:NN - \exp_after:wN #1 \l_tl_case_change_after_final_sigma_tl - \q_recursion_tail \q_recursion_stop + \exp_after:wN \__tl_change_case_lower_sigma:w #1 + #2 \q_recursion_stop + } + { + \token_if_letter:NTF #1 + { \c__unicode_std_sigma_tl } + { \c__unicode_final_sigma_tl } } - } -\cs_new:Npn \__tl_change_case_lower_sigma_loop:NN #1#2 - { - \quark_if_recursion_tail_stop_do:Nn #2 - { \c__unicode_std_sigma_tl } - \int_compare:nNnT { `#1 } = { `#2 } - { \use_i_delimit_by_q_recursion_stop:nw { \c__unicode_final_sigma_tl } } - \__tl_change_case_lower_sigma_loop:NN #1 } \cs_new_eq:NN \__tl_change_case_upper_sigma:Nnw \use_ii:nn \cs_new:Npn \__tl_change_case_lower_tr:Nnw #1#2 @@ -17361,15 +17382,22 @@ } \cs_new:Npn \__tl_change_case_lower_tr_auxii:Nw #1#2 \q_recursion_stop { - \bool_if:nTF + \__tl_change_case_if_expandable:NTF #1 { - \token_if_cs_p:N #1 - || ! ( \int_compare_p:nNn { `#1 } = { "0307 } ) + \exp_after:wN \__tl_change_case_lower_tr_auxi:Nw #1 + #2 \q_recursion_stop } - { \__tl_change_case_output:Vwn \c__unicode_dotless_i_tl } { - \__tl_change_case_output:nwn { i } - \use_i:nn + \bool_if:nTF + { + \token_if_cs_p:N #1 + || ! ( \int_compare_p:nNn { `#1 } = { "0307 } ) + } + { \__tl_change_case_output:Vwn \c__unicode_dotless_i_tl } + { + \__tl_change_case_output:nwn { i } + \use_i:nn + } } } \cs_new:Npn \__tl_change_case_upper_tr:Nnw #1#2 @@ -17423,18 +17451,25 @@ } \cs_new:Npn \__tl_change_case_lower_lt:NNw #1#2#3 \q_recursion_stop { - \bool_if:nT + \__tl_change_case_if_expandable:NTF #2 { - ! \token_if_cs_p:N #2 - && - ( - \int_compare_p:nNn { `#2 } = { "0300 } - || \int_compare_p:nNn { `#2 } = { "0301 } - || \int_compare_p:nNn { `#2 } = { "0303 } - ) + \exp_after:wN \__tl_change_case_lower_lt:Nw \exp_after:wN #1 #2 + #3 \q_recursion_stop + } + { + \bool_if:nT + { + ! \token_if_cs_p:N #2 + && + ( + \int_compare_p:nNn { `#2 } = { "0300 } + || \int_compare_p:nNn { `#2 } = { "0301 } + || \int_compare_p:nNn { `#2 } = { "0303 } + ) + } + { \__tl_change_case_output:Vwn \c__unicode_dot_above_tl } + #1 #2#3 \q_recursion_stop } - { \__tl_change_case_output:Vwn \c__unicode_dot_above_tl } - #1 #2#3 \q_recursion_stop } \cs_new:Npn \__tl_change_case_upper_lt:Nnw #1 { @@ -17466,14 +17501,21 @@ } \cs_new:Npn \__tl_change_case_upper_lt:NNw #1#2#3 \q_recursion_stop { - \bool_if:nTF + \__tl_change_case_if_expandable:NTF #2 + { + \exp_after:wN \__tl_change_case_upper_lt:Nw \exp_after:wN #1 #2 + #3 \q_recursion_stop + } { - ! \token_if_cs_p:N #2 - && \int_compare_p:nNn { `#2 } = { "0307 } + \bool_if:nTF + { + ! \token_if_cs_p:N #2 + && \int_compare_p:nNn { `#2 } = { "0307 } + } + { #1 } + { #1 #2 } + #3 \q_recursion_stop } - { #1 } - { #1 #2 } - #3 \q_recursion_stop } \cs_new:Npn \__tl_mixed_case:nn #1#2 { @@ -17623,21 +17665,28 @@ } \cs_new:Npn \__tl_change_case_mixed_nl:NNw #1#2#3 \q_recursion_stop { - \bool_if:nTF + \__tl_change_case_if_expandable:NTF #2 { - ! ( \token_if_cs_p:N #2 ) - && - ( - \int_compare_p:nNn { `#2 } = { `j } - || \int_compare_p:nNn { `#2 } = { `J } - ) + \exp_after:wN \__tl_change_case_mixed_nl:Nw \exp_after:wN #1 #2 + #3 \q_recursion_stop } { - \__tl_change_case_output:nwn { J } - #1 + \bool_if:nTF + { + ! ( \token_if_cs_p:N #2 ) + && + ( + \int_compare_p:nNn { `#2 } = { `j } + || \int_compare_p:nNn { `#2 } = { `J } + ) + } + { + \__tl_change_case_output:nwn { J } + #1 + } + { #1 #2 } + #3 \q_recursion_stop } - { #1 #2 } - #3 \q_recursion_stop } \tl_new:N \l_tl_case_change_math_tl \tl_set:Nn \l_tl_case_change_math_tl @@ -17645,15 +17694,6 @@ \tl_new:N \l_tl_case_change_exclude_tl \tl_set:Nn \l_tl_case_change_exclude_tl { \cite \ensuremath \label \ref } -\tl_new:N \l_tl_case_change_after_final_sigma_tl -\tl_set:Nx \l_tl_case_change_after_final_sigma_tl - { % ( - ) % [ - ] % \{ - \cs_to_str:N \} - . : ; , - ! ? ' " - } \tl_new:N \l_tl_mixed_case_ignore_tl \tl_set:Nx \l_tl_mixed_case_ignore_tl { diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3-generic.tex b/Master/texmf-dist/tex/latex/l3kernel/expl3-generic.tex index 1e8738ee241..800066f06ec 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/expl3-generic.tex +++ b/Master/texmf-dist/tex/latex/l3kernel/expl3-generic.tex @@ -47,8 +47,8 @@ %% ----------------------------------------------------------------------- \def\ExplFileName{expl3} \def\ExplFileDescription{L3 programming layer} -\def\ExplFileDate{2015/03/01} -\def\ExplFileVersion{5547} +\def\ExplFileDate{2015/06/15} +\def\ExplFileVersion{5630} \let\ExplLoaderFileVersion\ExplFileVersion \begingroup \def\tempa{LaTeX2e} diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3.sty b/Master/texmf-dist/tex/latex/l3kernel/expl3.sty index a9718fe6985..ce5dc6c34dc 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/expl3.sty +++ b/Master/texmf-dist/tex/latex/l3kernel/expl3.sty @@ -47,8 +47,8 @@ %% ----------------------------------------------------------------------- \def\ExplFileName{expl3} \def\ExplFileDescription{L3 programming layer} -\def\ExplFileDate{2015/03/01} -\def\ExplFileVersion{5547} +\def\ExplFileDate{2015/06/15} +\def\ExplFileVersion{5630} \let\ExplLoaderFileVersion\ExplFileVersion \ProvidesPackage{\ExplFileName} [% diff --git a/Master/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty b/Master/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty index fa9edcdc7fd..bf54335e6fe 100644 --- a/Master/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty +++ b/Master/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty @@ -13,7 +13,7 @@ %% %% Do not distribute a modified version of this file. %% -%% File: l3keys2e.dtx (C) Copyright 2009,2011-2014 The LaTeX3 Project +%% File: l3keys2e.dtx (C) Copyright 2009,2011-2015 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 @@ -46,8 +46,8 @@ %% %% ----------------------------------------------------------------------- %% -\RequirePackage{expl3}[2014/11/25] -\@ifpackagelater{expl3}{2014/11/25} +\RequirePackage{expl3}[2015/06/15] +\@ifpackagelater{expl3}{2015/06/15} {} {% \PackageError{l3keys2e}{Support package l3kernel too old} @@ -59,7 +59,7 @@ }% \endinput } -\GetIdInfo$Id: l3keys2e.dtx 5471 2014-11-25 20:11:29Z joseph $ +\GetIdInfo$Id: l3keys2e.dtx 5630 2015-06-15 08:49:02Z joseph $ {LaTeX2e option processing using LaTeX3 keys} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} diff --git a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty index c61f429ac41..14a6ae0329c 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty @@ -17,7 +17,7 @@ %% David Carlisle %% (C) Copyright 2004-2008 Frank Mittelbach, %% The LaTeX3 Project -%% (C) Copyright 2009-2014 The LaTeX3 Project +%% (C) Copyright 2009-2015 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 @@ -50,8 +50,8 @@ %% %% ----------------------------------------------------------------------- %% -\RequirePackage{expl3}[2014/11/25] -\@ifpackagelater{expl3}{2014/11/25} +\RequirePackage{expl3}[2015/06/15] +\@ifpackagelater{expl3}{2015/06/15} {} {% \PackageError{xparse}{Support package l3kernel too old} @@ -63,7 +63,7 @@ }% \endinput } -\GetIdInfo$Id: xparse.dtx 5471 2014-11-25 20:11:29Z joseph $ +\GetIdInfo$Id: xparse.dtx 5630 2015-06-15 08:49:02Z joseph $ {L3 Experimental document command parser} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} diff --git a/Master/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty b/Master/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty index 08e521220b6..880ef38681d 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty @@ -17,7 +17,7 @@ %% David Carlisle %% (C) Copyright 2004-2010 Frank Mittelbach, %% The LaTeX3 Project -%% (C) Copyright 2011-2014 The LaTeX3 Project +%% (C) Copyright 2011-2015 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 @@ -50,8 +50,8 @@ %% %% ----------------------------------------------------------------------- %% -\RequirePackage{expl3}[2014/11/25] -\@ifpackagelater{expl3}{2014/11/25} +\RequirePackage{expl3}[2015/06/15] +\@ifpackagelater{expl3}{2015/06/15} {} {% \PackageError{xtemplate}{Support package l3kernel too old} @@ -63,7 +63,7 @@ }% \endinput } -\GetIdInfo$Id: xtemplate.dtx 5471 2014-11-25 20:11:29Z joseph $ +\GetIdInfo$Id: xtemplate.dtx 5630 2015-06-15 08:49:02Z joseph $ {L3 Experimental prototype document functions} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} |