Thanks
for the answers!
Unfortunately, that's not what I'm looking for!
What a pity! Can I hope
for the future?
mario
Il 26/09/2017 22:29, Simon Albrecht ha
scritto:
On
25.09.2017 20:37, Mario Moles wrote:
Hi lilyponders!
How to make like in tha jpg?
Hi Mario,
using the index to the Notation Reference I could find
<http://lilypond.org/doc/v2.19/Documentation/notation/table-of-contents>.
This shows that LilyPond allows for quite advanced use of
automatic tables of content.
As mentioned, redefining evenHeaderMarkup and oddHeaderMarkup is
another requirement for your use case.
However, in order to automatically produce a header like the LaTeX
book classes do by default, one would need a way to insert markup
corresponding to
– the last \tocItem that occurred in the \book “before” (or
“above”) the respective HeaderMarkup in print
– disregarding \tocItems that don’t refer to “chapters” (whatever
that may be)
– and not print it if there is a \tocItem of the “chapter” type on
that same page.
It doesn’t seem like there is such a mechanism in LilyPond – yet.
Best, Simon
|