X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocumentation-generate.scm;h=975ef1f9627c47d7babc9341988e6265a9ce64ab;hb=1ce5e85efda360c05b7db51cb1772fccce4e582c;hp=d137ae1b1d27456d167725fff8e3c4ec6967415b;hpb=f4281a639ffc9b662a01b3e79a7b6771dd3e16d6;p=lilypond.git diff --git a/scm/documentation-generate.scm b/scm/documentation-generate.scm index d137ae1b1d..975ef1f962 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 @@ -116,12 +120,7 @@ @c ***** info ***** @macro ruser{NAME} -@inforef{\\NAME\\,,,lilypond} -@cindex \\NAME\\ -@end macro - -@macro glossaryref{NAME} -@inforef{\\NAME\\,,lilypond/music-glossary} +@ref{\\NAME\\,,,lilypond} @cindex \\NAME\\ @end macro @@ -152,7 +151,7 @@ @end iftex -@macro internalsref{NAME} +@macro rinternals{NAME} @ref{\\NAME\\} @end macro @@ -166,7 +165,7 @@ @omfcategory Applications|Publishing @end ignore - +@contents ") out-port)