1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
6 texidoc = "Page labels may be placed inside music or at top-level,
7 and referred to in markups."
8 doctitle = "Page label"
11 #(set-default-paper-size "a6")
13 #(define-markup-command (toc-line layout props label text)
15 (interpret-markup layout props
16 (markup #:fill-line (text #:page-ref label "8" "?"))))
19 \markup \huge \fill-line { \null Title Page \null }
25 \large \fill-line { \null Table of contents \null }
26 \toc-line #'toc "Table of contents"
27 \toc-line #'firstScore "First Score"
28 \toc-line #'markA "Mark A"
29 \toc-line #'markB "Mark B"
30 \toc-line #'markC "Mark C"
31 \toc-line #'unknown "Unknown label"
38 \new Staff \relative c' {
41 A (page \concat { \page-ref #'markA "0" "?" ) }
45 \mark "B" \label #'markB
48 \once \override Score.RehearsalMark #'break-visibility =
49 #begin-of-line-invisible
50 \mark "C" \label #'markC
52 \header { piece = "First score" }