From: Phil Holmes Date: Sun, 27 Dec 2015 16:13:15 +0000 (+0000) Subject: Minor change to correct snippet X-Git-Tag: release/2.19.35-1~9^2~13 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=fe98061250a3f14181bcdc119ce0d66ddfdbd444;p=lilypond.git Minor change to correct snippet --- diff --git a/Documentation/snippets/new/printing-bar-numbers-with-changing-regular-intervals.ly b/Documentation/snippets/new/printing-bar-numbers-with-changing-regular-intervals.ly index e15ba70f11..5d2fbf5605 100644 --- a/Documentation/snippets/new/printing-bar-numbers-with-changing-regular-intervals.ly +++ b/Documentation/snippets/new/printing-bar-numbers-with-changing-regular-intervals.ly @@ -9,13 +9,13 @@ The bar number interval can be changed by changing the context function " doctitle = "Printing bar numbers with changing, regular intervals" -} % begin verbatim +} \relative c' { \override Score.BarNumber.break-visibility = #end-of-line-invisible \context Score \applyContext #(set-bar-number-visibility 4) - \repeat unfold 10 c''1 + \repeat unfold 10 c'1 \context Score \applyContext #(set-bar-number-visibility 2) - \repeat unfold 10 c'' + \repeat unfold 10 c } diff --git a/Documentation/snippets/printing-bar-numbers-with-changing-regular-intervals.ly b/Documentation/snippets/printing-bar-numbers-with-changing-regular-intervals.ly index 62c65c418c..106db138a8 100644 --- a/Documentation/snippets/printing-bar-numbers-with-changing-regular-intervals.ly +++ b/Documentation/snippets/printing-bar-numbers-with-changing-regular-intervals.ly @@ -19,10 +19,11 @@ The bar number interval can be changed by changing the context function } % begin verbatim + \relative c' { \override Score.BarNumber.break-visibility = #end-of-line-invisible \context Score \applyContext #(set-bar-number-visibility 4) - \repeat unfold 10 c''1 + \repeat unfold 10 c'1 \context Score \applyContext #(set-bar-number-visibility 2) - \repeat unfold 10 c'' -} % begin verbatim + \repeat unfold 10 c +}