From: Carl Sorensen Date: Mon, 12 Apr 2010 20:42:01 +0000 (-0600) Subject: Doc: Add reference to type-p-name-alist to NR and EL X-Git-Tag: release/2.13.18-1~15^2~25 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e90fa9a8a1d71251a2c047e69798be05938a1241;p=lilypond.git Doc: Add reference to type-p-name-alist to NR and EL --- diff --git a/Documentation/extending/programming-interface.itely b/Documentation/extending/programming-interface.itely index 7d2949ff11..ea1bed4520 100644 --- a/Documentation/extending/programming-interface.itely +++ b/Documentation/extending/programming-interface.itely @@ -70,7 +70,11 @@ expression. The variable type checkers are scheme procedures that will return @code{#t} if a variable is of a given type. Some common types are shown in the table below. Other types can be found in the files -@file{lily/music-scheme.cc} and @file{scm/c++.scm}. +@file{lily/music-scheme.cc} and @file{scm/c++.scm}. The complete +list of named type checkers for LilyPond is found in the +@var{type-p-name-alist} of @file{scm/lily.scm}. + +@c TODO -- automatically document type-p-name-alist @multitable @columnfractions .33 .66 @headitem Input type @tab @var{vari-type?} notation diff --git a/Documentation/notation/changing-defaults.itely b/Documentation/notation/changing-defaults.itely index 9c5da9d02a..e743ac1683 100644 --- a/Documentation/notation/changing-defaults.itely +++ b/Documentation/notation/changing-defaults.itely @@ -3612,7 +3612,11 @@ where Common variable types are described in @ref{Common argument types}. A more complete description of variable types is found in -@rextend{Music function syntax}. +@rextend{Music function syntax}. The complete list of defined variable +types is found in the @var{type-p-name-alist} entry of +@file{scm/lily.scm}. + +@c TODO -- find an automatic way of documenting the type-p-name-alist The @code{parser} and @code{location} arguments are mandatory, and are used in some advanced situations as described in