;;;;
;;;; source file of the GNU LilyPond music typesetter
;;;;
-;;;; (c) 2000--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+;;;; (c) 2000--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
;;;; Jan Nieuwenhuizen <janneke@gnu.org>
;;; File entry point for generated documentation
(slot-ref (all-scheme-functions-doc) 'text)
(open-output-file "scheme-functions.tely"))
-(display
- (markup-doc-string)
- (open-output-file "markup-commands.tely"))
+;;(display
+;; (markup-doc-string)
+;; (open-output-file "markup-commands.tely"))
-(display
- (markup-list-doc-string)
- (open-output-file "markup-list-commands.tely"))
+(call-with-output-file "markup-commands.tely"
+ (lambda (port)
+ (dump-node (markup-doc-node) port 2 #t)))
+
+(call-with-output-file "markup-list-commands.tely"
+ (lambda (port)
+ (dump-node (markup-list-doc-node) port 2 #t)))
(display
(identifiers-doc-string)
@ifhtml
@c ***** HTML *****
-@macro usermanref{NAME}
+@ifset bigpage
+
+@macro ruser{TEXT}
+@ref{\\TEXT\\,,,lilypond-big-page,Notation Reference}
+@cindex \\TEXT\\
+@end macro
+
+@macro glossaryref{TEXT}
+@vindex \\TEXT\\
+@ref{\\TEXT\\,,,music-glossary-big-page,Music Glossary}
+@end macro
+
+@end ifset
+
+@ifclear bigpage
+
+@macro ruser{NAME}
@ref{\\NAME\\,,,lilypond}
@cindex \\NAME\\
@end macro
@cindex \\NAME\\
@end macro
+@end ifclear
+
@macro inputfileref{DIR,NAME}
@uref{source/\\DIR\\/out-www/collated-files.html#\\NAME\\,@file{\\DIR\\/\\NAME\\}}@c
@end macro
@ifinfo
@c ***** info *****
-@macro usermanref{NAME}
-@inforef{\\NAME\\,,,lilypond}
-@cindex \\NAME\\
-@end macro
-
-@macro glossaryref{NAME}
-@inforef{\\NAME\\,,lilypond/music-glossary}
+@macro ruser{NAME}
+@ref{\\NAME\\,,,lilypond}
@cindex \\NAME\\
@end macro
@iftex
@c ***** TeX *****
-@macro usermanref{NAME}
+@macro ruser{NAME}
@ref{\\NAME\\}@c
@end macro
@end iftex
-@macro internalsref{NAME}
+@macro rinternals{NAME}
@ref{\\NAME\\}
@end macro
(make <texi-node>
#:name "Top"
#:text
- (string-append "This is the program reference for LilyPond version " (lilypond-version))
+ (string-append "This is the program reference for version "
+ (lilypond-version)
+ " of LilyPond, the GNU music typesetter.")
#:children
(list
@printindex cp
-@unnumbered Variable index
-
-@printindex vr
-
@unnumbered Function index
@printindex fn
(dump-node top-node out-port 0)
(newline (current-error-port))
-
-
-
-