]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/documentation-lib.scm
Run `make grand-replace'.
[lilypond.git] / scm / documentation-lib.scm
index bd824aebc9baa63e50f560056a074b329189cab0..0c9a1f117b37cadb1f7876f40a7e7516f654aed7 100644 (file)
@@ -3,7 +3,7 @@
 ;;;;
 ;;;; source file of the GNU LilyPond music typesetter
 ;;;; 
-;;;; (c) 2000--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+;;;; (c) 2000--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 ;;;;                 Jan Nieuwenhuizen <janneke@gnu.org>
 
 (use-modules (oop goops)
@@ -26,8 +26,8 @@
   (display
    (string-append
     "\n@node "
-    (node-name node)
-    "\n\n"
+    (if (= level 0) "Top" (node-name node))
+    "\n"
     (if (appendix? node)
         (texi-appendix-section-command level)
         (texi-section-command level))
@@ -63,9 +63,9 @@
   (cdr (assoc level '(
                      ;; Hmm, texinfo doesn't have ``part''
                      (0 . "@top")
-                     (1 . "@unnumbered")
-                     (2 . "@unnumberedsec")
-                     (3 . "@unnumberedsubsec")
+                     (1 . "@chapter")
+                     (2 . "@section")
+                     (3 . "@subsection")
                      (4 . "@unnumberedsubsubsec")
                      (5 . "@unnumberedsubsubsec")))))