Label shouldn't get factored into its own bookpart
\version "2.23.9"
\paper {
bookTitleMarkup = "Bookpart title"
}
\bookpart { { c' } }
\label x
\bookpart { { c' } }
The code above causes three pages to be printed, one with the bookpart title and a small score, one with the bookpart title alone, and another one with the title and a score. The reason is that \label
occurs between two bookparts, and this makes it automatically wrapped into a bookpart of its own. Since \label
is meant to mark a point of the output but not to produce output by itself at the place it is being used, this is somewhat confusing from the user point of view. The workaround is to move it inside the second bookpart.