1 ;;; generate-documentation.scm -- Generate documentation
3 ;;; source file of the GNU LilyPond music typesetter
5 ;;; (c) 2000--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
6 ;;; Jan Nieuwenhuizen <janneke@gnu.org>
8 ;;; File entry point for generated documentation
10 ;;; Running LilyPond on this file generates the documentation
13 (debug-enable 'backtrace)
14 (read-enable 'positions)
17 ;;;;;;;;;;;;;;;; TODO : make modules of these!
20 (define load-files '("documentation-lib.scm"
21 "document-functions.scm"
22 "document-translation.scm"
24 "document-backend.scm"
27 (map ly:load load-files)
30 ;;(define no-copies #t) ; from 490 to 410K, but doesn't look nice yet
32 ;; Also, copies of interfaces use up lots more space, but that's
33 ;; functional because the default property values of the interfaces
37 (define file-name "lilypond-internals")
38 (define outname (string-append file-name ".texi"))
39 (define out-port (open-output-file outname))
46 (texi-file-head "LilyPond program-reference" outname "(lilypond-internals.info)")
50 @macro usermanref{NAME}
51 @uref{../lilypond/\\NAME\\.html,\\NAME\\}
57 @macro usermanref{NAME}
58 @inforef{\\NAME\\,,lilypond}
64 @macro glossaryref{NAME}
65 @uref{../music-glossary/\\NAME\\.html,\\NAME\\}
71 @macro glossaryref{NAME}
72 @inforef{\\NAME\\,,music-glossary}
79 @omftitle LilyPond internals
80 @omfcreator Han-Wen Nienhuys and Jan Nieuwenhuizen
81 @omfdescription Programmer's reference of the LilyPond music engraving system
84 @omfcategory Applications|Publishing
96 (translation-doc-node)
98 (all-scheme-functions-doc)
103 @unnumbered Concept index
107 @unnumbered Variable index
111 @unnumbered Function index
122 (dump-node top-node out-port 0)
123 (newline (current-error-port))