Ignore unknown alternativeNumberingStyle symbols
If alternativeNumberingStyle
is set to an unknown symbol, it falls back to style 'numbers
.
It should fall back to the default, i.e. continuous numbering through alternatives, so that users can create custom engravers that are enabled by other values of alternativeNumberingStyle
without enabling alternative numbering.
#6509 (closed) tracks a related issue with #f
.
'number
as a style, but the Notation Reference (2.24.0) says that 'numbers
and 'numbers-with-letters
are the two supported styles.
\layout {
indent = 4 \cm
\override Score.BarNumber.break-visibility = ##(#t #t #t)
}
mus = { \repeat volta 2 { b1 } \alternative { b b } b }
\markup \rounded-box "Established settings"
\new Staff
\with { instrumentName = "default" }
\mus
\new Staff
\with { instrumentName = "'number" }
{ \set Score.alternativeNumberingStyle = #'number \mus }
\new Staff
\with { instrumentName = "'numbers-with-letters" }
{ \set Score.alternativeNumberingStyle = #'numbers-with-letters \mus }
\markup
\rounded-box
"Not known settings fall back to 'number not the default, which is '()"
\new Staff
\with { instrumentName = "##f" }
{ \set Score.alternativeNumberingStyle = ##f \mus }
\new Staff
\with { instrumentName = "'unknown-symbol" }
{ \set Score.alternativeNumberingStyle = #'unknown-symbol \mus }
Edited by Dan Eble