]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets.tely
Doc: minor fixes for new title pages.
[lilypond.git] / Documentation / snippets.tely
index 3e2b7cec5999ed84684684647c97066b0b62611e..ecbc288c752aad78b929109c315ec32ba2576232 100644 (file)
@@ -1,41 +1,11 @@
 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
+
 @setfilename lilypond-snippets.info
 @settitle LilyPond snippets
 @documentencoding UTF-8
 @documentlanguage en
 
-@iftex
-@afourpaper
-@end iftex
-
-@c This disables @lydoctitle definition in common-macros.itexi
-@set snippets-sections
-
-@include macros.itexi
-
-@ifnothtml
-@macro lydoctitle{TEXT}
-@unnumberedsec \TEXT\
-@end macro
-@end ifnothtml
-
-@ifhtml
-@macro lydoctitle{TEXT}
-@node \TEXT\
-@unnumberedsec \TEXT\
-@end macro
-@end ifhtml
-
-@finalout
-
-@titlepage
-@title LilyPond
-@subtitle The music typesetter
-@titlefont{Snippets}
-@author LilyPond Snippet Repository contributors
-
-@vskip 20pt
-
+@macro manualIntro
 This document shows a selected set of LilyPond snippets from the
 @uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}
 (LSR). It is in the public domain.
@@ -46,8 +16,8 @@ LSR web site and database, and the University of Milano for hosting LSR.
 Please note that this document is not an exact subset of LSR: some
 snippets come from @file{input/new} LilyPond sources directory, and
 snippets from LSR are converted through @command{convert-ly}, as LSR is
-based on a stable LilyPond version, and this document is for version
-@c @value{version}.
+based on a stable LilyPond version, and this document is for
+version @version{}.
 
 Snippets are grouped by tags; tags listed in the table of contents match
 a section of LilyPond notation manual.  Snippets may have several tags,
@@ -56,48 +26,32 @@ and not all LSR tags may appear in this document.
 In the HTML version of this document, you can click on the file name
 or figure for each example to see the corresponding input file.
 
-@end titlepage
+@end macro
 
-@iftex
-@contents
-@end iftex
+@c This disables @lydoctitle definition in common-macros.itexi
+@set snippets-sections
 
-@ifnottex
-@node Top
-@top GNU LilyPond --- Snippets List
+@include macros.itexi
+
+@ifnothtml
+@macro lydoctitle{TEXT}
+@unnumberedsec \TEXT\
+@end macro
+@end ifnothtml
 
 @ifhtml
-@ifclear bigpage
-This document is also available as a
-@uref{source/Documentation/snippets.pdf,PDF} and as
-@uref{source/Documentation/snippets-big-page.html,one big page}.
-@end ifclear
-@ifset bigpage
-This document is also available as a
-@uref{source/Documentation/snippets.pdf,PDF} and as
-@uref{source/Documentation/snippets/index.html,HTML indexed multiple pages}.
-@end ifset
+@macro lydoctitle{TEXT}
+@node \TEXT\
+@unnumberedsec \TEXT\
+@end macro
 @end ifhtml
 
-This document shows a selected set of LilyPond snippets from the
-@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}
-(LSR). It is in the public domain.
-
-Please note that it is not an exact subset of LSR: some snippets come
-from @file{Documentation/snippets/new} LilyPond sources directory, and
-snippets from LSR are converted through @command{convert-ly}, as LSR is
-based on a stable LilyPond version, and this document is for version
-@version{}.
 
-Snippets are grouped by tags; tags listed in the table of contents match
-a section of LilyPond notation manual.  Snippets may have several tags,
-and not all LSR tags may appear in this document.
+@lilyTitlePage{Snippets}
 
-In the HTML version of this document, you can click on the file name
-or figure for each example to see the corresponding input file.
-@end ifnottex
 
 @c maybe generate/update @menu and @includes automatically? --jm
+@ifnottex
 @menu
 Musical notation
 * Pitches::
@@ -130,6 +84,9 @@ Other collections
 * Templates::
 @end menu
 
+@docMain
+@end ifnottex
+
 @contents