Le 23 nov. 2022 à 15:27, David Kastrup <[email protected]> a écrit :
>
>> My problem is : how can I get the last page number computed alright,
>> but without this extra staff for the label itself?
>
> By putting the label into one of the existing staves rather than in a
> staff of its own?
Thanks David, good hint!
I use a dynamics voice to hold the structure of the piece, with repeats and all:
\book {
\score {
{
{
<<
\new Dynamics {
\Structure
}
\new ChoirStaff <<
… … …
}
Structure = {
\repeat segno 2 {
\partial 2 % 1
s2 |
… … …
% 34
s1*5 |
\fine
}
Adding :
\label #'DenierePage
at the end of Structure solves the issue.
A nice day!
JM