-;;;; document-markup.scm -- part of generated backend documentation
+;;;; document-music.scm -- part of generated backend documentation
;;;;
;;;; source file of the GNU LilyPond music typesetter
;;;;
-;;;; (c) 1998--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
+;;;; (c) 1998--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
;;;; Jan Nieuwenhuizen <janneke@gnu.org>
(define (music-props-doc)
#:name "Music properties"
#:desc "All music properties, including descriptions."
#:text
- (let* ((ps (sort (map symbol->string all-music-properties) string<?))
+ (let* ((ps (sort (map symbol->string all-music-properties) ly:string-ci<?))
(descs (map (lambda (prop)
(property->texi 'music (string->symbol prop)))
ps))
(symbol->string (car entry))
"} is in music objects of type "
(human-listify
- (sort
- (map (lambda (x) (ref-ify (symbol->string x)))
- (cdr entry)) string<?))
+ (map ref-ify (sort (map symbol->string (cdr entry))
+ ly:string-ci<?)))
"."
"\n\n"
#:children
(map music-type-doc
(sort
- (hash-table->alist music-types->names) alist<?))))
+ (hash-table->alist music-types->names) ly:alist-ci<?))))
(define (music-doc-str obj)
(let* ((namesym (car obj))
(string-append
"\n\nEvent classes:\n"
(human-listify
- (map ref-ify (map symbol->string classes)))
+ (map ref-ify (sort (map symbol->string classes)
+ ly:string-ci<?)))
"."
"\n\n"
(description-list->texi
(map
(lambda (x) (property->texi 'music x props))
- (map car props))
+ (sort (map car props) ly:symbol-ci<?))
#t))))
(define (music-object-doc obj)