X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fnew%2Ftable-of-contents.ly;h=f639c062223bbe71ef4436f64c4726f92c1e95cc;hb=412c64d1afc9576b83783b995062083971475db3;hp=30ad7ccce85cb560c69e13a438665b7ffaae4ec2;hpb=e5751bd57f29c80d7c1ce3a323d6e5a3925cebcb;p=lilypond.git diff --git a/input/new/table-of-contents.ly b/input/new/table-of-contents.ly index 30ad7ccce8..f639c06222 100644 --- a/input/new/table-of-contents.ly +++ b/input/new/table-of-contents.ly @@ -1,11 +1,10 @@ -\version "2.11.26" -\layout { ragged-right= ##t } +\version "2.12.0" \header { - doctitle = "Table of contents" lsrtags = "paper-and-layout" texidoc = "A table of contents is included using -@code{\\markuplines \\table-of-contents}. The TOC items are added with -the @code{\\tocItem} command." +@w{@code{\\markuplines \\table-of-contents}}. The TOC items are +added with the @code{\\tocItem} command." + doctitle = "Table of contents" } #(set-default-paper-size "a6") @@ -13,19 +12,18 @@ the @code{\\tocItem} command." \book { \markuplines \table-of-contents \pageBreak - - \tocItem \markup "The first score" + \tocItem \markup { The first score } \score { - { + { c'1 \pageBreak - \mark "A" \tocItem \markup "Mark A" - d' + \mark "A" \tocItem \markup { Mark A } + d'1 } } \pageBreak - \tocItem \markup "The second score" + \tocItem \markup { The second score } \score { - { e' } + { e'1 } \header { piece = "Second score" } } }