Comprehensive TeX Archive Network

commado – Expandable iteration on comma-separated and filename lists

The bun­dle pro­vides two pack­ages: com­mado and filesdo.

The pack­age com­mado pro­vides the com­mand \DoWithCSL:

\DoWithCSL{<cmd>}{<list>} ap­plies an ex­ist­ing one-pa­ram­e­ter macro <cmd> to each item in a list <list> in which terms are sep­a­rated by com­mas.

The pack­age filesdo pro­vides the com­mand \DoWithBas­esExts:


which runs the sin­gle pa­ram­e­ter com­mand <cmd> on each file whose base and ex­ten­sion are re­spec­tively from the comma-sep­a­rated lists <bases> and <exts>.

Th­ese ‘loop’-like com­mands are (them­selves) en­tirely ex­pand­able.

The pack­ages rely on pack­ages plainpkg, and stack­let

Sources /macros/generic/commado
Sup­port http://www.web­de­sign-bu.de/uwe_lueck/con­tact.html
Ver­sion r0.11a
Li­cense The Project Public Li­cense 1.3
Copy­right 2012 Uwe Lück
Main­tainer Uwe Lück
TDS archive commado.tds.zip
Con­tained in TeX Live as com­mado
MiKTeX as com­mado
Topics sup­port for de­vel­op­ment of macros
See also loops

Down­load the con­tents of this pack­age in one zip archive (587.6k).

Com­mu­nity Com­ments



Here you can see a re­spec­tive di­a­gram in newer browsers.


Guest Book Sitemap Contact Contact Author