From e2fe2430d15ac78018d547810a14bfdbdacbc9a9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 28 Jul 2007 00:30:38 +0000 Subject: xfor update (18jul07) git-svn-id: svn://tug.org/texlive/trunk@4673 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/xfor/CHANGES | 3 ++ Master/texmf-dist/doc/latex/xfor/README | 46 +++++++++++++-------------- Master/texmf-dist/doc/latex/xfor/xfor.pdf | Bin 98358 -> 98540 bytes Master/texmf-dist/source/latex/xfor/xfor.dtx | 16 ++++++---- Master/texmf-dist/source/latex/xfor/xfor.ins | 2 +- Master/texmf-dist/tex/latex/xfor/xfor.sty | 6 ++-- 6 files changed, 39 insertions(+), 34 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/xfor/CHANGES b/Master/texmf-dist/doc/latex/xfor/CHANGES index 8676a338bb1..ee425c46e51 100644 --- a/Master/texmf-dist/doc/latex/xfor/CHANGES +++ b/Master/texmf-dist/doc/latex/xfor/CHANGES @@ -1,3 +1,6 @@ xfor change log: +v1.01 (11 July 2007): + made \@iforgatherrest and \@forgatherrest \long + v1.0 (27 June 2007): Initial release diff --git a/Master/texmf-dist/doc/latex/xfor/README b/Master/texmf-dist/doc/latex/xfor/README index 7b617de5662..abfd12dec02 100644 --- a/Master/texmf-dist/doc/latex/xfor/README +++ b/Master/texmf-dist/doc/latex/xfor/README @@ -1,23 +1,23 @@ -LaTeX Package : xfor - -Last Modified : 27 June 2009 -Version : 1.0 (Initial Release) -Author : Nicola Talbot - -This package redefines \@for so that it is possible to -prematurely terminate the loop. - -The package is supplied using the TeX Directory Structure (TDS). -Files in texmf directory should go in the corresponding -$LOCALTEXMF directories. - -*Remember to refresh TeX's database* - -The package and documentation source code is also supplied as a -dtx and ins file located in texmf/source. - -This material is subject to the LaTeX Project Public License. -See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. - -http://theoval.cmp.uea.ac.uk/~nlct/ - +LaTeX Package : xfor + +Last Modified : 11 July 2009 +Version : 1.01 +Author : Nicola Talbot + +This package redefines \@for so that it is possible to +prematurely terminate the loop. + +The package is supplied using the TeX Directory Structure (TDS). +Files in texmf directory should go in the corresponding +$LOCALTEXMF directories. + +*Remember to refresh TeX's database* + +The package and documentation source code is also supplied as a +dtx and ins file located in texmf/source. + +This material is subject to the LaTeX Project Public License. +See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. + +http://theoval.cmp.uea.ac.uk/~nlct/ + diff --git a/Master/texmf-dist/doc/latex/xfor/xfor.pdf b/Master/texmf-dist/doc/latex/xfor/xfor.pdf index 5c62d04e07a..dec39f6f722 100644 Binary files a/Master/texmf-dist/doc/latex/xfor/xfor.pdf and b/Master/texmf-dist/doc/latex/xfor/xfor.pdf differ diff --git a/Master/texmf-dist/source/latex/xfor/xfor.dtx b/Master/texmf-dist/source/latex/xfor/xfor.dtx index e66f5f212c9..863efb923cc 100644 --- a/Master/texmf-dist/source/latex/xfor/xfor.dtx +++ b/Master/texmf-dist/source/latex/xfor/xfor.dtx @@ -6,7 +6,7 @@ % -author "Nicola Talbot" % -dir "source" % xfor -% Created on 2007/6/27 17:32 +% Created on 2007/7/11 12:25 %\fi %\iffalse %<*package> @@ -43,7 +43,7 @@ pdftitle={xfor: redefinition of '@for}, pdfkeywords={LaTeX,package development}]{hyperref} -\CheckSum{102} +\CheckSum{104} \PageIndex \RecordChanges \newcommand*{\sty}[1]{\textsf{#1}} @@ -55,7 +55,7 @@ %\fi %\MakeShortVerb{"} % -% \title{xfor v1.0: Reimplementation of \cs{@for} to allow +% \title{xfor v1.01: Reimplementation of \cs{@for} to allow %premature termination of the loop} % \author{Nicola L.C. Talbot\\[10pt] %School of Computing Sciences\\ @@ -64,7 +64,7 @@ %NR4 7TJ. United Kingdom.\\ %\url{http://theoval.cmp.uea.ac.uk/~nlct/}} % -%\date{27th June 2007} +%\date{11th July 2007} %\maketitle %\tableofcontents % @@ -214,7 +214,7 @@ % Declare package: % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{xfor}[2007/06/27 v1.0 (NLCT)] +\ProvidesPackage{xfor}[2007/07/11 v1.01 (NLCT)] % \end{macrocode} % Define a switch to determine if the for loop should be % terminated: @@ -271,15 +271,17 @@ % \end{macrocode} %\end{macro} % Get remainder of list (stores in \cs{@forremainder}): +%\changes{1.01}{2007 July 11}{Made '@forgatherrest long}% %\begin{macro}{\@forgatherrest} % \begin{macrocode} -\def\@forgatherrest#1,\@nil,\@nil{\def\@forremainder{#1}} +\long\def\@forgatherrest#1,\@nil,\@nil{\def\@forremainder{#1}} % \end{macrocode} %\end{macro} % As above, but there may not be anything before \cs{@nil}: +%\changes{1.01}{2007 July 11}{Made '@iforgatherrest long}% %\begin{macro}{\@iforgatherrest} % \begin{macrocode} -\def\@iforgatherrest#1\@nil,\@nil{% +\long\def\@iforgatherrest#1\@nil,\@nil{% \def\@fortmp{#1}% \ifx\@fortmp\@empty \def\@forremainder{}% diff --git a/Master/texmf-dist/source/latex/xfor/xfor.ins b/Master/texmf-dist/source/latex/xfor/xfor.ins index 128fec4243b..225a78fb744 100644 --- a/Master/texmf-dist/source/latex/xfor/xfor.ins +++ b/Master/texmf-dist/source/latex/xfor/xfor.ins @@ -1,4 +1,4 @@ -% xfor.ins generated using makedtx version 0.91b 2007/6/27 17:32 +% xfor.ins generated using makedtx version 0.91b 2007/7/11 12:25 \input docstrip \preamble diff --git a/Master/texmf-dist/tex/latex/xfor/xfor.sty b/Master/texmf-dist/tex/latex/xfor/xfor.sty index 26ee7040312..b1992383595 100644 --- a/Master/texmf-dist/tex/latex/xfor/xfor.sty +++ b/Master/texmf-dist/tex/latex/xfor/xfor.sty @@ -31,7 +31,7 @@ %% append new stuff to new list %% check to see if for loop was prematurely terminated \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{xfor}[2007/06/27 v1.0 (NLCT)] +\ProvidesPackage{xfor}[2007/07/11 v1.01 (NLCT)] \newif\if@endfor \long\def\@for#1:=#2\do#3{% \@endforfalse @@ -64,8 +64,8 @@ \fi \fi } -\def\@forgatherrest#1,\@nil,\@nil{\def\@forremainder{#1}} -\def\@iforgatherrest#1\@nil,\@nil{% +\long\def\@forgatherrest#1,\@nil,\@nil{\def\@forremainder{#1}} +\long\def\@iforgatherrest#1\@nil,\@nil{% \def\@fortmp{#1}% \ifx\@fortmp\@empty \def\@forremainder{}% -- cgit v1.2.3