[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Layout block inside a bookpart block
From: |
Thomas Morley |
Subject: |
Re: Layout block inside a bookpart block |
Date: |
Wed, 10 Jul 2013 13:33:21 +0200 |
2013/7/10 Eluze <address@hidden>:
> Barikavily wrote
>>> I'm not top posting.
>>
>> % I wish to define layout properties for a bookpart block
>> % but it doesn't seem to work.
>> % Lilypond says "\paper is necessary".
>> % Am I missing something?
>
> it is not possible to define a \layout block in a \book or a \bookpart.
To be more verbose:
it is not possible to define a \layout block _outside from \score_ in
a \book or a \bookpart.
Though even a \layout in a \score of a bookpart will not redefine
settings from a toplevel \layout.
Tough, in the given example it's not nessacary to define the indent in
a toplevel \layout.
Moving it to the toplevel \paper will work:
\version "2.16.2"
\paper { top-margin = 50 indent = 50 }
\book {
\bookpart {
\score { { c'1 } \layout { indent = 0 } } % Working!
\score { d'1 }
\score { e'1 }
}
\bookpart {
\paper { top-margin = 0 } % Working!
\score { { c'1 } \layout { indent = 0 } } % Working!
\score { d'1 }
\score { e'1 }
}
\bookpart {
\paper { top-margin = 0 indent = 0 } % Working!
\score { c'1 }
\score { d'1 }
\score { e'1 }
}
}
>
> according to Issue 3151
> <https://code.google.com/p/lilypond/issues/detail?id=3151&can=1&q=Fixed_2_17_16&colspec=ID%20Type%20Status%20Stars%20Owner%20Patch%20Needs%20Summary>
> the documentation has been fixed.
>
> I found one example which may have been overseen:
>
> 3.1.3 Multiple output files from one input file
>
> should this issue be re-opened?!
Probably.
I think I could provide a patch this evening.
-Harm