]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/documentation-generate.scm
*** empty log message ***
[lilypond.git] / scm / documentation-generate.scm
index c0c0b13521ffa03b9d1dc867e1adb4fd900f3a1e..6062aae5074f90e8d2ae06e3f0d7ca09c6d3f7c8 100644 (file)
@@ -17,6 +17,8 @@
 ;;;;;;;;;;;;;;;; TODO : make modules of these!
 ;;;;;;;;;;;;;;;;
 
+; todo: naming: grob vs. layout property
+
 (define load-files '("documentation-lib.scm"
                     "document-functions.scm"
                     "document-translation.scm"
 ;; are described...
 (define no-copies #f)
 
+
+
+
+
+
+
+
+
+
+
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(dump-node (all-scheme-functions-doc)
+          (open-output-file "scheme-functions.tely")
+          2)
+
+(display 
+ (markup-doc-string)
+
+ (open-output-file "markup-commands.tely")
+ )
+
+(dump-node
+ (make <texi-node>
+   #:name "Layout property overview"
+   #:desc "All user serviceable layout properties"
+   #:text (backend-properties-doc-string all-user-grob-properties))
+
+ (open-output-file "layout-properties.tely")
+ 2)
+
+(dump-node
+ (make <texi-node>
+   #:name "Context property overview"
+   #:desc "All user serviceable context properties"
+   #:text (translation-properties-doc-string all-user-translation-properties))
+ (open-output-file "context-properties.tely")
+ 2)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+
 (define file-name "lilypond-internals")
 (define outname (string-append file-name ".texi"))
+
+
 (define out-port (open-output-file outname))
 
 (writing-wip outname)
 
+
+
+
+
 (display
  (string-append
-  "@c -*-texinfo-*-"
   (texi-file-head "LilyPond program-reference" outname "(lilypond-internals.info)")
   "
 
 @end macro
 @end ifinfo
 
+@iftex
+@macro usermanref{NAME}
+@ref{\\NAME\\}@c
+@end macro
+@end iftex
+
 @ifhtml
 @macro glossaryref{NAME}
 @uref{../music-glossary/\\NAME\\.html,\\NAME\\}
 @end ifinfo
 
 
+@macro internalsref{NAME}
+@ref{\\NAME\\}
+@end macro
+
+@ifhtml
+
+@macro inputfileref{DIR,NAME}
+@uref{../../../../\\DIR\\/out-www/collated-files.html#\\NAME\\,@file{\\DIR\\/\\NAME\\}}@c
+@end macro
+
+@end ifhtml
+
+@ifinfo
+
+@macro inputfileref{DIR,NAME}
+@file{\\DIR\\/\\NAME\\}
+@end macro
+
+@end ifinfo
+
+@iftex
+@macro inputfileref{DIR,NAME}@c
+@file{\\DIR\\/\\NAME\\}@c
+@end macro
+@end iftex
+
+
+
 @ignore
 @omftitle LilyPond internals
 @omfcreator Han-Wen Nienhuys and Jan Nieuwenhuizen
      (translation-doc-node)
      (backend-doc-node)
      (all-scheme-functions-doc)
-     (markup-doc-node)
      (make <texi-node>
        #:name "Index"
        #:text "
 
 (dump-node top-node out-port 0)
 (newline (current-error-port))
+
+
+
+