lilypond-user
[Top][All Lists]
Advanced

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

Re: bookpart, titles and table-of-contents


From: Federico Bruni
Subject: Re: bookpart, titles and table-of-contents
Date: Mon, 03 Sep 2012 21:15:25 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6

Il 03/09/2012 00:06, Christopher R. Maden ha scritto:
Remember you can have multiple scores in each bookpart, and a score
can have its own title.

Yes, but the title of \score blocks is printed only if you set print-all-headers to ##t, which in turn causes a mess in that configuration.
It's what I tried to explain.
I adapted your example to illustrate what's happening.

\version "2.16.0"

\book {
  \paper {
    %print-all-headers = ##t
  }
  \header {
    title = "crism’s tunes"
  }
  \markuplist \table-of-contents
  \bookpart {
    \tocItem \markup {
      \bold "Reels"
    }
    \header {
      title = "Reels"
    }
    \tocItem \markup { \hspace #2 "The Concertina Reel" }
    \score {
      \new Staff { c'1 }
      \header {
        title = "The Concertina Reel"
      }
      \layout {}
    }
  }
  \bookpart {
    \tocItem \markup {
      \bold "Jigs"
    }
    \header {
      title = "Jigs"
    }
    \tocItem \markup { \hspace #2 "Banish Misfortune" }
    \score {
      \new Staff { c'1 }
      \header {
        title = "Banish Misfortune"
      }
      \layout {}
    }
  }
}



reply via email to

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