lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Allow \markuplines to be assigned to a variable


From: Reinhold Kainhofer
Subject: Re: [PATCH] Allow \markuplines to be assigned to a variable
Date: Tue, 4 Jan 2011 15:33:35 +0100
User-agent: KMail/1.13.5 (Linux/2.6.35-24-generic; KDE/4.5.4; i686; ; )

Am Dienstag, 4. Januar 2011, um 15:22:38 schrieb David Kastrup:
> Reinhold Kainhofer <address@hidden> writes:
> > Here's a patch that allows markup lines to be assigned to a variable:
> > http://codereview.appspot.com/3855043
> > 
> > So far, the following was invalid syntax:
> > 
> > mytext = \markuplines {
> > 
> >   \justified-lines { Lorem ipsum dolor sit amet, ...  } }
> > 
> > \markuplines \mytext
> 
> Why wouldn't you rather write
> 
> \mytext
> 
> as the last line?  

I would very much like to. But in lilypond that's not the common thing (and 
doesn't work for markup or score, either):

sss = \score { \relative c' { c1 d e f } }
\score { \sss }  % works
\sss             % doesn't work


mmm = \markup "blah"
\markup \mmm     % works
\mmm             % doesn't work


> As it stands, this looks like one \markuplines
> mysteriously vanishes.

I don't really understand what you mean by that?

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]