summaryrefslogtreecommitdiff
path: root/macros/generic/commado/README
blob: 75ceed7fbf3951dd847de71bfea029fab1571a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67

             README for the `commado' bundle

      Iterate on comma-separated and filename lists

                (C) Uwe Lueck 2012/11/29


`commado.sty' provides 

               \DoWithCSL{<cmd>}{<list>} 

to apply an existing one-parameter macro <cmd> to each item 
in a list <list> in which items are separated by commas. 

`filesdo.sty' provides 

       \DoWithBasesExts{<cmd>}{<bases>}{<exts>}

to run <cmd>{<base>.<ext>} for some (at most) one-parameter 
macro <cmd>, each base filename <base> in the comma-separated 
list <bases> and each extension <ext> in the comma-separated 
list <exts>. 

As opposed to LaTeX’s internal \@for, no assignments are 
involved (unless <cmd> uses assignments, "expandability" in 
"TeX’s gullet").

Both packages are "generic," i.e., should work with Plain 
TeX, LaTeX or even other formats, relying on the `plainpkg' 
package for some minimal LaTeX-like behaviour.

RELATED PACKAGES: `loops' and others mentioned in the 
    `dowith' package documentation.

KEYWORDS: macro programming, programming structures, loops, 
    lists

REQUIRED PACKAGES: `plainpkg', `stacklet'

LICENSE: The package files `commado.sty', `filesdo.sty' and
    the files `commado.pdf' and `commado.tex' documenting 
    both package files 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

    There is NO WARRANTY, indeed this still is somewhat
    experimental.

    The `commado' package is author-maintained in the sense 
    of the license.

The latest public version of the package is available at

    http://mirror.ctan.org/macros/latex/contrib/commado/

A TDS version of the package is available as

    http://mirror.ctan.org/install/macros/latex/contrib/commado.tds.zip

Please report bugs, problems, suggestions, and bad English via

    http://www.contact-ednotes.sty.de.vu