X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocumentation-lib.scm;h=0c9a1f117b37cadb1f7876f40a7e7516f654aed7;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=bd824aebc9baa63e50f560056a074b329189cab0;hpb=c3f02f0948bbb78495ae3651fd42eea58319c40c;p=lilypond.git diff --git a/scm/documentation-lib.scm b/scm/documentation-lib.scm index bd824aebc9..0c9a1f117b 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--2008 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")))))