lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Table of Contents - order by page


From: Andrew Bernard
Subject: Re: Table of Contents - order by page
Date: Mon, 12 Dec 2016 13:09:50 +1100

Hi Freddy,



On 12 December 2016 at 12:20, Freddy Ouellette <address@hidden> wrote:
The table of contents seems to list its items by the order in which they were evaluated by the parser, and not by where they actually appear in the book... Is there a way to avoid this?

for example, even though partB comes AFTER partA in the book, and the PAGES in the table of contents are right, partB comes listed first in the TOC which is very annoying, simply because it was evaluated first.


How about if you put part A before part B? That works fine.

partA =
\bookpart {
  \tocItem "PART A"
  \new Staff {
    c4 d e f
  }
}

partB = 
\bookpart {
  \tocItem "PART B"
  \new Staff {
    c4 d e f
  }
}



Andrew
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]