> -----Original Message-----
> From: thomasmorle...@gmail.com
> Sent: Sat, 16 May 2015 12:40:02 +0200
> To: venuswi...@inbox.com
> Subject: Re: afterGrace on Completion_heads_engraver layout
> 
> 2015-05-16 11:58 GMT+02:00 Venus' Wink <venuswi...@inbox.com>:
>> 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

Hi Thomas,

I has been sure your solution does work expectedly.
Thanks a lot.

> Compile the following unchanged, you may be surprised:
> { \afterGrace a4 b16 }

Yes, I had been surprised.
That's why I left c'4 in the first code.
But I am more suprised that my expectation is realized.

I will report this issue.

Thanks again
Venus' Wink

____________________________________________________________
Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords & protects your account.
Check it out at http://mysecurelogon.com/password-manager



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

Reply via email to