Am 11. März 2016 21:48:27 MEZ, schrieb tyronicus <address@hidden>:
Fellow Ponders,
I'm trying to use the Edition Engraver for the first time. In the (smallish)
example below, see how in the current method that I use of splitting and
joining voices, the Ed.Engr. seems to be confused about when the voice
starts,
and thus, I'm unable to modify the slur in \voiceTwo.
I get the following error in the log:
warning: missing @ 1 #<Mom 0> Voice/B
warning: ---> \override NoteHead #'color = (0.0 0.0 1.0)
warning: ---> \override Slur #'color = (1.0 0.0 0.0)
Any tips on how I could do this? Do I need to change the way I handle
Voices?
%%%%%%%%%%%%%%%%%%%%%%
\version "2.19.37"
twoVoices = #(define-music-function (one two)(ly:music? ly:music?)
#{ << { \voiceOne $one } \new Voice { \voiceTwo $two } >> \oneVoice #})
tenN = \relative c' { \key b \minor \clef "G_8"
\twoVoices { b2.( cis4) } { fis,2( g4 b) }
4 <fis b>2
}
\include "editorial-tools/edition-engraver/definitions.ily"
\layout {
\context { \Voice
\consists \editionEngraver ##f
}
}
\score {
\new Voice \tenN
}
\addEdition octavo
\editionMod octavo 1 0/4 Voice.A \override Slur.color = #green
\editionMod octavo 1 0/4 Voice.B \override NoteHead.color = #blue
\editionMod octavo 1 0/4 Voice.B \override Slur.color = #red
<http://lilypond.1069038.n5.nabble.com/file/n188450/slur-ex.png>
--
View this message in context: http://lilypond.1069038.n5.nabble.com/Voices-and-Edition-Engraver-tp188450.html
Sent from the User mailing list archive at Nabble.com.
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user