X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocumentation-lib.scm;h=148728abb6e2e78d48ed44b5b8c8d7a824f7ecee;hb=f576470eae26f05fdb27769e1e5d592f69eae890;hp=bd824aebc9baa63e50f560056a074b329189cab0;hpb=4183b25bbdcb9880b65ca7f487bdc2065bbd5f57;p=lilypond.git diff --git a/scm/documentation-lib.scm b/scm/documentation-lib.scm index bd824aebc9..148728abb6 100644 --- a/scm/documentation-lib.scm +++ b/scm/documentation-lib.scm @@ -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")))))