]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/spacing/page-layout-twopass.ly
3fc5d8e2bb5c9ce15fc2083c7b828b3ea1848a0f
[lilypond.git] / input / lsr / spacing / page-layout-twopass.ly
1 \version "2.10.12"
2
3 \header { texidoc = "
4 Page breaking details can be stored for later reference.
5
6 (you should run this snippet on your own computer; we cannot compute
7 the two-pass layout here)
8 " }
9
10 \paper  {
11   #(define write-page-layout #t)
12 }
13
14 bla = \new Staff {
15   c1 c1
16   \break
17   \grace { c16 } c1\break
18   \repeat unfold 5 \relative { c1 c1 c1 }
19 }
20
21
22 \book {
23   \score {
24     \bla
25     \layout {
26       #(define tweak-key "blabla")
27     }
28   }
29 }
30
31 tweakFileName = #(format "~a-page-layout.ly" (ly:parser-output-name parser))
32
33 #(newline)
34
35 #(ly:progress "Contents of: '~a'" (ly:gulp-file tweakFileName))