lilypond-user
[Top][All Lists]
Advanced

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

Re: Workaround for (not-allowed) numbers in variable names?


From: 田村淳
Subject: Re: Workaround for (not-allowed) numbers in variable names?
Date: Sun, 7 Mar 2021 18:21:43 +0900

Thank you!

Now I understand that keys separated by periods, for example,
StaffGrouper.staff-staff-spacing.basic-distance = #7
is a way to access a nested alist easily.

Jun

2021/03/07 17:26、Jean Abou Samra <jean@abou-samra.fr>のメール:

Le 07/03/2021 à 03:03, 田村淳 a écrit :

Hello David,

gamme.1 is not a variable name.  It takes gamme to be an alist, and the
entry under key 1 is what is addressed here.
Since you showed the Scheme equivalent below, I guess the above is a part of LilyPond syntax, or something the LilyPond parser does. Is that documented elsewhere? I’d like to know a bit more details.

Best regards,

Jun

Not really in an obvious place, but there is some text here:

https://lilypond.org/doc/v2.22/Documentation/notation/modifying-alists

Best,
Jean



reply via email to

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