]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/de/extending/scheme-tutorial.itely
Issue 4894: Remove unescaped @funindex entries
[lilypond.git] / Documentation / de / extending / scheme-tutorial.itely
index 06e84edb9f69f48bfacb7ff2d3201fb354c67a5b..6213ffdd29bf8cb9f0a56e560b70c67bbcbd18cb 100644 (file)
@@ -8,10 +8,10 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.16.0"
+@c \version "2.19.22"
 
-@node Scheme-Übung
-@chapter Scheme-Übung
+@node Scheme-Tutorium
+@chapter Scheme-Tutorium
 @translationof Scheme tutorial
 
 
@@ -660,7 +660,8 @@ Scheme-Ausdruck zu benutzen.
 Die Eingabe von LilyPond ist in Zeichen und Ausdrücke gegliedert, so etwa
 wie die menschliche Sprache sich in Wörter und Sätze gliedert.  LilyPond
 hat einen Lexer, der Zeichen erkennt (Zahlen, Zeichenketten, Scheme-Elemente,
-Tonhöhen usw.) und einen Parser, der die Syntax versteht, @ruser{LilyPond grammar}.
+Tonhöhen usw.) und einen Parser, der die Syntax versteht,
+@rcontribnamed{LilyPond grammar, LilyPond-Grammatik}.
 Wenn dann eine bestimmte Syntaxregel als zuständig erkannt wurde, werden die
 damit verknüpften Aktionen ausgeführt.
 
@@ -936,7 +937,7 @@ der Alist einen Wert mit Schlüssel und dem Wert zuweist.  Die
 LilyPond-Syntax hierfür ist:
 
 @example
-\override Stem #'thickness = #2.6
+\override Stem.thickness = #2.6
 @end example
 
 Diese Anweisung verändert die Erscheinung der Notenhälse. Der Alist-Eintrag
@@ -968,7 +969,7 @@ Abstands ist die X-Koordinate und der @code{cdr}-Wert die
 Y-Koordinate.
 
 @example
-\override TextScript #'extra-offset = #'(1 . 2)
+\override TextScript.extra-offset = #'(1 . 2)
 @end example
 
 Hierdurch wird das Paar @code{(1 . 2)} mit der Eigenschaft @code{extra-offset}
@@ -1105,7 +1106,6 @@ um komplizierte musikalische Funktionen  zu erstellen.
 @cindex Musikausdrücke anzeigen
 @cindex Anzeigen von Musikausdrücken
 
-@funindex displayMusic
 @funindex \displayMusic
 
 Wenn man eine musikalische Funktion erstellt, ist es oft
@@ -1134,7 +1134,7 @@ zeigt:
                   'text
                   "f"))
           'duration
-          (ly:make-duration 2 0 1 1)
+          (ly:make-duration 2 0 1/1)
           'pitch
           (ly:make-pitch 0 0 0))))
 @end example
@@ -1169,7 +1169,7 @@ einfacher zu lesen:
                               (make-music 'AbsoluteDynamicEvent
                                 'text
                                 "f"))
-              'duration (ly:make-duration 2 0 1 1)
+              'duration (ly:make-duration 2 0 1/1)
               'pitch    (ly:make-pitch 0 0 0))))
 @end example
 
@@ -1205,7 +1205,7 @@ someNote = c'
 (make-music
   'NoteEvent
   'duration
-  (ly:make-duration 2 0 1 1)
+  (ly:make-duration 2 0 1/1)
   'pitch
   (ly:make-pitch 0 0 0))
 @end example
@@ -1223,7 +1223,7 @@ someNote = <c'>
   (list (make-music
           'NoteEvent
           'duration
-          (ly:make-duration 2 0 1 1)
+          (ly:make-duration 2 0 1/1)
           'pitch
           (ly:make-pitch 0 0 0))))
 @end example
@@ -1241,7 +1241,7 @@ eines musikalischen Ausdrucks anzuzeigen.
 (make-music
   'NoteEvent
   'duration
-  (ly:make-duration 2 0 1 1)
+  (ly:make-duration 2 0 1/1)
   'pitch
   (ly:make-pitch 0 0 0))
 @end example
@@ -1261,7 +1261,6 @@ Die Tonhöhe einer Note kann geändert werden, indem man diese
 @code{'pitch}-Eigenschaft umdefiniert:
 
 @funindex \displayLilyMusic
-@funindex displayLilyMusic
 
 @example
 #(set! (ly:music-property (first (ly:music-property someNote 'elements))
@@ -1297,7 +1296,7 @@ das Endergebnis darstellt:
                   'span-direction
                   -1))
           'duration
-          (ly:make-duration 2 0 1 1)
+          (ly:make-duration 2 0 1/1)
           'pitch
           (ly:make-pitch 0 5 0))
         (make-music
@@ -1308,7 +1307,7 @@ das Endergebnis darstellt:
                   'span-direction
                   1))
           'duration
-          (ly:make-duration 2 0 1 1)
+          (ly:make-duration 2 0 1/1)
           'pitch
           (ly:make-pitch 0 5 0))))
 @end example
@@ -1325,7 +1324,7 @@ Jetzt folgt eine Betrachtung der Eingabe:
 (make-music
   'NoteEvent
   'duration
-  (ly:make-duration 2 0 1 1)
+  (ly:make-duration 2 0 1/1)
   'pitch
   (ly:make-pitch 0 5 0))))
 @end example
@@ -1342,7 +1341,7 @@ keine speziellen Überprüfungen nötig sind, bevor ein anderes
 Element vor die @code{articulations}-Eigenschaft gesetzt wird.
 
 @example
-doubleSlur = #(define-music-function (parser location note) (ly:music?)
+doubleSlur = #(define-music-function (note) (ly:music?)
          "Return: @{ note ( note ) @}.
          `note' is supposed to be a single note."
          (let ((note2 (ly:music-deep-copy note)))
@@ -1363,7 +1362,7 @@ doubleSlur = #(define-music-function (parser location note) (ly:music?)
 Am einfachsten können Artikulationszeichen zu Noten
 hinzugefügt werden, indem man zwei musikalische Funktionen
 in einen Kontext einfügt, wie erklärt in
-@ruser{Kontexte erstellen}.  Hier soll jetzt eine musikalische
+@ruser{Kontexte erstellen und referenzieren}.  Hier soll jetzt eine musikalische
 Funktion entwickelt werden, die das vornimmt.  Daraus ergibt sich
 der zusätzliche Vorteil, dass diese musikalische Funktion eingesetzt
 werden kann, um eine Artikulation (wie etwa eine Fingersatzanweisung)
@@ -1400,7 +1399,7 @@ Ausgabe examiniert:
 (make-music
   'NoteEvent
   'duration
-  (ly:make-duration 2 0 1 1)
+  (ly:make-duration 2 0 1/1)
   'pitch
   (ly:make-pitch -1 0 0))))
 =====
@@ -1415,7 +1414,7 @@ Ausgabe examiniert:
           'articulation-type
           "accent"))
   'duration
-  (ly:make-duration 2 0 1 1)
+  (ly:make-duration 2 0 1/1)
   'pitch
   (ly:make-pitch -1 0 0))
 \displayMusic c4
@@ -1426,7 +1425,7 @@ Ausgabe examiniert:
   (list (make-music
           'NoteEvent
           'duration
-          (ly:make-duration 2 0 1 1)
+          (ly:make-duration 2 0 1/1)
           'pitch
           (ly:make-pitch -1 0 0))))
 @end example
@@ -1542,7 +1541,7 @@ Funktion umgewandelt (hierzu gehört etwas syntaktischer Zuckerguß und
 eine Deklaration des Typs ihres einzigen @qq{wirklichen} Arguments:
 
 @example
-addAccent = #(define-music-function (parser location note-event)
+addAccent = #(define-music-function (note-event)
                                      (ly:music?)
   "Add an accent ArticulationEvent to the articulations of `note-event',
   which is supposed to be a NoteEvent expression."
@@ -1573,9 +1572,9 @@ folgendermaßen:
 
 Wir haben gesehen wie LilyPond-Eingabe massiv beeinflusst
 werden kann, indem Befehle wie etwa
-@code{\override TextScript #'extra-offset = ( 1 . -1)}
+@code{\override TextScript.extra-offset = ( 1 . -1)}
 benutzt werden.  Aber es wurde gezeigt, dass Scheme noch
-mächtiger ist.  Eine bessere Erklärung findet sich in der@ref{Scheme-Übung} und in
+mächtiger ist.  Eine bessere Erklärung findet sich in der@ref{Scheme-Tutorium} und in
 @ruser{Schnittstellen für Programmierer}.
 
 Scheme kann auch in einfachen @code{\override}-Befehlen
@@ -1587,13 +1586,13 @@ TODO Find a simple example
 
 
 @lilypond[quote,verbatim,ragged-right]
-padText = #(define-music-function (parser location padding) (number?)
+padText = #(define-music-function (padding) (number?)
 #{
-  \once \override TextScript #'padding = #padding
+  \once \override TextScript.padding = #padding
 #})
 
-\relative c''' {
-  c4^"piu mosso" b a b
+\relative {
+  c'''4^"piu mosso" b a b
   \padText #1.8
   c4^"piu mosso" d e f
   \padText #2.6
@@ -1608,16 +1607,16 @@ Es kann auch benutzt werden, um Befehle zu erstellen:
 @c It is - 'padding still works
 
 @lilypond[quote,verbatim,ragged-right]
-tempoPadded = #(define-music-function (parser location padding tempotext)
+tempoPadded = #(define-music-function (padding tempotext)
   (number? markup?)
 #{
-  \once \override Score.MetronomeMark #'padding = #padding
+  \once \override Score.MetronomeMark.padding = #padding
   \tempo \markup { \bold #tempotext }
 #})
 
-\relative c'' {
+\relative {
   \tempo \markup { "Low tempo" }
-  c4 d e f g1
+  c''4 d e f g1
   \tempoPadded #4.0 "High tempo"
   g4 f e d c1
 }
@@ -1626,7 +1625,7 @@ tempoPadded = #(define-music-function (parser location padding tempotext)
 Sogar ganze Musikausdrücke können eingefügt werden:
 
 @lilypond[quote,verbatim,ragged-right]
-pattern = #(define-music-function (parser location x y) (ly:music? ly:music?)
+pattern = #(define-music-function (x y) (ly:music? ly:music?)
 #{
   #x e8 a b $y b a e
 #})