]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/toc.ly
Split WWW target in two stages WWW-1 and WWW-2
[lilypond.git] / input / regression / toc.ly
1 \version "2.11.26"
2
3 \header {
4   texidoc = "A table of contents is included using
5 @code{\\markuplines \\table-of-contents}. The toc items are added with
6 the @code{\\tocItem} command."
7 }
8
9 #(set-default-paper-size "a6")
10
11 \book {
12   \markuplines \table-of-contents
13   \pageBreak
14
15   \tocItem \markup "The first score"
16   \score {
17     { 
18       c'1 \pageBreak
19       \mark "A" \tocItem \markup "Mark A"
20       d'
21     }
22   }
23   \pageBreak
24   \tocItem \markup "The second score"
25   \score {
26     { e' }
27     \header { piece = "Second score" }
28   }
29 }