1 ;;;; This file is part of LilyPond, the GNU music typesetter.
3 ;;;; Copyright (C) 2000--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
4 ;;;; Jan Nieuwenhuizen <janneke@gnu.org>
6 ;;;; LilyPond is free software: you can redistribute it and/or modify
7 ;;;; it under the terms of the GNU General Public License as published by
8 ;;;; the Free Software Foundation, either version 3 of the License, or
9 ;;;; (at your option) any later version.
11 ;;;; LilyPond is distributed in the hope that it will be useful,
12 ;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;;; GNU General Public License for more details.
16 ;;;; You should have received a copy of the GNU General Public License
17 ;;;; along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
19 ;;; File entry point for generated documentation
20 ;;; Running LilyPond on this file generates the documentation
22 ;;(set-debug-cell-accesses! 5000)
25 ;;;;;;;;;;;;;;;; TODO : make modules of these!
28 ;; todo: naming: grob vs. layout property
30 (map ly:load '("documentation-lib.scm"
32 "document-functions.scm"
33 "document-translation.scm"
35 "document-identifiers.scm"
36 "document-backend.scm"
37 "document-markup.scm"))
39 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
42 (slot-ref (all-scheme-functions-doc) 'text)
43 (open-output-file "scheme-functions.tely"))
46 ;; (markup-doc-string)
47 ;; (open-output-file "markup-commands.tely"))
49 (call-with-output-file "markup-commands.tely"
51 (dump-node (markup-doc-node) port 2)))
53 (call-with-output-file "markup-list-commands.tely"
55 (dump-node (markup-list-doc-node) port 2)))
58 (identifiers-doc-string)
59 (open-output-file "identifiers.tely"))
63 (backend-properties-doc-string all-user-grob-properties)
64 (open-output-file "layout-properties.tely"))
67 (translation-properties-doc-string all-user-translation-properties)
68 (open-output-file "context-properties.tely"))
70 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
72 (define file-name "internals")
73 (define outname (string-append file-name ".texi"))
75 (define out-port (open-output-file outname))
81 (texi-file-head "LilyPond Internals Reference" file-name
82 "(lilypond-internals.info)")
88 @omftitle LilyPond internals
89 @omfcreator Han-Wen Nienhuys and Jan Nieuwenhuizen
90 @omfdescription Programmer's reference of the LilyPond music engraving system
93 @omfcategory Applications|Publishing
104 @subtitle The music typesetter
105 @titlefont{Internals Reference}
106 @author The LilyPond development team
108 @c `Internals Reference' was born 2000-10-21 with git commit 01e371f...
109 Copyright @copyright{} 2000--2009 by the authors
113 For LilyPond version @version{}
123 #:name "GNU LilyPond -- Internals Reference"
125 (string-append "@end ifnottex
129 This document is also available as a
130 @uref{source/Documentation/internals.pdf,PDF} and as
131 @uref{source/Documentation/internals-big-page.html,one big page}.
134 This document is also available as a
135 @uref{source/Documentation/internals.pdf,PDF} and as a
136 @uref{source/Documentation/internals/index.html,HTML indexed multiple pages}.
140 This is the Internals Reference (IR) for version "
142 " of LilyPond, the GNU music typesetter.")
147 (translation-doc-node)
149 (all-scheme-functions-doc)
154 @appendixsec Concept index
158 @appendixsec Function index
164 (dump-node top-node out-port 0)
165 (newline (current-error-port))