[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file structure (hierarchy)
From: |
Mats Bengtsson |
Subject: |
Re: file structure (hierarchy) |
Date: |
Wed, 13 Feb 2008 10:21:04 +0100 |
User-agent: |
Thunderbird 2.0.0.5 (X11/20070716) |
Andrew Black wrote:
What is the status of the GDP manual - does it contain the whole
documentation, some of which has been rewritten?
Yes, as far as I know.
The following sentence from this section is helpful :
Some people put some of those commands outside the \score block – for
example, \header is often placed above the \score command. That's
just another shorthand that LilyPond accepts.
Unfortunately, this sentence isn't completely true. Try for example to
specify
the title of the piece in a \header block within the \score block. The
reason that
this doesn't work is that the title/composer/... is printed once for the
full file
(or rather for the full \book, to be precise) before each score is
processed,
so settings specific to one the scores are ignored.
But I have questions -
- does the same apply to \layouts (can come before/after/inside score)
Yes!
- is there any difference in putting the \header \layout etc inside or
outside \score
Yes! If it's inside the \score block then it only applies to that
particular score,
whereas if it's outside the \score block, then it applies to all \score
blocks
in the file. Also, if you have several header/layout blocks at the top
level, then
the settings is accumulated from all of these blocks (the last one in
the file
is used if the same variable is set several times) and the resulting set of
settings is applied to all the score blocks.
I hope I have brought you to a new level of confusion. ;-)
/Mats
- Re: file structure (hierarchy), (continued)
- Re: file structure (hierarchy), Graham Percival, 2008/02/12
- Re: file structure (hierarchy), Andrew Black, 2008/02/13
- Re: file structure (hierarchy),
Mats Bengtsson <=
- Re: file structure (hierarchy), Bertalan Fodor (LilyPondTool), 2008/02/13
- Re: file structure (hierarchy), Mats Bengtsson, 2008/02/13
- RE: file structure (hierarchy), Trevor Daniels, 2008/02/13
- Re: file structure (hierarchy), Werner, 2008/02/13
- Re: file structure (hierarchy), Mats Bengtsson, 2008/02/13
- RE: file structure (hierarchy), Trevor Daniels, 2008/02/13
- Re: file structure (hierarchy), Nicholas WASTELL, 2008/02/13
- Re: file structure (hierarchy), Graham Percival, 2008/02/13
- Re: file structure (hierarchy), Graham Percival, 2008/02/13