Re: music starting with afterGrace breaks layout

2017-02-28 Thread David Kastrup
David Kastrup writes: > Thomas Morley writes: > >> 2017-02-22 18:44 GMT+01:00 Klaus Rettinghaus >> : >>> Hi there, >>> >>> when the music starts with an \afterGrace the layout is broken: >>> >>> \relative { \time 2/4

Re: music starting with afterGrace breaks layout

2017-02-28 Thread David Kastrup
David Kastrup writes: > Easy enough: wrap a (descend-to-context ... 'Bottom) around its > definition. However, this breaks \displayLilyMusic in bewildering ways. > > Still trying to figure out what's happening there. Here is the minimal breaking example (should break with pretty

Re: music starting with afterGrace breaks layout

2017-02-22 Thread David Kastrup
Thomas Morley writes: > 2017-02-22 23:08 GMT+01:00 David Kastrup : > >> Easy enough: wrap a (descend-to-context ... 'Bottom) around its >> definition. However, this breaks \displayLilyMusic in bewildering ways. > > > Doing so, i.e.: > > afterGrace = >

Re: music starting with afterGrace breaks layout

2017-02-22 Thread Thomas Morley
2017-02-22 23:08 GMT+01:00 David Kastrup : > Easy enough: wrap a (descend-to-context ... 'Bottom) around its > definition. However, this breaks \displayLilyMusic in bewildering ways. Doing so, i.e.: afterGrace = #(define-music-function (fraction main grace) ((fraction?)

Re: music starting with afterGrace breaks layout

2017-02-22 Thread David Kastrup
Thomas Morley writes: > 2017-02-22 18:44 GMT+01:00 Klaus Rettinghaus > : >> Hi there, >> >> when the music starts with an \afterGrace the layout is broken: >> >> \relative { \time 2/4 \afterGrace g'2 { f8[ g] } f2 } >> >> >> You

Re: music starting with afterGrace breaks layout

2017-02-22 Thread Thomas Morley
2017-02-22 18:44 GMT+01:00 Klaus Rettinghaus : > Hi there, > > when the music starts with an \afterGrace the layout is broken: > > \relative { \time 2/4 \afterGrace g'2 { f8[ g] } f2 } > > > You have to put something before that to make it work: > \relative {