From 44e982440700c8bf95d3b1eee6f5d986913af6f6 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Fri, 10 Feb 2006 18:11:23 +0000 Subject: [PATCH] Added an example. --- ChangeLog | 4 ++++ Documentation/user/invoking.itely | 17 ++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 865ca9689d..14b019d1fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-02-10 Graham Percival + + * Documentation/user/invoking.itely: add example to File structure. + 2006-02-10 Han-Wen Nienhuys * ly/paper-defaults.ly: typo. diff --git a/Documentation/user/invoking.itely b/Documentation/user/invoking.itely index 68e8ea1e35..f6d4d6a35b 100644 --- a/Documentation/user/invoking.itely +++ b/Documentation/user/invoking.itely @@ -679,7 +679,22 @@ A compound music expression, such as This will add the piece in a @code{\score} and format it in a single book together with all other toplevel @code{\score}s and music -expressions. +expressions. In other words, a file containing only the above +music expression will be translated into + +@example +\book @{ + \score @{ + \new Staff @{ + \new Voice @{ + @{ c'4 d' e'2 @} + @} + @} + @} + \layout @{ @} + \header @{ @} +@} +@end example This behavior can be changed by setting the variable @code{toplevel-music-handler} at toplevel. The default handler is -- 2.39.5