[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Markup in scheme
From: |
John Schlomann |
Subject: |
RE: Markup in scheme |
Date: |
Sun, 1 Nov 2020 16:15:42 -0600 |
Thank you, Martin and Harm. You gave me the understanding I needed.
John
> -----Original Message-----
> From: Thomas Morley [mailto:thomasmorley65@gmail.com]
> Sent: Saturday, October 31, 2020 1:47 PM
> To: John Schlomann
> Cc: lilypond-user
> Subject: Re: Markup in scheme
>
> Am Sa., 31. Okt. 2020 um 16:30 Uhr schrieb John Schlomann
> <jschlomann@wideopenwest.com>:
> >
> > In the following snippet, the first markup works fine. The second gives no
> errors, but outputs nothing.
> >
> >
> >
> > Why does the scheme version not work?
> >
> >
> >
> > \version "2.20.0"
> >
> > \markup{"First markup"}
> >
> > #(markup #:line (#:simple "Second markup"))
> >
> >
> >
> > Thanks,
> >
> > John
> >
> >
>
> To have LilyPond do something with #(markup ...) you need to explain
> to LilyPond _what_ to do with it".
>
> Martin's example embeds it in a music expression. -> Initiate a TextScript-
> grob
>
> You can store and call it like:
> foo = #(markup #:line (#:simple "Second markup"))
> \foo
> It is called at top level. -> Create top level text
>
> Directly and on top level you could do:
> $(markup #:line (#:simple "Second markup"))
> Directly evaluate the expression (here at top level). -> Create top level text
>
> HTH,
> Harm
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: Markup in scheme,
John Schlomann <=