From: Graham Percival Date: Wed, 18 May 2005 10:25:01 +0000 (+0000) Subject: Add info about \include. X-Git-Tag: release/2.5.25~17 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=48f5c875aaff3eae7d4220671310f93397d1e83b;p=lilypond.git Add info about \include. --- diff --git a/ChangeLog b/ChangeLog index 8790410178..4649bcd2a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,8 @@ * Documentation/topdocs/AUTHORS.texi: update email address. + * Documentation/user/global.itely: add info about \include. + 2005-05-17 Jan Nieuwenhuizen * scm/backend-library.scm (postscript->pdf): Remove (useless) .ps diff --git a/Documentation/user/global.itely b/Documentation/user/global.itely index df904fb230..241e55450a 100644 --- a/Documentation/user/global.itely +++ b/Documentation/user/global.itely @@ -12,7 +12,7 @@ This is a placeholder until I can write a nice intro for this chapter. @menu * Global layout:: -* File structure:: +* LilyPond files:: * Sound:: @end menu @@ -894,8 +894,17 @@ composer flush right on a single line. +@node LilyPond files +@section LilyPond files + +@menu +* File structure:: +* Including LilyPond files:: +@end menu + + @node File structure -@section File structure +@subsection File structure The major part of this manual is concerned with entering various forms of music in LilyPond. However, many music expressions are not @@ -1011,6 +1020,24 @@ be entered: @end itemize +@node Including LilyPond files +@subsection Including LilyPond files + +@cindex @code{\include} +@cindex including files + +A large project may be split up into separate files. To refer to another +file, use + +@example +\include "otherfile.ly" +@end example + +For example, you may write separate files for each instrument part and +create a ``full score'' file which brings together the individual +instrument files. + + @node Sound @section Sound @cindex Sound