Re: Custom page numbers in table of contents
Ah, I see what Noah means. The code quoted is not misleading, but neither is it practical. It is meant to demonstrate a specific point, not to show a real-world example. Not sure if there is anything to be done about that on the documentation side, but the confusion is certainly understandable. Hwaen Ch'uqi On 11/6/20, Jon Arnold wrote: > No need to be sorry! Glad we could figure out the problem. > > On Fri, Nov 6, 2020, 1:39 PM Noah Landis wrote: > >> > 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. >> Oh man, sorry for all that then. I more or less just copied a snippet >> from the manual; more specifically this one: >> >> \book { >> \markuplist \table-of-contents >> \tocItem \markup { Allegro } >> \tocItem \markup { Largo } >> \markup \null >> } >> >
Re: Custom page numbers in table of contents
No need to be sorry! Glad we could figure out the problem. On Fri, Nov 6, 2020, 1:39 PM Noah Landis wrote: > > 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. > Oh man, sorry for all that then. I more or less just copied a snippet > from the manual; more specifically this one: > > \book { > \markuplist \table-of-contents > \tocItem \markup { Allegro } > \tocItem \markup { Largo } > \markup \null > } >
Re: Custom page numbers in table of contents
> 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. Oh man, sorry for all that then. I more or less just copied a snippet from the manual; more specifically this one: \book { \markuplist \table-of-contents \tocItem \markup { Allegro } \tocItem \markup { Largo } \markup \null }
Re: Custom page numbers in table of contents
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. On Fri, Nov 6, 2020 at 1:21 PM Noah Landis wrote: > > 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) > } > } > >
Re: Custom page numbers in table of contents
> 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) } }
Re: Custom page numbers in table of contents
Greetings Noah, Could you provide an actual skeletal example of what you described? Without it, I don't know how helpful people can be. Under the conditions you presented, you shouldn't need to manually change page numbers. Hwaen Ch'uqi On 11/5/20, Noah Landis wrote: > Hello list, > > I have two uses of \pageBreak making three total pages. There is a > title page on the first, my table of contents (using > \table-of-contents) on the second, and some songs on the third. > > Currently the table of contents is displaying for song, the same page > number as the one that the table of contents is itself on (the table > of contents is on page 0 and says the songs are as well, which they > aren't). > > How do I manually change the page number displayed for the songs in > \table-of-contents? > > Thank you in advance. > >