]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/internals.itely
* Documentation/user/refman.itely: documentation patch by Edward
[lilypond.git] / Documentation / user / internals.itely
index 9be7fb35efb429771dc60801d3cc440c108c5efd..9e8f6f307d85187fd9c0220358fd1bb8211e3399 100644 (file)
@@ -293,7 +293,7 @@ current bar number on the standard output during the compile:
     \applycontext
       #(lambda (x)
          (format #t "\nWe were called in barnumber ~a.\n"
-          (ly:get-context-property x 'currentBarNumber)))
+          (ly:context-property x 'currentBarNumber)))
 @end example
 
 
@@ -376,7 +376,7 @@ and without a @code{Clef_engraver}.
 @refbugs
 
 The command @code{\with} has no effect on contexts that already
-exist. Neither can it be used for @internalsref{Score} contexts.
+exist. 
 
 
 @node Engravers and performers
@@ -402,8 +402,8 @@ engraver. The syntax for these operations is
 \remove @var{engravername}
 @end example
 
-@cindex \consists
-@cindex \remove
+@cindex @code{\consists}
+@cindex @code{\remove}
 
 @noindent
 Here @var{engravername} is a string, the name of an engraver in the
@@ -516,7 +516,7 @@ When it is installed, the following link should take you to its manual
 @menu
 * Inline Scheme::
 * Input variables and Scheme::
-* Scheme datatypes::
+* Scheme data types::
 * Assignments::
 @end menu
 
@@ -602,8 +602,8 @@ written as
 
 
 
-@node Scheme datatypes
-@subsection Scheme datatypes
+@node Scheme data types
+@subsection Scheme data types
 
 Scheme is used to glue together different program modules. To aid this
 glue function, many LilyPond specific object types can be passed as
@@ -636,8 +636,6 @@ During a run, transient objects are also created and destroyed.
 @item Stencil: Device-independent page output object,
 including dimensions.
 
-@item Syllable_group
-
 @item Spring_smob
 
 @item Translator: An object that produces audio objects or Grobs.
@@ -854,15 +852,15 @@ The syntax for @code{\apply} is
 This means that the scheme function @var{func} is called with
 @var{music} as its argument.  The return value of @var{func} is the
 result of the entire expression.  @var{func} may read and write music
-properties using the functions @code{ly:get-mus-property} and
-@code{ly:set-mus-property!}.
+properties using the functions @code{ly:music-property} and
+@code{ly:music-set-property!}.
 
 An example is a function that reverses the order of elements in
 its argument:
 @lilypond[verbatim,raggedright]
   #(define (rev-music-1 m)
-     (ly:set-mus-property! m 'elements (reverse
-       (ly:get-mus-property m 'elements)))
+     (ly:music-set-property! m 'elements (reverse
+       (ly:music-property m 'elements)))
      m)
   \score { \notes \apply #rev-music-1 { c4 d4 } }
 @end lilypond
@@ -887,12 +885,12 @@ back. Then it recurses, both on @code{elements} and @code{element}
 children.
 @example
 #(define (reverse-music music)
-  (let* ((elements (ly:get-mus-property music 'elements))
-         (child (ly:get-mus-property music 'element))
+  (let* ((elements (ly:music-property music 'elements))
+         (child (ly:music-property music 'element))
          (reversed (reverse elements)))
 
     ; set children
-    (ly:set-mus-property! music 'elements reversed)
+    (ly:music-set-property! music 'elements reversed)
 
     ; recurse
     (if (ly:music? child) (reverse-music child))