summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-09-30 21:16:08 +0000
committerKarl Berry <karl@freefriends.org>2015-09-30 21:16:08 +0000
commit197071e9b5aaa66a56c464229f4a9fc81c0c8b1f (patch)
treebf5f64dc840622735fc5bc41618f569e30918973 /Master
parenta33fc7ecdf531da6377d79529f5d4fd88d9012a5 (diff)
gtl (30sep15)
git-svn-id: svn://tug.org/texlive/trunk@38503 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/generic/gtl/README.md (renamed from Master/texmf-dist/doc/latex/gtl/README.md)2
-rw-r--r--Master/texmf-dist/doc/generic/gtl/gtl.pdf (renamed from Master/texmf-dist/doc/latex/gtl/gtl.pdf)bin548210 -> 530178 bytes
-rw-r--r--Master/texmf-dist/source/generic/gtl/gtl.dtx (renamed from Master/texmf-dist/source/latex/gtl/gtl.dtx)47
-rw-r--r--Master/texmf-dist/source/generic/gtl/gtl.ins (renamed from Master/texmf-dist/source/latex/gtl/gtl.ins)0
-rw-r--r--Master/texmf-dist/tex/generic/gtl/gtl.sty (renamed from Master/texmf-dist/tex/latex/gtl/gtl.sty)31
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/collection-genericextra.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc1
8 files changed, 70 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/gtl/README.md b/Master/texmf-dist/doc/generic/gtl/README.md
index 6beaf3e95f3..0a9f56a1c0d 100644
--- a/Master/texmf-dist/doc/latex/gtl/README.md
+++ b/Master/texmf-dist/doc/generic/gtl/README.md
@@ -4,7 +4,7 @@ Manipulate unbalanced lists of tokens
* Released under the LaTeX Project Public License v1.3c or later
See http://www.latex-project.org/lppl.txt
-The `gtl` LaTeX package provides tools to manipulate lists of
+The `gtl` TeX/LaTeX package provides tools to manipulate lists of
tokens which may be unbalanced.
This package requires up-to-date versions of the `l3kernel`,
diff --git a/Master/texmf-dist/doc/latex/gtl/gtl.pdf b/Master/texmf-dist/doc/generic/gtl/gtl.pdf
index c433e7a2e27..1d8fc7ddb0a 100644
--- a/Master/texmf-dist/doc/latex/gtl/gtl.pdf
+++ b/Master/texmf-dist/doc/generic/gtl/gtl.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/gtl/gtl.dtx b/Master/texmf-dist/source/generic/gtl/gtl.dtx
index b4f622066bf..f197c8ad13c 100644
--- a/Master/texmf-dist/source/latex/gtl/gtl.dtx
+++ b/Master/texmf-dist/source/generic/gtl/gtl.dtx
@@ -23,9 +23,9 @@
%
% \title{The \textsf{gtl} package: \\
% manipulate unbalanced lists of tokens\thanks{This
-% file has version number 0.1, last revised 2015/09/21.}}
+% file has version number 0.2, last revised 2015/09/29.}}
% \author{Bruno Le Floch}
-% \date{2015/09/21}
+% \date{2015/09/29}
%
% \maketitle
% \tableofcontents
@@ -305,7 +305,8 @@
% ../../testfiles/gtl003.lvt ,
% ../../testfiles/gtl004.lvt ,
% ../../testfiles/gtl005.lvt ,
-% ../../testfiles/gtl006.lvt
+% ../../testfiles/gtl006.lvt ,
+% ../../testfiles/gtl007.lvt
% }
% \group_begin:
% \seq_set_eq:NN \l__gtldoc_internal_seq \l__gtldoc_fn_seq
@@ -744,13 +745,39 @@
% \end{macrocode}
%
% \begin{macrocode}
-\RequirePackage{expl3}[2015/09/11]
-\ProvidesExplPackage
- {gtl} {2015/09/21} {0.1} {Manipulate unbalanced lists of tokens}
+%<@@=gtl>
% \end{macrocode}
%
+% Load \pkg{expl3}, either through \cs{RequirePackage} or through
+% inputting the generic loader, depending on the format in use.
% \begin{macrocode}
-%<@@=gtl>
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname RequirePackage\endcsname\relax
+ \input expl3-generic.tex
+\else
+ \RequirePackage{expl3}[2015/09/11]
+\fi
+\ExplSyntaxOn
+\cs_if_exist:NTF \ProvidesExplPackage
+ {
+ \cs_new_eq:NN \@@_end_package_hook: \prg_do_nothing:
+ \ExplSyntaxOff
+ \ProvidesExplPackage
+ }
+ {
+ \cs_new_eq:NN \@@_end_package_hook: \ExplSyntaxOff
+ \group_begin:
+ \ExplSyntaxOff
+ \cs_set_protected:Npn \@@_tmp:w #1#2#3#4
+ {
+ \group_end:
+ \tl_gset:cx { ver @ #1 . sty } { #2 ~ v#3 ~ #4 }
+ \cs_if_exist_use:NF \wlog { \iow_log:x }
+ { Package: ~ #1 ~ #2 ~ v#3 ~ #4 }
+ }
+ \@@_tmp:w
+ }
+ {gtl} {2015/09/29} {0.2} {Manipulate unbalanced lists of tokens}
% \end{macrocode}
%
% \subsection{Helpers}
@@ -830,7 +857,7 @@
% note that a balanced sub-list of a gtl must be entirely contained in
% one of the chunk.
%
-% \begin{variable}{\s_@@}
+% \begin{variable}[aux]{\s_@@}
% This marker appears at the start of extended token lists.
% \begin{macrocode}
\cs_new_eq:NN \s_@@ \scan_stop:
@@ -1831,6 +1858,10 @@
% \end{macro}
%
% \begin{macrocode}
+\@@_end_package_hook:
+% \end{macrocode}
+%
+% \begin{macrocode}
%</package>
% \end{macrocode}
%
diff --git a/Master/texmf-dist/source/latex/gtl/gtl.ins b/Master/texmf-dist/source/generic/gtl/gtl.ins
index 0f77d88503a..0f77d88503a 100644
--- a/Master/texmf-dist/source/latex/gtl/gtl.ins
+++ b/Master/texmf-dist/source/generic/gtl/gtl.ins
diff --git a/Master/texmf-dist/tex/latex/gtl/gtl.sty b/Master/texmf-dist/tex/generic/gtl/gtl.sty
index 113686781c5..45525f44c1b 100644
--- a/Master/texmf-dist/tex/latex/gtl/gtl.sty
+++ b/Master/texmf-dist/tex/generic/gtl/gtl.sty
@@ -21,9 +21,33 @@
%% http://www.latex-project.org/lppl.txt
%%
%% -----------------------------------------------------------------------
-\RequirePackage{expl3}[2015/09/11]
-\ProvidesExplPackage
- {gtl} {2015/09/21} {0.1} {Manipulate unbalanced lists of tokens}
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname RequirePackage\endcsname\relax
+ \input expl3-generic.tex
+\else
+ \RequirePackage{expl3}[2015/09/11]
+\fi
+\ExplSyntaxOn
+\cs_if_exist:NTF \ProvidesExplPackage
+ {
+ \cs_new_eq:NN \__gtl_end_package_hook: \prg_do_nothing:
+ \ExplSyntaxOff
+ \ProvidesExplPackage
+ }
+ {
+ \cs_new_eq:NN \__gtl_end_package_hook: \ExplSyntaxOff
+ \group_begin:
+ \ExplSyntaxOff
+ \cs_set_protected:Npn \__gtl_tmp:w #1#2#3#4
+ {
+ \group_end:
+ \tl_gset:cx { ver @ #1 . sty } { #2 ~ v#3 ~ #4 }
+ \cs_if_exist_use:NF \wlog { \iow_log:x }
+ { Package: ~ #1 ~ #2 ~ v#3 ~ #4 }
+ }
+ \__gtl_tmp:w
+ }
+ {gtl} {2015/09/29} {0.2} {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 } }
@@ -622,6 +646,7 @@
}
}
}
+\__gtl_end_package_hook:
%%
%%
%% End of file `gtl.sty'.
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 0466f42c7eb..716c47abcd9 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -292,7 +292,7 @@ my @TLP_working = qw(
iftex ifthenx ifxetex
iitem ijmart ijqc
imac image-gallery imakeidx impatient impatient-cn impatient-fr
- impnattypo import imsproc imtekda
+ imfellenglish impnattypo import imsproc imtekda
incgraph inconsolata index indextools initials inlinebib inlinedef
inputtrc insbox installfont
interactiveworkbook interchar interfaces interpreter interval
diff --git a/Master/tlpkg/tlpsrc/collection-genericextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-genericextra.tlpsrc
index d6f9398f82b..95a99181781 100644
--- a/Master/tlpkg/tlpsrc/collection-genericextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-genericextra.tlpsrc
@@ -25,6 +25,7 @@ depend fenixpar
depend fltpoint
depend fntproof
depend gates
+depend gtl
depend ifetex
depend iftex
depend insbox
diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
index 9a644e70284..0fa4d168c58 100644
--- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
@@ -455,7 +455,6 @@ depend grfpaste
depend grid
depend grid-system
depend gridset
-depend gtl
depend guitlogo
depend handout
depend hang