The tocitem needs to go right above or in each score block. You've put them on the same page as your table of contents, which is why they're displaying the same page number.
> Could you provide an actual skeletal example of what you described?
Sure. Since I sent the last email I actually started to section the
pages with \bookpart instead of \pageBreak, but it is still happening
nonetheless.
\version "2.20.0"
\paper {
(formatting stuff)
}
\layout {
(staff size)
}
\bookpart {
(copyright in \header)
(big title on first page with \markup)
}
\bookpart {
\markuplist \table-of-contents
\tocItem \markup { (piece one) }
\tocItem \markup { (piece two) }
\tocItem \markup { (piece three) }
\markup \null
}
\bookpart {
(tagline in \header)
score {
(\header)
(\new Staff)
}
score {
(\header)
(\new Staff)
}
score {
(\header)
(\new Staff)
}
}