Hi Knute,

that's an old lilypond issue - actually, this came up already just a couple of days ago, and someone described it in that thread as the "most persistent lilypond bug". So anyway, the way to fix this is simple: put (empty) grace notes in *all* voices at the same spot your "real" grace note is.

In your example:


\version "2.18.2"

upper = \relative c' {

| c c c c

\repeat volta 2 {

| \acciaccatura s8 c4 c c c

|

}

}

lower = \relative c {

| c c c c

\repeat volta 2 {

| \acciaccatura d8 c4 c c c

|

}

}

\score {

\new PianoStaff <<

\new Staff {

\clef treble

\upper

}

\new Staff {

\clef bass

\lower

}

>>

}


Best,
Robert



Am 22/04/14 20:15, schrieb Knute Snortum:
I may have found a bug in LilyPond 2.18.2 but since I'm new to
typesetting I want to run it past the list first.

The problem is a grace note that is inside a repeat appears outside of
it.  There seems to be four things that have to happen at once:

 1. Multi staff (Piano Staff in my case).
 2. Repeat
 3. First note of one hand is a grace note
 4. The other hand does not have a grace note.

Here is the shortest source file I could construct that illustrates the
problem.  If I should be doing something differently, please tell me.

\version "2.18.2"

upper = \relative c' {

| c c c c

\repeat volta 2 {

| c4 c c c

|

}

}

lower = \relative c {

| c c c c

\repeat volta 2 {

| \acciaccatura d8 c4 c c c

|

}

}

\score {

\new PianoStaff <<

\new Staff {

\clef treble

\upper

}

\new Staff {

\clef bass

\lower

}

 >>

}


Knute Snortum
(via Gmail)


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to