lilypond-user
[Top][All Lists]
Advanced

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

Re: Preprocessing ly files


From: Mats Bengtsson
Subject: Re: Preprocessing ly files
Date: Thu, 19 May 2005 15:08:43 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414

See the section in the manual entitled "Different editions from one source".

   /Mats

address@hidden wrote:
Is there a simple way to filter a lilypond file trough a preprocessor so that
some lilypond instructions are executed or not according to some general 
directive?
For example, if I have lilypond source written for F horn and wont to run it for
Eb horn also I would like to have a macro directive like (C preprocessor idiom)

#ifdef EB_HORN
\transpose c d
#endif

Is there something like this already available or can it be easyly implemented?

Thank you for your help,

Antonio Palamà



____________________________________________________________
Navighi a 4 MEGA e i primi 3 mesi sono GRATIS. Scegli Libero Adsl Flat senza limiti su http://www.libero.it




_______________________________________________
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
=============================================




reply via email to

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