From e2419228ad39462619bd7051753e7125ca5ca626 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 20 Dec 2016 22:55:13 +0000 Subject: withargs (20dec16) git-svn-id: svn://tug.org/texlive/trunk@42756 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/withargs/README | 16 ++++++++++------ Master/texmf-dist/doc/latex/withargs/withargs.pdf | Bin 472709 -> 472590 bytes Master/texmf-dist/doc/latex/withargs/withargs.tex | 5 ++++- Master/texmf-dist/tex/latex/withargs/withargs.sty | 11 +++++------ 4 files changed, 19 insertions(+), 13 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/withargs/README b/Master/texmf-dist/doc/latex/withargs/README index e3df5955260..45cee67f258 100644 --- a/Master/texmf-dist/doc/latex/withargs/README +++ b/Master/texmf-dist/doc/latex/withargs/README @@ -1,10 +1,11 @@ -LaTeX Package : withargs 0.0.2 +LaTeX Package : withargs 0.2.0 -Last Modified : 2013-10-07 +Last Modified : 2016-12-19 Author : Michiel Helvensteijn (www.mhelvens.net) -===== Prerequisites ===== + +##### Prerequisites ##### To use this package, you need the following expl3 packages: * expl3 @@ -13,7 +14,8 @@ To use this package, you need the following expl3 packages: To generate the documentation some extra packages are needed. -===== Installation ===== + +##### Installation ##### withargs.sty is provided directly in the package archive. Put it in a place where your LaTeX distribution can find it. @@ -22,7 +24,8 @@ it in a place where your LaTeX distribution can find it. may use docstrip to remove the documentation, but you don't have to; it will just work the way it is) -===== Documentation ===== + +##### Documentation ##### withargs.pdf is provided directly in the package archive. To generate the documentation yourself, run LaTeX on withargs.tex. @@ -30,7 +33,8 @@ generate the documentation yourself, run LaTeX on withargs.tex. (withargs.tex does not contain the package code itself; it inputs withargs.sty directly to document the implementation) -===== License ===== + +##### License ##### This material is subject to the LaTeX Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html diff --git a/Master/texmf-dist/doc/latex/withargs/withargs.pdf b/Master/texmf-dist/doc/latex/withargs/withargs.pdf index b09aa98db17..a3ea4e7f6d8 100644 Binary files a/Master/texmf-dist/doc/latex/withargs/withargs.pdf and b/Master/texmf-dist/doc/latex/withargs/withargs.pdf differ diff --git a/Master/texmf-dist/doc/latex/withargs/withargs.tex b/Master/texmf-dist/doc/latex/withargs/withargs.tex index d64f6733e64..a34e0dcda50 100644 --- a/Master/texmf-dist/doc/latex/withargs/withargs.tex +++ b/Master/texmf-dist/doc/latex/withargs/withargs.tex @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%% % % -% Copyright (c) 2013 - Michiel Helvensteijn (www.mhelvens.net) % +% Copyright (c) 2016 - Michiel Helvensteijn (www.mhelvens.net) % % % % This work may be distributed and/or modified under the conditions % % of the LaTeX Project Public License, either version 1.3 of this % @@ -43,6 +43,9 @@ \changes{0.1.0}{2015/09/07} {adjusted code to new version of expl3} +\changes{0.2.0}{2016/12/19} + {adjusted code to new version of expl3} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/tex/latex/withargs/withargs.sty b/Master/texmf-dist/tex/latex/withargs/withargs.sty index be1647d9749..c7d715687a3 100644 --- a/Master/texmf-dist/tex/latex/withargs/withargs.sty +++ b/Master/texmf-dist/tex/latex/withargs/withargs.sty @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%% % % -% Copyright (c) 2013 - Michiel Helvensteijn (www.mhelvens.net) % +% Copyright (c) 2016 - Michiel Helvensteijn (www.mhelvens.net) % % % % This work may be distributed and/or modified under the conditions % % of the LaTeX Project Public License, either version 1.3 of this % @@ -17,7 +17,7 @@ % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%% -% \CheckSum{115} +% \CheckSum{117} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -46,7 +46,7 @@ % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} -\ProvidesExplPackage{withargs}{2015/09/07}{0.1.0} +\ProvidesExplPackage{withargs}{2016/12/19}{0.2.0} {an inline construct for passing token lists as TeX parameters} % \end{macrocode} % @@ -142,7 +142,7 @@ % longer than |#1| --- a prefix. % % \begin{macrocode} -\cs_new:Nn \__withargs_var:nx { +\cs_new:Nn \__withargs_var:nn { \cs_generate_variant:cx { withargs : \prg_replicate:nn{#1}{n} n } { #2 n } @@ -155,6 +155,7 @@ } % \end{macrocode} % \uninteresting\begin{macrocode} +\cs_generate_variant:Nn \__withargs_var:nn {nx} \cs_generate_variant:Nn \cs_generate_variant:Nn {cx} % \end{macrocode} % @@ -327,5 +328,3 @@ % \end{macrocode} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - - -- cgit v1.2.3