commado – Expandable iteration on comma-separated and filename lists
The bundle provides two packages: commado and filesdo.
The package commado provides the command \DoWithCSL:
\DoWithCSL{<cmd>}{<list>} applies an existing one-parameter macro <cmd> to each item in a list <list> in which terms are separated by commas.
The package filesdo provides the command \DoWithBasesExts:
\DoWithBasesExts{<cmd>}{<bases>}{<exts>}
which runs the single parameter command <cmd> on each file whose base and extension are respectively from the comma-separated lists <bases> and <exts>.
These ‘loop’-like commands are (themselves) entirely expandable.
The packages rely on packages plainpkg, and stacklet
Quellen | /macros/generic/commado |
Dokumentation | |
Hilfe | http://www.webdesign-bu.de/uwe_lueck/contact.html |
Version | r0.11a |
Lizenzen | The LaTeX Project Public License 1.3 |
Copyright | 2012 Uwe Lück |
Betreuer | Uwe Lück (verstorben) |
TDS-Archiv | commado.tds.zip |
Enthalten in | TeX Live als commado MiKTeX als commado |
Themen | Makro-Unterstützung |
Siehe auch | loops |
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (587.6k).
Ankündigungen
Vorschläge
Vielleicht sind auch die folgenden Pakete von Interesse.
Bewertungskommentare