[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: edition-editor usage
From: |
Mason Hock |
Subject: |
Re: edition-editor usage |
Date: |
Fri, 29 Dec 2017 17:26:28 +0000 |
Mason Hock:
> Urs Liska:
>>
>> Actually I do not see why any of this should be incompatible. Both
>> page-layout and partial-compilation *use* the EE. Maybe it is a naming
>> conflict somehow.
>
> Here's a reduced example of what I have. Can you spot what I'm doing wrong?
>
> \version "2.19.80"
> \include "oll-core/package.ily"
> \loadPackage edition-engraver
> \loadPackage partial-compilation
> \loadModule page-layout.conditional-breaks
> \loadModule bezier.shapeII
>
> \addEdition violinI
> \editionMod violinI 1 2/4 score.violinI.Voice \once \shapeII #'(()()(p
> 110 1.5)()) Slur
> \consistToContexts #edition-engraver Score.StaffGroup.Staff.Voice
>
> % the problem persists whether or not the breakset has the same name as
> the edition
> \registerBreakSet violinI
> \setBreaks violinI page-breaks #'(56)
> \setBreaks violinI line-breaks #'(7 14 21 28 35 42 49)
> \applyConditionalBreaks violinI
> \setClipPage violinI 1
>
> \score {
> \new StaffGroup {
> <<
> \new Staff \with { instrumentName = "Violin 1" \editionID violinI }
> \relative c'' { c c c( d) \repeat unfold 252 c }
>
> \new Staff \with { instrumentName = "Violin 2" }
> \relative c'' { \repeat unfold 256 c }
> >>
> }
> \layout {
> \context {
> \Score
> \editionID score % removing this line fixes conditional-breaks and
> % partial-compilation but breaks edition-engraver
> }
> }
> }
>
Urs,
Is there somewhere I can access your solution described here?
http://lilypondblog.org/2015/01/partially-compiling-a-lilypond-score/
It no longer appears to be in snippets or the deprecated openlilylib repo.
Thanks,
Mason