X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocumentation-generate.scm;h=0d56e2c4a9b97db3e4e77f80018ab47f981fe75f;hb=37ca1f80bf5401accd17056938f4f7b2c147ddb2;hp=d137ae1b1d27456d167725fff8e3c4ec6967415b;hpb=30d0e11afbac6e226c1af278f68b8f24d63f639f;p=lilypond.git diff --git a/scm/documentation-generate.scm b/scm/documentation-generate.scm index d137ae1b1d..0d56e2c4a9 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) @@ -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