]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/document-music.scm
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond into...
[lilypond.git] / scm / document-music.scm
index b8190d95f441967bf17cf7ab654af91943b95f03..53e5bad155f211bc6a2ab8868983dade7de55f27 100644 (file)
@@ -1,4 +1,4 @@
-;;;; document-markup.scm -- part of generated backend documentation
+;;;; document-music.scm -- part of generated backend documentation
 ;;;;
 ;;;;  source file of the GNU LilyPond music typesetter
 ;;;;
@@ -10,7 +10,7 @@
     #: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))
@@ -53,9 +53,8 @@
        (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"
@@ -72,7 +71,7 @@
     #: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))
@@ -93,7 +92,8 @@
                         (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)