summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/forloop/README30
-rw-r--r--Master/texmf-dist/doc/latex/forloop/forloop.pdfbin0 -> 81065 bytes
-rw-r--r--Master/texmf-dist/source/latex/forloop/forloop.dtx144
-rw-r--r--Master/texmf-dist/source/latex/forloop/forloop.ins40
-rw-r--r--Master/texmf-dist/tex/latex/forloop/forloop.sty66
-rw-r--r--Master/texmf-dist/tpm/forloop.tpm29
-rw-r--r--Master/texmf/lists/forloop8
-rw-r--r--Master/texmf/tpm/collection-latexextra.tpm1
8 files changed, 318 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/forloop/README b/Master/texmf-dist/doc/latex/forloop/README
new file mode 100644
index 00000000000..4e2566ce981
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/forloop/README
@@ -0,0 +1,30 @@
+Description
+-----------
+
+The forloop package provides the command \forloop for the user.
+
+
+Installation
+------------
+
+To install this package, run forloop.ins through LaTeX. This will generate
+a file called forloop.sty. Put this file somewhere where LaTeX will find
+it---for instance localtexmf/tex/latex/forloop/ (note that you will need
+to create the folder forloop).
+
+If you are using MikTeX, you then need to refresh the file name database
+by using MikTeX Options
+
+
+License
+-------
+
+This pacakge is released under the GNU Lesser General Public License. See
+http://www.gnu.org/licenses/licenses.html#LGPL for more details.
+
+Contact
+-------
+
+Any bugs may be reported to the author by sending an email to the address with
+the first part being nsetzer, then an at sign, the next part is umd, and
+finally it ends in dot edu. \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/forloop/forloop.pdf b/Master/texmf-dist/doc/latex/forloop/forloop.pdf
new file mode 100644
index 00000000000..f9b17150e78
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/forloop/forloop.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/forloop/forloop.dtx b/Master/texmf-dist/source/latex/forloop/forloop.dtx
new file mode 100644
index 00000000000..35d6843124f
--- /dev/null
+++ b/Master/texmf-dist/source/latex/forloop/forloop.dtx
@@ -0,0 +1,144 @@
+% \iffalse
+%
+%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+%<package>\ProvidesPackage{forloop}
+%<package> [2006/09/17 v1.0 For Loops for LaTeX]
+%<package>\RequirePackage{ifthen}
+%
+%
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{forloop}
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\begin{document}
+\DocInput{forloop.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \iffalse meta-comment
+% remove this comment to get a checksum
+% \CheckSum{0}
+% \fi
+%
+%% \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
+%% Lower-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
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%
+% \changes{v1.0}{2006/09/17}{Initial Release}
+%
+% \GetFileInfo{forloop.sty}
+%
+% \DoNotIndex{\#,\$,\%,\&,\@,\\,\{,\},\^,\_,\~,\ ,\!,\(,\),\,}
+% \DoNotIndex{\@ne,\expandafter}
+% \DoNotIndex{\advance,\begingroup,\catcode,\closein}
+% \DoNotIndex{\newcommand,\renewcommand,\providecommand}
+% \DoNotIndex{\closeout,\day,\def,\edef,\gdef,\let,\empty,\endgroup}
+% \DoNotIndex{\newcounter,\providecounter,\addtocounter,\setcounter,\stepcounter,\value,\arabic}
+% \DoNotIndex{\if,\fi,\ifthenelse,\else,\setboolean,\boolean,\newboolean,\provideboolean,\equal,\AND,\OR,\NOT,\whiledo}
+% \DoNotIndex{\ifcase,\ifcat,\or,\else}
+% \DoNotIndex{\par,\parbox,\mbox,\hbox,\begin,\end,\nabla,\partial}
+% \DoNotIndex{\overline,\bar,\small,\tiny,\mathchoice,\scriptsize,\textrm,\texttt}
+% \DoNotIndex{\alpha,\beta,\gamma,\epsilon,\varepsilon,\delta,\zeta,\eta,\theta,\vartheta,\iota,\kappa,\lambda,\mu,\nu}
+% \DoNotIndex{\xi,\omicron,\pi,\varpi,\rho,\varrho,\sigma,\tau,\upsilon,\phi,\varphi,\chi,\psi,\omega}
+% \DoNotIndex{\Delta,\Gamma,\Theta,\Lambda,\Xi,\Pi,\Sigma,\Phi,\Psi,\Omega}
+% \DoNotIndex{\digamma,\lceil,\rceil,\lfloor,\rfloor,\left,\right,\inp,\inb,\inbr,\inap,\nop}
+% \DoNotIndex{\sum,\prod,\int,\log,\ln,\exp,\sin,\cos,\tan,\csc,\sec,\cot,\arcsin,\arccos,\arctan,\det}
+% \DoNotIndex{\sinh,\cosh,\tanh,\csch,\sech,\coth,\arcsinh,\arccosh,\arctanh}
+% \DoNotIndex{\mod,\max,\min,\gcd,\lcm,\wp,\arg,\dots,\infty,}
+% \DoNotIndex{\frac,\binom,\braket,\@@atop}
+% \DoNotIndex{\cdot,\ldots,\tilde,\times,\dagger,\relax}
+% \DoNotIndex{\mathbb,\roman,\bf,\mathord,\cal,\DeclareMathOperator,\PackageError,\PackageWarning}
+% \DoNotIndex{\csname,\endcsname,\ifx,\ifnum}
+% \DoNotIndex{\mod,\bmod,\pmod,\pod,\operatorname}
+%
+% \title{The \textsf{forloop} package\thanks{This document
+% corresponds to \textsf{forloop}~\fileversion,
+% dated~\filedate.}}
+% \author{nsetzer}
+%
+% \maketitle
+%
+% \setcounter{IndexColumns}{2}
+% \StopEventually{\PrintChanges\PrintIndex}
+%
+% The \textsf{forloop} package defines two commands |\forloop| (preferred usage) and |\forLoop| (deprecated).
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\section{Implementation}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% \begin{macro}{\forloop}
+% |\forloop|\oarg{step}|{|\meta{counter}|=|\meta{value}|}|\marg{condition}\marg{code}.
+%
+% In action: |\forloop{testct=1}{\value{testct} < 3}{\arabic{testct}}|
+% \newcounter{testct} \forloop{testct=1}{\value{testct} < 3}{\arabic{testct}}
+%
+% \begin{macrocode}
+\newcommand{\forloop}[4][1]%
+{%
+\forloop@split#2\%%
+\setcounter{\forloop@ct@name}{\forloop@ct@initialvalue}%
+\whiledo{ #3 }%
+ {%
+ #4%
+ \addtocounter{\forloop@ct@name}{#1}%
+ }%
+}%
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macrocode}
+\def\forloop@split#1=#2\%{%
+\gdef\forloop@ct@name{#1}%
+\gdef\forloop@ct@initialvalue{#2}%
+}%
+% \end{macrocode}
+%
+% \begin{macro}{\forLoop}
+% |\forLoop|\oarg{step}\marg{start}\marg{stop}\marg{counter name}\marg{code}
+% \begin{macrocode}
+\newcommand{\forLoop}[5][1]
+{%
+\setcounter{#4}{#2}%
+\ifthenelse{ \value{#4}<#3 }%
+ {%
+ #5%
+ \addtocounter{#4}{#1}%
+ \forLoop[#1]{\value{#4}}{#3}{#4}{#5}%
+ }%
+% Else
+ {%
+ \ifthenelse{\value{#4}=#3}%
+ {%
+ #5%
+ }%
+ % Else
+ {}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
+%
+% \Finale
+\endinput \ No newline at end of file
diff --git a/Master/texmf-dist/source/latex/forloop/forloop.ins b/Master/texmf-dist/source/latex/forloop/forloop.ins
new file mode 100644
index 00000000000..dd7247cfd1b
--- /dev/null
+++ b/Master/texmf-dist/source/latex/forloop/forloop.ins
@@ -0,0 +1,40 @@
+%%
+%% Copyright (C) 2005 by nsetzer
+%%
+%% This file may be distributed and/or modified under the
+%% conditions of the Limited General Product License
+%%
+
+\input docstrip.tex
+
+\keepsilent
+
+\usedir{tex/latex/forloop}
+
+\preamble
+
+This is a generated file
+
+This file may be distributed and/or modified under the
+conditions of the Limited General Product License
+
+\endpreamble
+
+
+\generate{\file{forloop.sty}{\from{forloop.dtx}{package}}}
+
+\obeyspaces
+\Msg{****************************************************}
+\Msg{* *}
+\Msg{* To finish the installation you have to move the *}
+\Msg{* following file into a directory searched by TeX: *}
+\Msg{* *}
+\Msg{* forloop.sty *}
+\Msg{* *}
+\Msg{* To produce the documentation run the file *}
+\Msg{* forloop.dtx through LaTeX. *}
+\Msg{* *}
+\Msg{* *}
+\Msg{****************************************************}
+
+\endbatchfile \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/forloop/forloop.sty b/Master/texmf-dist/tex/latex/forloop/forloop.sty
new file mode 100644
index 00000000000..724aa3cffe7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/forloop/forloop.sty
@@ -0,0 +1,66 @@
+%%
+%% This is file `forloop.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% forloop.dtx (with options: `package')
+%%
+%% This is a generated file
+%%
+%% This file may be distributed and/or modified under the
+%% conditions of the Limited General Product License
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{forloop}
+ [2006/09/17 v1.0 For Loops for LaTeX]
+\RequirePackage{ifthen}
+%% \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
+%% Lower-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
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\newcommand{\forloop}[4][1]%
+{%
+\forloop@split#2\%%
+\setcounter{\forloop@ct@name}{\forloop@ct@initialvalue}%
+\whiledo{ #3 }%
+{%
+#4%
+\addtocounter{\forloop@ct@name}{#1}%
+}%
+}%
+\def\forloop@split#1=#2\%{%
+\gdef\forloop@ct@name{#1}%
+\gdef\forloop@ct@initialvalue{#2}%
+}%
+\newcommand{\forLoop}[5][1]
+{%
+\setcounter{#4}{#2}%
+\ifthenelse{ \value{#4}<#3 }%
+{%
+#5%
+\addtocounter{#4}{#1}%
+\forLoop[#1]{\value{#4}}{#3}{#4}{#5}%
+}%
+{%
+\ifthenelse{\value{#4}=#3}%
+{%
+#5%
+}%
+{}%
+}%
+}
+\endinput
+%%
+%% End of file `forloop.sty'.
diff --git a/Master/texmf-dist/tpm/forloop.tpm b/Master/texmf-dist/tpm/forloop.tpm
new file mode 100644
index 00000000000..6d00465746d
--- /dev/null
+++ b/Master/texmf-dist/tpm/forloop.tpm
@@ -0,0 +1,29 @@
+<!DOCTYPE rdf:RDF SYSTEM "../../support/tpm.dtd">
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:TPM="http://texlive.dante.de/">
+ <rdf:Description about="http://texlive.dante.de/texlive/Package/forloop.zip">
+ <TPM:Name>forloop</TPM:Name>
+ <TPM:Type>Package</TPM:Type>
+ <TPM:Date>2006/09/17 20:42:00</TPM:Date>
+ <TPM:Version></TPM:Version>
+ <TPM:Creator>karl</TPM:Creator>
+ <TPM:Title>The forloop package.</TPM:Title>
+ <TPM:Description></TPM:Description>
+ <TPM:Author></TPM:Author>
+ <TPM:Size>90075</TPM:Size>
+ <TPM:Build/>
+ <TPM:RunFiles size="2853">
+texmf-dist/tex/latex/forloop/forloop.sty
+texmf-dist/tpm/forloop.tpm
+ </TPM:RunFiles>
+ <TPM:DocFiles size="81926">
+texmf-dist/doc/latex/forloop/README
+texmf-dist/doc/latex/forloop/forloop.pdf
+ </TPM:DocFiles>
+ <TPM:SourceFiles size="6314">
+texmf-dist/source/latex/forloop/forloop.dtx
+texmf-dist/source/latex/forloop/forloop.ins
+ </TPM:SourceFiles>
+ <TPM:Provides>Package/forloop</TPM:Provides>
+ </rdf:Description>
+</rdf:RDF>
+
diff --git a/Master/texmf/lists/forloop b/Master/texmf/lists/forloop
new file mode 100644
index 00000000000..e3a2e60da9f
--- /dev/null
+++ b/Master/texmf/lists/forloop
@@ -0,0 +1,8 @@
+texmf-dist/doc/latex/forloop/README
+texmf-dist/doc/latex/forloop/forloop.pdf
+texmf-dist/source/latex/forloop/forloop.dtx
+texmf-dist/source/latex/forloop/forloop.ins
+texmf-dist/tex/latex/forloop/forloop.sty
+texmf-dist/tpm/forloop.tpm
+
+texmf/lists/forloop
diff --git a/Master/texmf/tpm/collection-latexextra.tpm b/Master/texmf/tpm/collection-latexextra.tpm
index ce82b038c0d..390585b5c99 100644
--- a/Master/texmf/tpm/collection-latexextra.tpm
+++ b/Master/texmf/tpm/collection-latexextra.tpm
@@ -175,6 +175,7 @@ A large collection of add-on packages for LaTeX.
<TPM:Package name="foilhtml"/>
<TPM:Package name="footmisc"/>
<TPM:Package name="footnpag"/>
+ <TPM:Package name="forloop"/>
<TPM:Package name="formlett"/>
<TPM:Package name="formular"/>
<TPM:Package name="fribrief"/>