It should be possible to apply the same process to a
set of documents defined by wildcards (or RegExp). This
needs some mapping to the output file name, either by
replacing the ending (should be fair enough in most
cases) or something more complex (a la some RegExp
systems).