2015-05-16 11:58 GMT+02:00 Venus' Wink <[email protected]>:
> Hi,
>
> I'm trying use \afterGrace on layout consists Completion_heads_engraver as:
>
> \version "2.18.2"
> \layout {
>     \context {
>         \Voice
>         \remove "Note_heads_engraver"
>         \consists "Completion_heads_engraver"
>     }
> }
> {
>     c'4 \afterGrace a4 b16
> }
>
> which issues attached test.pdf.
> The a4 also appears in the grace.
>
> The image I expect is the other attachment expected.pdf yielded
> with \context brace includes only \Voice.
>
> How can an image looks same be got without modifying the \context
> brace above?
>
> Thanks
> Venus' Wink


Hi,

LilyPond's afterGrace-function uses a second Voice to get the desired output.

Compile the following unchanged, you may be surprised:

{ \afterGrace a4 b16 }

Though, the second Voice isn't stated explicitely. Which confuses the
Completion_heads_engraver.
Maybe a bug, please report it:
http://www.lilypond.org/website/bug-reports.html

The following works:

\version "2.18.2"

\layout {
    \context {
        \Voice
       \remove "Note_heads_engraver"
       \consists "Completion_heads_engraver"
    }
}

\new Voice { c'4 \afterGrace a4 \new Voice b16 }


HTH,
  Harm

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to