]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/lilypond-snippets.tely
lilypond-book robustness: ensure EOL at the end of @verbatim
[lilypond.git] / input / lsr / lilypond-snippets.tely
index b1c28b2af8503668778863108dd2cd3458a5a7c8..0062153a2b3fdc6a587a69f3110c50f7258243c4 100644 (file)
 
 @include version.itexi
 
+@ifnothtml
 @macro lydoctitle{TEXT}
-@section \TEXT\
+@unnumberedsec \TEXT\
 @end macro
+@end ifnothtml
+
+@ifhtml
+
+@macro lydoctitle{TEXT}
+@node \TEXT\
+@unnumberedsec \TEXT\
+@end macro
+
+@ifset bigpage
+
+@macro rlearning{NAME}
+See also Learning Manual, section
+@ref{\NAME\,,,lilypond-learning-big-page,Learning Manual}.
+@end macro
+
+@macro ruser{NAME}
+These snippets illustrate the Notation Reference,
+section @ref{\NAME\,,,lilypond-big-page,Notation Reference}.
+@end macro
+
+@end ifset
+
+
+@ifclear bigpage
+
+@macro rlearning{NAME}
+See also Learning Manual, section
+@ref{\NAME\,,,lilypond-learning,Learning Manual}.
+@end macro
+
+@macro ruser{NAME}
+These snippets illustrate the Notation Reference,
+section @ref{\NAME\,,,lilypond,Notation Reference}.
+@end macro
+
+@end ifclear
+
+@end ifhtml
+
+
+@ifnothtml
+
+@macro rlearning{NAME}
+See also @ref{\NAME\,,,lilypond-learning,Learning Manual}.
+@end macro
+
+@macro ruser{NAME}
+These snippets illustrate @ref{\NAME\,,,lilypond,Notation Reference}.
+@end macro
+
+@end ifnothtml
 
 @dircategory GNU LilyPond --- the music typesetter
 @direntry
@@ -62,7 +115,20 @@ or figure for each example to see the corresponding input file.
 
 @ifnottex
 @node Top
-@top LilyPond examples
+@top GNU LilyPond --- Snippets List
+
+@ifhtml
+@ifclear bigpage
+This document is also available as a
+@uref{source/Documentation/user/lilypond-snippets.pdf,PDF} and as
+@uref{source/input/lsr/lilypond-snippets-big-page.html,one big page}.
+@end ifclear
+@ifset bigpage
+This document is also available as a
+@uref{source/Documentation/user/lilypond-snippets.pdf,PDF} and as
+@uref{source/input/lsr/lilypond-snippets/index.html,HTML indexed multiple pages}.
+@end ifset
+@end ifhtml
 
 This document shows a selected set of LilyPond snippets from the
 @uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}
@@ -102,6 +168,7 @@ Specialist notation
 * Unfretted strings::
 * Winds::
 * Ancient notation::
+* World music::
 
 Other collections
 * Contexts and engravers::
@@ -113,6 +180,8 @@ Other collections
 * Templates::
 @end menu
 
+@contents
+
 
 @c Please take care of naming every .itely
 @c with an existing tag name.
@@ -134,6 +203,7 @@ Other collections
 @include unfretted-strings.itely
 @include winds.itely
 @include ancient-notation.itely
+@include world-music.itely
 
 @include contexts-and-engravers.itely
 @include tweaks-and-overrides.itely