| 1 |
|
| 2 |
README for the `commado' bundle |
| 3 |
|
| 4 |
Iterate on comma-separated and filename lists |
| 5 |
|
| 6 |
(C) Uwe Lueck 2012/11/29 |
| 7 |
|
| 8 |
|
| 9 |
`commado.sty' provides |
| 10 |
|
| 11 |
\DoWithCSL{<cmd>}{<list>} |
| 12 |
|
| 13 |
to apply an existing one-parameter macro <cmd> to each item |
| 14 |
in a list <list> in which items are separated by commas. |
| 15 |
|
| 16 |
`filesdo.sty' provides |
| 17 |
|
| 18 |
\DoWithBasesExts{<cmd>}{<bases>}{<exts>} |
| 19 |
|
| 20 |
to run <cmd>{<base>.<ext>} for some (at most) one-parameter |
| 21 |
macro <cmd>, each base filename <base> in the comma-separated |
| 22 |
list <bases> and each extension <ext> in the comma-separated |
| 23 |
list <exts>. |
| 24 |
|
| 25 |
As opposed to LaTeX’s internal \@for, no assignments are |
| 26 |
involved (unless <cmd> uses assignments, "expandability" in |
| 27 |
"TeX’s gullet"). |
| 28 |
|
| 29 |
Both packages are "generic," i.e., should work with Plain |
| 30 |
TeX, LaTeX or even other formats, relying on the `plainpkg' |
| 31 |
package for some minimal LaTeX-like behaviour. |
| 32 |
|
| 33 |
RELATED PACKAGES: `loops' and others mentioned in the |
| 34 |
`dowith' package documentation. |
| 35 |
|
| 36 |
KEYWORDS: macro programming, programming structures, loops, |
| 37 |
lists |
| 38 |
|
| 39 |
REQUIRED PACKAGES: `plainpkg', `stacklet' |
| 40 |
|
| 41 |
LICENSE: The package files `commado.sty', `filesdo.sty' and |
| 42 |
the files `commado.pdf' and `commado.tex' documenting |
| 43 |
both package files can be redistributed and/or modified |
| 44 |
under the terms of the LaTeX Project Public License; |
| 45 |
either version 1.3c of the License, or any later version, |
| 46 |
see |
| 47 |
|
| 48 |
http://www.latex-project.org/lppl.txt |
| 49 |
|
| 50 |
There is NO WARRANTY, indeed this still is somewhat |
| 51 |
experimental. |
| 52 |
|
| 53 |
The `commado' package is author-maintained in the sense |
| 54 |
of the license. |
| 55 |
|
| 56 |
The latest public version of the package is available at |
| 57 |
|
| 58 |
http://mirror.ctan.org/macros/latex/contrib/commado/ |
| 59 |
|
| 60 |
A TDS version of the package is available as |
| 61 |
|
| 62 |
http://mirror.ctan.org/install/macros/latex/contrib/commado.tds.zip |
| 63 |
|
| 64 |
Please report bugs, problems, suggestions, and bad English via |
| 65 |
|
| 66 |
http://www.contact-ednotes.sty.de.vu |
| 67 |
|