]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets.tely
Web: Fix broken link to LSR website
[lilypond.git] / Documentation / snippets.tely
index 3e2b7cec5999ed84684684647c97066b0b62611e..a6426b5f3f38352de8a71bef2eaf74297b781dc9 100644 (file)
@@ -1,44 +1,15 @@
 \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.
+@uref{http://lsr@/.di@/.unimi@/.it,LilyPond Snippet Repository}
+(LSR).  It is in the public domain.
 
 We would like to address many thanks to Sebastiano Vigna for maintaining
 LSR web site and database, and the University of Milano for hosting LSR.
@@ -46,8 +17,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 +27,43 @@ 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
+@macro copyrightDeclare
+Copyright @copyright{}
+1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+by the authors.
+@end macro
 
-@ifnottex
-@node Top
-@top GNU LilyPond --- Snippets List
+@c This disables @lydoctitle definition in common-macros.itexi
+@set snippets-sections
+
+@include macros.itexi
+
+@ifnothtml
+@macro nodeprefix{PRE}
+@end macro
+@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 nodeprefix{PRE}
+@unmacro lydoctitle
+@macro lydoctitle{TEXT}
+@node \PRE\: \\TEXT\\
+@unnumberedsec \\TEXT\\
+@end macro
+@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{}.
+@lilyTitlePage{Snippets}
 
-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.
-
-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,8 +96,12 @@ Other collections
 * Templates::
 @end menu
 
+@docMain
+@end ifnottex
+
 @contents
 
+@allowcodebreaks false
 
 @c Please take care of naming every .itely
 @c with an existing tag name.