|
From: | yota moteuchi |
Subject: | Re: markup + set |
Date: | Mon, 5 Feb 2007 10:02:02 -0500 |
The easiest solution is probably to use an external preprocessor, like M4
(if you search the mailing list archives you can also find hints on other
similar preprocessors to do purely textual replacements in the file. There,
you can also find comments on why the main authors of LilyPond don't
want to include such functionality within LilyPond).
Another solution is outlined in section "Building complicated functions"
in the manual.
/Mats
yota moteuchi wrote:
> Bonjour,
>
> I'm trying to write a NICE lilypond function to do properly what I
> could do with a simple find and replace in the text
>
> where
> \pizz
>
> would become :
> ^\markup {\italic pizz.}
> \set Staff.midiInstrument = "pizzicato strings"
>
> I tried some make-markup stuffs but... how to insert a \set property
> into them...
>
> I would need some tips to do that
>
> merci ^^
> ------------------------------------------------------------------------
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================
[Prev in Thread] | Current Thread | [Next in Thread] |