On Fri, Nov 15, 2024 at 2:38 AM Maria Kireva via LilyPond user discussion <
[email protected]> wrote:
>
> Dear Lilypond user,
>
> I created this songbook with lilypond and like to achieve
> independent numbering of pages for the first analytical part of the book
> and the second with the scores. The first should have roman page numbers
> and the second part with the scores should start at page 1 with arabic page
> numbers. In my file structure every song is a different bookpart with
> custom paper variable block. Do you know some solution for my problem or
> how muss I change the file structurer to achieve this result?
>
I don't have any good answers for you, but two observations:
First, I'd be interested in knowing why the following snippet doesn't
work. (I expected it to restart numbering on Score Two):
%%% Begin
\version "2.24.4"
\bookpart {
\markup "Score One"
\score {
\new Staff { \repeat unfold 256 { c'1 } }
}
}
\bookpart {
% This doesn't work
\paper {
first-page-number = #1
print-first-page-number = ##t
}
\markup "Score Two"
\score {
\new Staff { \repeat unfold 256 { c'1 } }
}
}
\bookpart {
\markup "Score Three"
\score {
\new Staff { \repeat unfold 256 { c'1 } }
}
}
%%% End
Second, I think the standard way to combine text and LilyPond scores is by
using lilypond-book (
https://lilypond.org/doc/v2.24/Documentation/usage/lilypond_002dbook). The
text would be in LaTeX and the scores would be in the LaTeX extensions that
lilypond-book understands. But this just pushes the question back to: how
do you restart numbering in LaTeX? But I suspect that the answer is more
straightforward in LaTeX than in LilyPond.
--
Knute Snortum