From: Mark Polesky Date: Mon, 19 Apr 2010 07:05:53 +0000 (-0700) Subject: Doc: Update deprecated \relative syntax. X-Git-Tag: release/2.13.19-1~2^2~19 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4c8bedcc234393e8ca02726bf677de707858261b;p=lilypond.git Doc: Update deprecated \relative syntax. * Replace "\relative { }" with "\relative c' { }". --- diff --git a/Documentation/extending/programming-interface.itely b/Documentation/extending/programming-interface.itely index ea1bed4520..7045b49daf 100644 --- a/Documentation/extending/programming-interface.itely +++ b/Documentation/extending/programming-interface.itely @@ -177,7 +177,7 @@ manualBeam = \once \override Beam #'positions = #$beg-end #@}) -\relative @{ +\relative c' @{ \manualBeam #'(3 . 6) c8 d e f @} @end example @@ -196,7 +196,7 @@ manualBeam = \once \override Beam #'positions = #(cons $beg $end) #}) -\relative { +\relative c' { \manualBeam #3 #6 c8 d e f } @end lilypond @@ -850,7 +850,7 @@ note-heads on the center-line: (eq? (ly:grob-property grob 'staff-position) 0)) (set! (ly:grob-property grob 'transparent) #t))) -\relative { +\relative c' { e4 g8 \applyOutput #'Voice #blanker b d2 } @end lilypond diff --git a/Documentation/learning/fundamental.itely b/Documentation/learning/fundamental.itely index f8eb8b2c1c..a7501c5614 100644 --- a/Documentation/learning/fundamental.itely +++ b/Documentation/learning/fundamental.itely @@ -754,9 +754,9 @@ See @ref{Visibility and color of objects} and @cindex relative note entry and polyphony Polyphony does not change the relationship of notes within a -@code{\relative @{ @}} block. Each note is still calculated -relative to the note immediately preceding it, or to the first -note of the preceding chord. So in +@code{\relative} block. Each note is still calculated relative to +the note immediately preceding it, or to the first note of the +preceding chord. So in @example \relative c' @{ noteA << < noteB noteC > \\ noteD >> noteE @} diff --git a/Documentation/notation/input.itely b/Documentation/notation/input.itely index bc69dd5808..163d8c05a0 100644 --- a/Documentation/notation/input.itely +++ b/Documentation/notation/input.itely @@ -1236,7 +1236,7 @@ portuguese = \lyricmode { à vo -- cê uma can -- ção legal } -\relative { +\relative c' { c2 d e f g f e } \addlyrics { \bulgarian } diff --git a/Documentation/notation/spacing.itely b/Documentation/notation/spacing.itely index 9a5a7bea28..b1afc3b2bb 100644 --- a/Documentation/notation/spacing.itely +++ b/Documentation/notation/spacing.itely @@ -704,7 +704,7 @@ default, for example #(set-default-paper-size "a6" 'landscape) \book { \score { - \relative { c1 \break c1 } + \relative c' { c1 \break c1 } } \paper { system-separator-markup = \slashSeparator diff --git a/Documentation/usage/latex-example.latex b/Documentation/usage/latex-example.latex index da9c12b871..bbc3bbacab 100644 --- a/Documentation/usage/latex-example.latex +++ b/Documentation/usage/latex-example.latex @@ -7,7 +7,7 @@ \begin{document} \begin{lilypond} -\relative { c' d e f g a b c } +\relative c' { c d e f g a b c } \end{lilypond} diff --git a/Documentation/usage/lilypond-book.itely b/Documentation/usage/lilypond-book.itely index 47bb04a540..cf8517ec90 100644 --- a/Documentation/usage/lilypond-book.itely +++ b/Documentation/usage/lilypond-book.itely @@ -1036,7 +1036,7 @@ is written in Texinfo. Texinfo text @@lilypond -\relative @{ +\relative c' @{ a4 b c d @} @@end lilypond