|
From: | Simon Bailey |
Subject: | Re: Bar numbers every nth bar *and* at beginning of line |
Date: | Thu, 26 May 2022 08:40:43 +0100 |
Hi Jean,
>> You’ve clearly never been [self-]bitten by the “many of my custom contexts \consists Bar_number_engraver, and now I’m trying to use two or more of them simultaneously” bug… ;)
>
> Mmm… What is the bug when you do that?
See output of:
\version "2.23.4"
\layout {
\context {
\Score
\consists Bar_number_engraver
}
\context {
\StaffGroup
\consists Bar_number_engraver
}
\context {
\Staff
\consists Bar_number_engraver
}
}
\score {
{
\new StaffGroup <<
\new Staff { c'1 \break c'1 }
>>
}
}
Now I know you’ll say “Well then don’t do that…” ;)
But the point is these custom contexts might be defined in different parts of different include files — usually used separately — and then “accidentally” used together. Short of a time-consuming stylesheet/includefile rewriting, I simply have to kick myself and \remove the engraver from all but one context in order to get the score(s) out the door ASAP.
Cheers
Kieren
[Prev in Thread] | Current Thread | [Next in Thread] |