lilypond-devel
[Top][All Lists]
Advanced

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

Re: \displayLilyMusic function


From: Reinhold Kainhofer
Subject: Re: \displayLilyMusic function
Date: Tue, 6 Apr 2010 13:45:05 +0200
User-agent: KMail/1.13.2 (Linux/2.6.31-20-generic; KDE/4.4.2; i686; ; )

Am Dienstag, 6. April 2010 13:16:16 schrieb James Lowe:
> Now this all seems to work however I always get a PDF file created even
> if the *.ly file contains
> 
> \version "2.13.6"
> 
> {
>    \displayLilyMusic \transpose c a, { c4 e g a bes }
> }
> 
> I just want to check that that is expected behaviour (i.e. without any
> CLI switches 'Lilypond myfile.ly' with just the above information should
> create a PDF.

Yes, that's the intention. \displayLilyMusic will return the music expression 
it is fed (and thus schedule it for typesetting), but as a side-effect also 
print the music expression to the console.

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org




reply via email to

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