On Mon, 25 Jun 2018 at 23:37, Thomas Morley <[email protected]>
wrote:

> 2018-06-25 23:31 GMT+02:00 Gianmaria Lari <[email protected]>:
> > Is there any way to refer a scheme variable containing numbers in the
> name,
> > in lilypond?
> >
> > For example, if I write:
> >
> > #(define duration32 (ly:make-duration (ly:intlog2 32)))
> >
> > duration32 is a valid scheme variable name. But this is not a valid
> lilypond
> > variable name. Is there any way to access it anyway in lilypond?
> >
> > Thank you, g.
>
> #(define duration32 (ly:make-duration (ly:intlog2 32)))
>
> \void \displayMusic \"duration32"
>

uhmm... ok!
I tried also this:

\version "2.19.81"
#(define duration32 (ly:make-duration (ly:intlog2 32)))
{a\"duration32"}


and you're right, it works.
Thank you Harm!
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to