lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: extending ly2dvi


From: Werner LEMBERG
Subject: Re: extending ly2dvi
Date: Sat, 10 Aug 2002 01:36:50 +0200 (CEST)

> I think that having --preprocessor is feeping creaturitis, and I
> don't really see the point.

See example below.

> > PS: m4 seems to be suited well for preprocessing LilyPond input;
> >     at least I've used it successfully.
>
> I tried a long time ago, and got barking mad from the strange
> quoting rules. Anyways, IMNSHO, Macro Languages Suck (tm).

Well, here is an example.  Since you won't add variables to macros, I
*have* to use m4 or something similar to avoid extremely unreadable
ly files.  Other suggestions how to handle this are highly welcome.


  changequote([, ])
  define([TextVShift],
         [property Voice.TextScript \set #'extra-offset = #'(0 . $1)])
  changequote(,)

  < { \TextVShift(1) s1^"\\textbf{\\large Langsam}" } \\
      R1 > |


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]