diff options
author | Karl Berry <karl@freefriends.org> | 2018-11-01 22:10:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-11-01 22:10:54 +0000 |
commit | 24af390119f82e5aca15c6f25736c5345fb96c02 (patch) | |
tree | a6cac90bf5dd163d25375c82d6bb33501ad22c9e /Master/texmf-dist/tex/latex/l3experimental | |
parent | 7871fabe40409a7420143e8084f639f6173204f9 (diff) |
l3experimental (1nov18)
git-svn-id: svn://tug.org/texlive/trunk@49046 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3experimental')
10 files changed, 177 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3benchmark/l3benchmark.sty b/Master/texmf-dist/tex/latex/l3experimental/l3benchmark/l3benchmark.sty index b761f3c948d..f9ed7d0c25c 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3benchmark/l3benchmark.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3benchmark/l3benchmark.sty @@ -20,7 +20,7 @@ %% %% File: l3benchmark.dtx Copyright (C) 2011,2012,2014-2018 The LaTeX3 Project \RequirePackage{expl3} -\ProvidesExplPackage{l3benchmark}{2018-10-26}{} +\ProvidesExplPackage{l3benchmark}{2018-10-31}{} {L3 Experimental benchmarking} \sys_if_engine_luatex:TF { @@ -258,7 +258,7 @@ \int_compare:nTF { \g__benchmark_tictoc_int == 0 } { \sys_gzero_timer: - \__benchmark_tic:n { 0 } + \__benchmark_tic: } { \__benchmark_tic: } } diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3cctab/l3cctab.sty b/Master/texmf-dist/tex/latex/l3experimental/l3cctab/l3cctab.sty new file mode 100644 index 00000000000..a673ae3beeb --- /dev/null +++ b/Master/texmf-dist/tex/latex/l3experimental/l3cctab/l3cctab.sty @@ -0,0 +1,167 @@ +%% +%% This is file `l3cctab.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% l3cctab.dtx (with options: `package') +%% +%% Copyright (C) 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: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% This file is part of the "l3experimental bundle" (The Work in LPPL) +%% and all files in that bundle must be distributed together. +%% +%% File: l3cctab.dtx Copyright (C) 2018 The LaTeX3 Project +\RequirePackage{expl3} +\ProvidesExplPackage{l3cctab}{2018-10-31}{} + {L3 Experimental category code tables} +\int_new:N \g__cctab_stack_int +\seq_new:N \g__cctab_stack_seq +\tl_new:N \l__cctab_tmp_tl +\sys_if_engine_luatex:TF + { + \cs_new_protected:Npn \cctab_new:N #1 + { + \__kernel_chk_if_free_cs:N #1 + \newcatcodetable #1 + \tex_initcatcodetable:D #1 + } + \cs_new_protected:Npn \cctab_begin:N #1 + { + \seq_gpush:Nx \g__cctab_stack_seq { \tex_the:D \tex_catcodetable:D } + \tex_catcodetable:D #1 + \int_gadd:Nn \g__cctab_stack_int { 2 } + \int_compare:nNnT \g__cctab_stack_int > \c_max_register_int + { \__kernel_msg_fatal:nn { kernel } { cctab-stack-full } } + \tex_savecatcodetable:D \g__cctab_stack_int + \tex_catcodetable:D \g__cctab_stack_int + } + \cs_new_protected:Npn \cctab_end: + { + \int_gsub:Nn \g__cctab_stack_int { 2 } + \seq_if_empty:NTF \g__cctab_stack_seq + { \tl_set:Nn \l__cctab_tmp_tl { 0 } } + { \seq_gpop:NN \g__cctab_stack_seq \l__cctab_tmp_tl } + \tex_catcodetable:D \l__cctab_tmp_tl \scan_stop: + } + \cs_new_protected:Npn \cctab_gset:Nn #1#2 + { + \group_begin: + #2 + \tex_savecatcodetable:D #1 + \group_end: + } + } + { + \cs_new_protected:Npn \__cctab_gstore:Nnn #1#2#3 + { \intarray_gset:Nnn #1 { #2 + 1 } {#3} } + \cs_new_protected:Npn \cctab_new:N #1 + { + \intarray_new:Nn #1 { 256 } + \int_step_inline:nn { 256 } + { \intarray_gset:Nnn #1 {##1} { 12 } } + \__cctab_gstore:Nnn #1 { 0 } { 9 } + \__cctab_gstore:Nnn #1 { 13 } { 5 } + \__cctab_gstore:Nnn #1 { 32 } { 10 } + \__cctab_gstore:Nnn #1 { 37 } { 14 } + \int_step_inline:nnn { 65 } { 90 } + { \intarray_gset:Nnn #1 {##1} { 11 } } + \__cctab_gstore:Nnn #1 { 92 } { 0 } + \int_step_inline:nnn { 97 } { 122 } + { \__cctab_gstore:Nnn #1 {##1} { 11 } } + \__cctab_gstore:Nnn #1 { 127 } { 15 } + } + \cs_new_protected:Npn \cctab_begin:N #1 + { + \int_gadd:Nn \g__cctab_stack_int { 1 } + \int_compare:nNnT \g__cctab_stack_int > \c_max_register_int + { \__kernel_msg_fatal:nn { kernel } { cctab-stack-full } } + \cs_if_exist:cF { g__cctab_ \int_use:N \g__cctab_stack_int _cctab } + { + \intarray_new:cn + { g__cctab_ \int_use:N \g__cctab_stack_int _cctab } + { 256 } + } + \int_step_inline:nn { 256 } + { + \intarray_gset:cnn + { g__cctab_ \int_use:N \g__cctab_stack_int _cctab } + {##1} + { \char_value_catcode:n { ##1 - 1 } } + } + \int_step_inline:nn { 256 } + { + \char_set_catcode:nn { ##1 - 1 } + { \intarray_item:Nn #1 {##1} } + } + } + \cs_generate_variant:Nn \intarray_new:Nn { c } + \cs_generate_variant:Nn \intarray_gset:Nnn { c } + \cs_new_protected:Npn \cctab_end: + { + \int_step_inline:nn { 256 } + { + \char_set_catcode:nn { ##1 - 1 } + { + \intarray_item:cn + { g__cctab_ \int_use:N \g__cctab_stack_int _cctab } + {##1} + } + } + \int_gsub:Nn \g__cctab_stack_int { 1 } + } + \cs_generate_variant:Nn \intarray_item:Nn { c } + \cs_new_protected:Npn \cctab_gset:Nn #1#2 + { + \group_begin: + #2 + \int_step_inline:nn { 256 } + { + \intarray_gset:Nnn #1 {##1} + { \char_value_catcode:n { ##1 - 1 } } + } + \group_end: + } + } +\cctab_new:N \g__cctab_tmp_cctab +\cs_new_protected:Npn \cctab_const:Nn #1#2 + { + \cctab_gset:Nn \g__cctab_tmp_cctab {#2} + \cs_new_eq:NN #1 \g__cctab_tmp_cctab + } +\cctab_const:Nn \c_code_cctab { } +\cctab_const:Nn \c_document_cctab + { + \char_set_catcode_space:n { 9 } + \char_set_catcode_space:n { 32 } + \char_set_catcode_other:n { 58 } + \char_set_catcode_math_subscript:n { 95 } + \char_set_catcode_active:n { 126 } + } +\cctab_const:Nn \c_other_cctab + { + \int_step_inline:nnn { 0 } { 127 } + { \char_set_catcode_other:n {#1} } + } +\cctab_const:Nn \c_str_cctab + { + \int_step_inline:nnn { 0 } { 127 } + { \char_set_catcode_other:n {#1} } + \char_set_catcode_space:n { 32 } + } +\__kernel_msg_new:nnnn { kernel } { cctab-stack-full } + { The~category~code~table~stack~is~exhausted. } + { + LaTeX~has~been~asked~to~switch~to~a~new~category~code~table,~ + but~there~is~no~more~space~to~do~this! + } +%% +%% +%% End of file `l3cctab.sty'. diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3color/l3color.sty b/Master/texmf-dist/tex/latex/l3experimental/l3color/l3color.sty index 55ef24e9eaf..16e910101db 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3color/l3color.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3color/l3color.sty @@ -20,7 +20,7 @@ %% %% File: l3color.dtx Copyright(C) 2017-2018 The LaTeX3 Project \RequirePackage{expl3} -\ProvidesExplPackage{l3color}{2018-10-26}{} +\ProvidesExplPackage{l3color}{2018-10-31}{} {L3 Experimental color support} \tl_new:N \l__color_tmp_tl \prg_new_conditional:Npnn \__color_if_defined:n #1 { T, F, TF } diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3draw/l3draw.sty b/Master/texmf-dist/tex/latex/l3experimental/l3draw/l3draw.sty index 82cab92359a..ff825b3402e 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3draw/l3draw.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3draw/l3draw.sty @@ -27,7 +27,7 @@ %% %% File: l3draw.dtx Copyright(C) 2018 The LaTeX3 Project \RequirePackage{expl3} -\ProvidesExplPackage{l3draw}{2018-10-26}{} +\ProvidesExplPackage{l3draw}{2018-10-31}{} {L3 Experimental core drawing support} \RequirePackage { l3color } %% File: l3draw-boxes.dtx Copyright(C) 2018 The LaTeX3 Project diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-convert.sty b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-convert.sty index a100d834ab6..aa696ec5941 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-convert.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-convert.sty @@ -20,7 +20,7 @@ %% %% File: l3str-convert.dtx Copyright (C) 2013-2018 The LaTeX3 Project \RequirePackage{expl3} -\ProvidesExplPackage{l3str-convert}{2018-10-26}{} +\ProvidesExplPackage{l3str-convert}{2018-10-31}{} {L3 Experimental string encoding conversions} \cs_if_exist:NF \use_ii_i:nn { \cs_new:Npn \use_ii_i:nn #1#2 { #2 #1 } } diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-format.sty b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-format.sty index a88088e155e..b224455020d 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-format.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-format.sty @@ -20,7 +20,7 @@ %% %% File: l3str-format.dtx Copyright (C) 2012-2018 The LaTeX3 Project \RequirePackage{expl3} -\ProvidesExplPackage{l3str-format}{2018-10-26}{} +\ProvidesExplPackage{l3str-format}{2018-10-31}{} {L3 Experimental string formatting} \cs_generate_variant:Nn \use:nn { nf } \cs_generate_variant:Nn \use:nnn { fnf } diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3sys-shell/l3sys-shell.sty b/Master/texmf-dist/tex/latex/l3experimental/l3sys-shell/l3sys-shell.sty index 73b6bae02cd..f572fb006c7 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3sys-shell/l3sys-shell.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3sys-shell/l3sys-shell.sty @@ -20,7 +20,7 @@ %% %% File: l3sys-shell.dtx Copyright(C) 2018 The LaTeX3 Project \RequirePackage{expl3} -\ProvidesExplPackage{l3sys-shell}{2018-10-26}{} +\ProvidesExplPackage{l3sys-shell}{2018-10-31}{} {L3 Experimental system shell functions} \cs_new:Npn \__sys_path_to_win:n #1 { diff --git a/Master/texmf-dist/tex/latex/l3experimental/xcoffins/xcoffins.sty b/Master/texmf-dist/tex/latex/l3experimental/xcoffins/xcoffins.sty index bdce6ad2aea..49be85fa7e4 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/xcoffins/xcoffins.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/xcoffins/xcoffins.sty @@ -20,7 +20,7 @@ %% %% File: xcoffins.dtx Copyright(C) 2010-2012,2014,2016-2018 The LaTeX3 Project \RequirePackage{xparse} -\ProvidesExplPackage{xcoffins}{2018-10-26}{} +\ProvidesExplPackage{xcoffins}{2018-10-31}{} {L3 Experimental design level coffins} \keys_define:nn { coffin } { diff --git a/Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty b/Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty index 6cbcab46f2b..abe51eda60e 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty @@ -33,7 +33,7 @@ }% \endinput } -\ProvidesExplPackage{l3galley}{2018-10-26}{} +\ProvidesExplPackage{l3galley}{2018-10-31}{} {L3 Experimental galley code} \int_new:N \l__galley_tmp_int \seq_new:N \g__galley_tmpa_seq diff --git a/Master/texmf-dist/tex/latex/l3experimental/xgalley/xgalley.sty b/Master/texmf-dist/tex/latex/l3experimental/xgalley/xgalley.sty index 6c15f5a8548..43ced539cf6 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/xgalley/xgalley.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/xgalley/xgalley.sty @@ -21,7 +21,7 @@ %% File: xgalley.dtx Copyright (C) 1999-2001, 2004-2009 Frank Mittelbach %% (C) 2010-2012,2014,2016-2018 The LaTeX3 Project \RequirePackage{xparse} -\ProvidesExplPackage{xgalley}{2018-10-26}{} +\ProvidesExplPackage{xgalley}{2018-10-31}{} {L3 Experimental galley} \RequirePackage{xparse,xtemplate,l3galley} \clist_new:N \l__galley_tmpa_clist |