summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/gtl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-29 22:49:59 +0000
committerKarl Berry <karl@freefriends.org>2018-12-29 22:49:59 +0000
commitbc7aa0d51e3d33e22443fbc7eda7b5c63d58afbf (patch)
treed07a739ddf56414fd54ba6d800570afe79e812f0 /Master/texmf-dist/tex/generic/gtl
parent508fb1b0c8bbf30c4327536e3559f42315dc0ab1 (diff)
gtl (29dec18)
git-svn-id: svn://tug.org/texlive/trunk@49527 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/gtl')
-rw-r--r--Master/texmf-dist/tex/generic/gtl/gtl.sty26
1 files changed, 13 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/generic/gtl/gtl.sty b/Master/texmf-dist/tex/generic/gtl/gtl.sty
index ea33ffc1113..c0d9f6c56c6 100644
--- a/Master/texmf-dist/tex/generic/gtl/gtl.sty
+++ b/Master/texmf-dist/tex/generic/gtl/gtl.sty
@@ -9,12 +9,12 @@
%% Do not distribute a modified version of this file.
%%
%% Communicate any suggestions for changing this package
-%% to Bruno Le Floch (blflatex@gmail.com).
+%% to Bruno Le Floch (blflatex+gtl@gmail.com).
%%
%% File: gtl.dtx Copyright (C) 2013,2015,2017,2018 Bruno Le Floch
%%
%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
+%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
@@ -51,22 +51,22 @@
}
\__gtl_tmp:w
}
- {gtl} {2018/04/04} {0.4} {Manipulate unbalanced lists of tokens}
+ {gtl} {2018/12/28} {0.5} {Manipulate unbalanced lists of tokens}
\cs_generate_variant:Nn \use:nn { no }
\cs_new:Npn \__gtl_exp_not_n:N #1 { \exp_not:n {#1} }
\cs_new:Npn \__gtl_brace:nn #1#2 { { #1 #2 } }
\cs_new:Npn \__gtl_brace_swap:nn #1#2 { { #2 #1 } }
-\cs_new_nopar:Npn \__gtl_strip_nil_mark:w
+\cs_new:Npn \__gtl_strip_nil_mark:w
{ \__gtl_strip_nil_mark_aux:w \prg_do_nothing: }
\cs_new:Npn \__gtl_strip_nil_mark_aux:w #1 \q_nil \q_mark
{ \exp_not:o {#1} }
\cs_new_eq:NN \s__gtl \scan_stop:
-\cs_new_protected_nopar:Npn \gtl_set:Nn { \__gtl_set:NNn \tl_set:Nn }
-\cs_new_protected_nopar:Npn \gtl_gset:Nn { \__gtl_set:NNn \tl_gset:Nn }
-\cs_new_protected_nopar:Npn \gtl_const:Nn { \__gtl_set:NNn \tl_const:Nn }
-\cs_new_protected_nopar:Npn \gtl_set:Nx { \__gtl_set:NNn \tl_set:Nx }
-\cs_new_protected_nopar:Npn \gtl_gset:Nx { \__gtl_set:NNn \tl_gset:Nx }
-\cs_new_protected_nopar:Npn \gtl_const:Nx { \__gtl_set:NNn \tl_const:Nx }
+\cs_new_protected:Npn \gtl_set:Nn { \__gtl_set:NNn \tl_set:Nn }
+\cs_new_protected:Npn \gtl_gset:Nn { \__gtl_set:NNn \tl_gset:Nn }
+\cs_new_protected:Npn \gtl_const:Nn { \__gtl_set:NNn \tl_const:Nn }
+\cs_new_protected:Npn \gtl_set:Nx { \__gtl_set:NNn \tl_set:Nx }
+\cs_new_protected:Npn \gtl_gset:Nx { \__gtl_set:NNn \tl_gset:Nx }
+\cs_new_protected:Npn \gtl_const:Nx { \__gtl_set:NNn \tl_const:Nx }
\cs_new_protected:Npn \__gtl_set:NNn #1#2#3
{ #1 #2 { \s__gtl { } {#3} { } } }
\gtl_const:Nn \c_empty_gtl { }
@@ -217,9 +217,9 @@
{ #2 \iow_char:N \{ #1 } #3 \exp_not:N \q_stop
}
}
-\cs_new_protected_nopar:Npn \gtl_show:N
+\cs_new_protected:Npn \gtl_show:N
{ \__gtl_show:NNN \tl_show:n \tl_show:N }
-\cs_new_protected_nopar:Npn \gtl_log:N
+\cs_new_protected:Npn \gtl_log:N
{ \__gtl_show:NNN \tl_log:n \tl_log:N }
\cs_new_protected:Npn \__gtl_show:NNN #1#2#3
{
@@ -610,7 +610,7 @@
\__gtl_strip_nil_mark:w
}
\cs_new:Npn \__gtl_tl_count:n #1
- { \int_eval:n { \c_zero \__gtl_tl_count_loop:n #1 \q_nil \q_stop } }
+ { \int_eval:n { 0 \__gtl_tl_count_loop:n #1 \q_nil \q_stop } }
\cs_new:Npn \__gtl_tl_count_loop:n #1
{
\quark_if_nil:nTF {#1}