From ba4cb07a1fb839232fd8f29d349b7e182722eb8d Mon Sep 17 00:00:00 2001 From: Trevor Daniels Date: Wed, 25 Jun 2008 10:43:07 +0100 Subject: [PATCH] Minor improvement --- Documentation/user/input.itely | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Documentation/user/input.itely b/Documentation/user/input.itely index c09ff7bc2a..e854ed62bd 100644 --- a/Documentation/user/input.itely +++ b/Documentation/user/input.itely @@ -824,16 +824,25 @@ been brought into the main file, so the file names they specify must all be relative to the directory containing the main file, not the directory containing the included file. -Files can also be included from a directory in a search path +Files can also be included from a directory in a search path specified as an option when invoking LilyPond from the command -line. To compile @file{main.ly} which includes files -located in a subdirectory called @file{parts} by this method, +line. The included files are then specified using just their +file name. For example, to compile @file{main.ly} which includes +files located in a subdirectory called @file{parts} by this method, cd to the directory containing @file{main.ly} and enter @example lilypond --include=parts main.ly @end example +and in main.ly write + +@example +\include "VI.ly" +\include "VII.ly" +... etc +@end example + Files which are to be included in many scores may be placed in the LilyPond directory @file{../ly}. (The location of this directory is installation-dependent - see @rlearning{Other sources -- 2.39.5