diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/gtl/gtl.sty (renamed from Master/texmf-dist/tex/latex/gtl/gtl.sty) | 31 |
1 files changed, 28 insertions, 3 deletions
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'. |