X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocument-music.scm;h=4df30649594057a60467af641c8fad47201d8eb5;hb=27ef254d0dc6907489a8a6682d81f443be5addcb;hp=1491a30cad343f4d7b783afcfb75401cb242ba23;hpb=0387f04497978e37b335a8b99eec905499d6ad0f;p=lilypond.git diff --git a/scm/document-music.scm b/scm/document-music.scm index 1491a30cad..4df3064959 100644 --- a/scm/document-music.scm +++ b/scm/document-music.scm @@ -1,16 +1,27 @@ -;;;; document-markup.scm -- part of generated backend documentation +;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; source file of the GNU LilyPond music typesetter -;;;; -;;;; (c) 1998--2008 Han-Wen Nienhuys +;;;; Copyright (C) 1998--2011 Han-Wen Nienhuys ;;;; Jan Nieuwenhuizen +;;;; +;;;; LilyPond is free software: you can redistribute it and/or modify +;;;; it under the terms of the GNU General Public License as published by +;;;; the Free Software Foundation, either version 3 of the License, or +;;;; (at your option) any later version. +;;;; +;;;; LilyPond is distributed in the hope that it will be useful, +;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;;; GNU General Public License for more details. +;;;; +;;;; You should have received a copy of the GNU General Public License +;;;; along with LilyPond. If not, see . (define (music-props-doc) (make #:name "Music properties" #:desc "All music properties, including descriptions." #:text - (let* ((ps (sort (map symbol->string all-music-properties) stringstring all-music-properties) ly:string-citexi 'music (string->symbol prop))) ps)) @@ -53,9 +64,8 @@ (symbol->string (car entry)) "} is in music objects of type " (human-listify - (sort - (map (lambda (x) (ref-ify (symbol->string x))) - (cdr entry)) stringstring (cdr entry)) + ly:string-cialist music-types->names) alistalist music-types->names) ly:alist-cistring classes))) + (map ref-ify (sort (map symbol->string classes) + ly:string-citexi (map (lambda (x) (property->texi 'music x props)) - (map car props)) + (sort (map car props) ly:symbol-ci