summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Polesky <markpolesky@yahoo.com>2010-04-19 00:05:53 -0700
committerMark Polesky <markpolesky@yahoo.com>2010-04-19 00:18:09 -0700
commit4c8bedcc234393e8ca02726bf677de707858261b (patch)
tree312d02ee54cce9304777c31c6cb5c4f7a5171a42
parentf57ce7a426d8255f3856fde708227ff6fcf25fbf (diff)
Doc: Update deprecated \relative syntax.
* Replace "\relative { }" with "\relative c' { }".
-rw-r--r--Documentation/extending/programming-interface.itely6
-rw-r--r--Documentation/learning/fundamental.itely6
-rw-r--r--Documentation/notation/input.itely2
-rw-r--r--Documentation/notation/spacing.itely2
-rw-r--r--Documentation/usage/latex-example.latex2
-rw-r--r--Documentation/usage/lilypond-book.itely2
6 files changed, 10 insertions, 10 deletions
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