summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base/ltcntrl.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltcntrl.dtx')
-rw-r--r--Master/texmf-dist/source/latex/base/ltcntrl.dtx38
1 files changed, 20 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltcntrl.dtx b/Master/texmf-dist/source/latex/base/ltcntrl.dtx
index de7688c8b8a..fd294c42f5d 100644
--- a/Master/texmf-dist/source/latex/base/ltcntrl.dtx
+++ b/Master/texmf-dist/source/latex/base/ltcntrl.dtx
@@ -1,30 +1,30 @@
% \iffalse meta-comment
%
-% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009
+% Copyright 1993-2014
% The LaTeX3 Project and any individual authors listed elsewhere
-% in this file.
-%
+% in this file.
+%
% This file is part of the LaTeX base system.
% -------------------------------------------
-%
+%
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
+% and version 1.3c or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
-%
+%
% This file has the LPPL maintenance status "maintained".
-%
+%
% The list of all files belonging to the LaTeX base distribution is
% given in the file `manifest.txt'. See also `legal.txt' for additional
% information.
-%
-% The list of derived (unpacked) files belonging to the distribution
-% and covered by LPPL is defined by the unpacking scripts (with
+%
+% The list of derived (unpacked) files belonging to the distribution
+% and covered by LPPL is defined by the unpacking scripts (with
% extension .ins) which are part of the distribution.
-%
+%
% \fi
%
% \iffalse
@@ -32,7 +32,7 @@
%<*driver>
% \fi
\ProvidesFile{ltcntrl.dtx}
- [2007/08/06 v1.0h LaTeX Kernel (program control)]
+ [2014/04/21 v1.0h LaTeX Kernel (program control)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltcntrl.dtx}
@@ -62,7 +62,7 @@
% {Documentation improvements}
%
% \section{Program control structure}
-%
+%
% This section defines a number of control structure macros, such as
% while-loops and for-loops.
%
@@ -85,7 +85,7 @@
% Optimized for normal case of SWITCH initially false.
%
% \@for NAME := LIST \do {BODY} : Assumes that LIST expands to A1,A2,
-% ... ,An .
+% ... ,An .
% Executes BODY n times, with NAME = Ai on the i-th iteration.
% Optimized for the normal case of n = 1. Works for n=0.
%
@@ -97,7 +97,7 @@
% NOTES: 1. These macros use no \@temp sequences.
% 2. These macros do not work if the body contains anything that
% looks syntactically to TeX like an improperly balanced \if
-% \else \fi.
+% \else \fi.
%
% \@whilenum TEST \do {BODY} ==
% BEGIN
@@ -270,7 +270,7 @@
%
% \begin{macro}{\@tfor}
% \changes{LaTeX209}{1991/10/17}
-% {(Rms) \cs{xdef} replaced by \cs{def}
+% {(Rms) \cs{xdef} replaced by \cs{def}
% (See FMi's array.doc)}
% \changes{v1.0c}{1994/03/13}
% {(DPC) Add \cs{@tf@r} so a single group is
@@ -298,9 +298,11 @@
% \end{macro}
%
% \begin{macro}{\@removeelement}
-% Removes an element from a comma-separated list and puts it into
-% a control sequence, called as
+% Removes an element from a comma-separated list and puts it into
+% a control sequence, called as
% |\@removeelement{|\meta{element}|}{|\meta{list}|}{|\meta{cs}|}|.
+% Due to the implementation method the \meta{element} is not allowed
+% to contain braces.
% \begin{macrocode}
\def\@removeelement#1#2#3{%
\def\reserved@a##1,#1,##2\reserved@a{##1,##2\reserved@b}%