From ac225c92964fc1f94322e26a4edc729528882bcb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 22 Nov 2012 00:51:04 +0000 Subject: dowit (21nov12) git-svn-id: svn://tug.org/texlive/trunk@28325 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/dowith/README | 43 +++++++++++++++++------------ 1 file changed, 25 insertions(+), 18 deletions(-) (limited to 'Master/texmf-dist/doc/generic/dowith/README') diff --git a/Master/texmf-dist/doc/generic/dowith/README b/Master/texmf-dist/doc/generic/dowith/README index 66b577a4869..8f7664cbe35 100644 --- a/Master/texmf-dist/doc/generic/dowith/README +++ b/Master/texmf-dist/doc/generic/dowith/README @@ -1,36 +1,43 @@ - README for the `dowith' package - Apply Command to Each Item in a List of Arguments - in TeX's Mouth - (C) Uwe Lueck 2012/06/03 + README for the `dowith' package + + Apply Command to Each Item in a List of Arguments + in TeX's Macro Expansion Buffer + + (C) Uwe Lueck 2012/11/19 `dowith.sty' provides macros for applying a command to all items in a list of macro arguments, and also for extending and reducing macros storing such lists. "Brace groups" are single items of -such lists, as opposed to token lists. Applications in mind -belonged to LaTeX, but the package should work with other formats -as well. Loop and list macros in other packages are discussed. -Iteration is implemented within "TeX's mouth," so works within -\write as with `blog.sty'. There is no need for e-TeX. +such lists, as opposed to token lists. Iteration is implemented +within TeX's expansion processor, so works within \write as with +`blog.sty'. Loop and list macros in other packages are discussed +in the documentation. There is no need for e-TeX to which some +of them refer. + +`domore.sty' extends `dowith.sty' in order to apply multi- +parameter macros to a list and to insert "separator material" +between resulting items. One application has been generating +inline lists of links that are separated by ` | '. -Privately, I have used macros for a more powerful package where -the command may have more than one argument and there is a -"separator" in output, such as a comma or a vertical stroke -between links. This extended package may soon appear here as well. +The packages are "generic", i.e., should also work with Plain TeX, +relying on the `plainpkg' package for some minimal LaTeX-like +behaviour. KEYWORDS: programming structures; macro programming, loops, list macros RELATED PACKAGES: catoptions, etextools, etoolbox, forarray, -forloop, multido, moredefs, lmake, texapi, xfor, xspace +forloop, loops, multido, moredefs, lmake, texapi, xfor, xspace LICENSE: -The package file `dowith.sty' and the documentation files -`dowith.pdf' and `dowith.tex' can be redistributed and/or -modified under the terms of the LaTeX Project Public License; -either version 1.3c of the License, or any later version, see +The package file `dowith.sty', `domore.sty' and the +documentation files `dowith.pdf', `domore.pdf', `dowith.tex', +and `domore.tex' can be redistributed and/or modified under the +terms of the LaTeX Project Public License; either version 1.3c +of the License, or any later version, see http://www.latex-project.org/lppl.txt -- cgit v1.2.3