@include version.itexi
+@ifnothtml
@macro lydoctitle{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
-@ifnottex
@macro ruser{NAME}
These snippets illustrate the Notation Reference,
-section @ref{\NAME\,,,lilypond,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
-@end ifnottex
-@iftex
@macro ruser{NAME}
-These snippets illustrate @ref{\NAME\,,,lilypond,Notation Reference}.
+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
-@end iftex
+
+@macro ruser{NAME}
+These snippets illustrate @ref{\NAME\,,,lilypond,Notation Reference}.
+@end macro
+
+@end ifnothtml
@dircategory GNU LilyPond --- the music typesetter
@direntry
@ifnottex
@node Top
-@top LilyPond Snippet List
+@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}
* Templates::
@end menu
+@contents
+
@c Please take care of naming every .itely
@c with an existing tag name.