]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/toc.ly
Add newlines at EOF where appropriate.
[lilypond.git] / input / regression / toc.ly
1 \version "2.15.17"
2
3 \header {
4   texidoc = "A table of contents is included using
5 @code{\\markuplist \\table-of-contents}. The toc items are added with
6 the @code{\\tocItem} command. In the PDF backend, the toc items are linked
7 to the corresponding pages."
8 }
9
10 #(set-default-paper-size "a6")
11
12 \book {
13   \markuplist \table-of-contents
14   \pageBreak
15
16   \tocItem \markup "The first score"
17   \score {
18     { 
19       c'1 \pageBreak
20       \mark "A" \tocItem \markup "Mark A"
21       d'
22     }
23   }
24   \pageBreak
25   \tocItem \markup "The second score"
26   \score {
27     { e' }
28     \header { piece = "Second score" }
29   }
30 }