[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fri, 09 Aug 2002 09:29:51 +0200 (CEST)
what do you think about extending ly2dvi by an option
which calls the named preprocessor on the input before doing anything
ly2dvi --pre m4 input.m4
which expands internally to
m4 input.m4 > input.ly
An alternative and/or additional option would be to allow a special
keyword `preprocessor' in the \header block:
preprocessor = m4
The latter method appears to be quite elegant IMHO.
I'm not sure whether this is a security issue, but similar features
exist for TeX.
PS: m4 seems to be suited well for preprocessing LilyPond input; at
least I've used it successfully.
- extending ly2dvi,
Werner LEMBERG <=