]> git.donarmstrong.com Git - lilypond.git/commitdiff
DOC: add description of -dinclude-settings
authorColin Campbell <cpkc@shaw.ca>
Mon, 14 Feb 2011 02:50:56 +0000 (19:50 -0700)
committerTrevor Daniels <t.daniels@treda.co.uk>
Wed, 16 Feb 2011 08:42:05 +0000 (08:42 +0000)
Adds menu reverences and a description of using -dinclude-settings
on the comand line, to change among various global parameters
such as paper or font size.

Documentation/notation/input.itely

index 1ef43544237ac75af708688016130c7cd0949494..50f61545fef1bcdc93fd19099ab167cc348aa02a 100644 (file)
@@ -1113,6 +1113,7 @@ structure while leaving the notation untouched.
 @menu
 * Using variables::
 * Using tags::
+* Using global settings::
 @end menu
 
 @node Using variables
@@ -1331,6 +1332,33 @@ than one tagged section at the same place.
 
 @end ignore
 
+@node Using global settings
+@unnumberedsubsubsec Using global settings
+
+@cindex include-settings
+
+Global settings can be incuded from a separate file:
+
+@example
+lilypond -dinclude-settings=MY_SETTINGS.ly MY_SCORE.ly
+@end example
+
+Groups of settings such as page size, font or type face can be stored
+in separate files. This allows different editions from the same score
+as well as standard settings to be applied to many scores, simply by
+specifying the proper settings file.
+
+This technique also works well with the use of style sheets, as
+discussed in @rlearning{Style sheets}.
+
+@seealso
+Learning Manual:
+@rlearning{Organizing pieces with variables},
+@rlearning{Style sheets}.
+
+Notation Reference:
+@ref{Including LilyPond files}.
+
 @node Text encoding
 @subsection Text encoding