X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocumentation-generate.scm;h=3e97f638f0d23d88acfdd1ee67be5ec2f0bafef5;hb=9d9e2e5637e06d98245c3395b58207ec173e7e7d;hp=d137ae1b1d27456d167725fff8e3c4ec6967415b;hpb=6928c1207b7df4516e58d38724e6a3985cd1c3f6;p=lilypond.git diff --git a/scm/documentation-generate.scm b/scm/documentation-generate.scm index d137ae1b1d..3e97f638f0 100644 --- a/scm/documentation-generate.scm +++ b/scm/documentation-generate.scm @@ -30,13 +30,17 @@ (slot-ref (all-scheme-functions-doc) 'text) (open-output-file "scheme-functions.tely")) -(display - (markup-doc-string) - (open-output-file "markup-commands.tely")) +;;(display +;; (markup-doc-string) +;; (open-output-file "markup-commands.tely")) -(display - (markup-list-doc-string) - (open-output-file "markup-list-commands.tely")) +(call-with-output-file "markup-commands.tely" + (lambda (port) + (dump-node (markup-doc-node) port 2 #t))) + +(call-with-output-file "markup-list-commands.tely" + (lambda (port) + (dump-node (markup-list-doc-node) port 2 #t))) (display (identifiers-doc-string) @@ -89,12 +93,12 @@ @ifclear bigpage @macro ruser{NAME} -@ref{\\NAME\\,,,lilypond} +@ref{\\NAME\\,,,lilypond,Notation Reference} @cindex \\NAME\\ @end macro @macro glossaryref{NAME} -@ref{\\NAME\\,,,music-glossary} +@ref{\\NAME\\,,,music-glossary,Music Glossary} @cindex \\NAME\\ @end macro @@ -152,7 +156,7 @@ @end iftex -@macro internalsref{NAME} +@macro rinternals{NAME} @ref{\\NAME\\} @end macro @@ -166,7 +170,7 @@ @omfcategory Applications|Publishing @end ignore - +@contents ") out-port)