]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/document-functions.scm
Run `make grand-replace'.
[lilypond.git] / scm / document-functions.scm
index 19b619b365f7c8bb6e4abad078263a2268b56817..585ae13471e59923f94a1e25e57aee4da6960474 100644 (file)
@@ -1,6 +1,12 @@
+;;;; document-funcions.scm -- part of generated backend documentation
+;;;;
+;;;;  source file of the GNU LilyPond music typesetter
+;;;; 
+;;;; (c) 1998--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
+;;;;                 Jan Nieuwenhuizen <janneke@gnu.org>
+
 (use-modules
- (ice-9 regex)
- )
+ (ice-9 regex))
 
 (define (dashify-underscores str)
    (regexp-substitute/global #f "_" str 'pre "-" 'post))
   (string-append
    "@defun " (symbol->string name)  " " (format-c-header c-header) "\n"
    doc-string
-   "\n@end defun\n\n")
-   )
+   "\n@end defun\n\n"))
 
 (define all-scheme-functions
    (hash-fold
     (lambda (key val prior)
-      (cons (cons key val)  prior)
-      )
+      (cons (cons key val)  prior))
     '() (ly:get-all-function-documentation)))
 
 (define (all-scheme-functions-doc)
-  (let*
-      (
-
-       (fdocs (map (lambda (x)
-               (document-scheme-function (car x) (cadr x) (cddr x))
-               )
-             all-scheme-functions)
-        )
-       (sfdocs (sort fdocs string<?))
-       )
-
-
+  (let* ((fdocs (map (lambda (x)
+                      (document-scheme-function (car x) (cadr x) (cddr x)))
+                    all-scheme-functions))
+        (sfdocs (sort fdocs string<?))) 
     (make <texi-node>
       #:name "Scheme functions"
-      #:desc "Primitive functions exported by LilyPond"
+      #:desc "Primitive functions exported by LilyPond."
       #:text
-      (apply string-append sfdocs)
-       ) 
-  ))
-
+      (apply string-append sfdocs))))
 
-; (dump-node (all-scheme-functions-doc)  (current-output-port) 0 )
+;; (dump-node (all-scheme-functions-doc)  (current-output-port) 0 )