diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/xfor/xfor.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/xfor/xfor.dtx | 16 |
1 files changed, 9 insertions, 7 deletions
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{}% |