lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error: can't allocate region - layout block?


From: Thomas Morley
Subject: Re: error: can't allocate region - layout block?
Date: Tue, 26 Apr 2016 23:58:33 +0200

2016-04-26 23:41 GMT+02:00 Simon Albrecht <address@hidden>:
> On 26.04.2016 23:22, Thomas Morley wrote:
>>
>> Right now you code your ossia-staves using one of the methods as
>> recommended in the NR
>>
>> http://lilypond.org/doc/v2.19/Documentation/notation/modifying-single-staves#ossia-staves
>>
>> I.e.:
>>
>> \layout {
>>    \context {
>>      \Score
>>      \override VerticalAxisGroup.remove-first = ##t
>>    }
>>    \context {
>>      \Staff
>>      \RemoveEmptyStaves
>>    }
>> }
>>
>>
>> mainI = {
>>    c''1 d''
>>    \break
>>    e''
>>    <<
>>      f''
>>      \context Staff = "ossiaI" { \startStaff fis'' \stopStaff }
>>    >>
>>    g''
>> }
>>
>> <<
>>    \new Staff = "ossiaI"
>>    \with {
>>      \remove "Time_signature_engraver"
>>      \hide Clef
>>      %\magnifyStaff #2/3
>>      \RemoveAllEmptyStaves
>>    }
>>    {
>>      \stopStaff
>>      s1*5
>>    }
>>    \new Staff = "mainI" \mainI
>>>>
>>>>
>
> Why do you duplicate the staff-removal, once in a top-level \layout and once
> in a \with for the ossia staff? Also, why use \RemoveAllEmptyStaves in one
> case, but not in the other?

Well, too tired, I'd say...

Cheers,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]