X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocumentation-generate.scm;h=0d56e2c4a9b97db3e4e77f80018ab47f981fe75f;hb=37ca1f80bf5401accd17056938f4f7b2c147ddb2;hp=6219ce53c3f3a0de56b2ad3f8ff3d26a4f190f7b;hpb=1806f0b1a3ca989203675dc8f44387a076acdffa;p=lilypond.git diff --git a/scm/documentation-generate.scm b/scm/documentation-generate.scm index 6219ce53c3..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) @@ -72,6 +76,22 @@ @ifhtml @c ***** HTML ***** +@ifset bigpage + +@macro ruser{TEXT} +@ref{\\TEXT\\,,,lilypond-big-page,Notation Reference} +@cindex \\TEXT\\ +@end macro + +@macro glossaryref{TEXT} +@vindex \\TEXT\\ +@ref{\\TEXT\\,,,music-glossary-big-page,Music Glossary} +@end macro + +@end ifset + +@ifclear bigpage + @macro ruser{NAME} @ref{\\NAME\\,,,lilypond} @cindex \\NAME\\ @@ -82,6 +102,8 @@ @cindex \\NAME\\ @end macro +@end ifclear + @macro inputfileref{DIR,NAME} @uref{source/\\DIR\\/out-www/collated-files.html#\\NAME\\,@file{\\DIR\\/\\NAME\\}}@c @end macro @@ -98,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 @@ -134,7 +151,7 @@ @end iftex -@macro internalsref{NAME} +@macro rinternals{NAME} @ref{\\NAME\\} @end macro