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: Peter Toye
Subject: Re: Workaround for (not-allowed) numbers in variable names?
Date: Sun, 7 Mar 2021 14:48:08 +0000

The 2.22 documentation is obviously better here:

The name of a variable should not contain (ASCII) numbers, multiple underscores, multiple dashes or space characters. All other characters Unicode provides are allowed, for example Latin, Greek, Chinese or Cyrillic. Non-adjacent single underscores and dashes are allowed, too. In other words, variable names like HornIII or αβγXII work.

Any combination of characters is allowed if the variable name is enclosed in double quotation marks. In this case backslashes and double quotation marks need to be escaped with backslashes (not that you actually should use them). Examples: "foo bar", "a-b-c", "Horn 3".

 
Regards,

Peter
mailto:lilypond@ptoye.com
www.ptoye.com
reply via email to

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