X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocumentation-lib.scm;h=ba434f1947e89bcbbb907c18ffa97371e290274b;hb=318cffd501a71757ab154aaf6b4a669025a5b8b9;hp=bd824aebc9baa63e50f560056a074b329189cab0;hpb=222b0bff12be16c385df77f4cfa89101aafeece7;p=lilypond.git diff --git a/scm/documentation-lib.scm b/scm/documentation-lib.scm index bd824aebc9..ba434f1947 100644 --- a/scm/documentation-lib.scm +++ b/scm/documentation-lib.scm @@ -3,7 +3,7 @@ ;;;; ;;;; source file of the GNU LilyPond music typesetter ;;;; -;;;; (c) 2000--2007 Han-Wen Nienhuys +;;;; (c) 2000--2009 Han-Wen Nienhuys ;;;; Jan Nieuwenhuizen (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")))))