|
From: | Simon Albrecht |
Subject: | Re: Hide tocItem when not in final score |
Date: | Mon, 28 Nov 2016 15:40:44 +0100 |
On 25.11.2016 21:39, Freddy Ouellette wrote:
Hello, Is there a way to set tocItem tags for each bookpart within variables, but hide the ones that are actually not used? The tocItem function seems to automatically add to the table of contents whether or not that bookpart is actually printed.
I don’t think that there is a standard way of doing so, but gladly you can customise almost everything in LilyPond :-) More precisely, \tocItem is a music function, which might be redefined to give you a method of doing what you want. Can you give us a small example of your setup and the problem?
Best, Simon
[Prev in Thread] | Current Thread | [Next in Thread] |