On 4 January 2011 14:33, Reinhold Kainhofer wrote:
> mmm = \markup "blah"
> \markup \mmm % works
> \mmm % doesn't work
This is a special case since \markup "blah" returns a string rather
than a markup (using simple_string ()). It works if you wrap the
string in braces:
mmm = \m
Am Dienstag, 4. Januar 2011, um 15:22:38 schrieb David Kastrup:
> Reinhold Kainhofer 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 {
> >
Reinhold Kainhofer 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