Re: Using path expressions to override stencils

2016-02-17 Thread Paul Booker
> > customClefStencilTwo = > #(make-path-stencil > '(rmoveto 0 0 > rcurveto 0 0.75 1 0.75 1 0 > rcurveto 0 -0.75 -1 -0.75 -1 0 > rcurveto -1 0 -1 1.5 -0.5 1.5 > rmoveto 0.5 -1.5 > rcurveto -1 0 -1 -1.5 -0.5 -1.5 > rmoveto 0.5 1.5 > rmoveto 1 0 > rcurveto

Re: Using path expressions to override stencils

2016-02-16 Thread Paul Morris
Hi Paul, If you are using 2.19 you might want to use "make-path-stencil” instead. (It is not in 2.18 and so not in the LSR yet. Although maybe we should add it commented out?) It calculates the extents of the stencil for you so you don’t have to specify them. See below. Cheers, -Paul

Re: Using path expressions to override stencils

2016-02-16 Thread Paul Booker
> Done. > http://lsr.di.unimi.it/LSR/Item?id=623 > Cheers, > Harm That's great, Thanks Thomas. Paul ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Using path expressions to override stencils

2016-02-16 Thread Thomas Morley
2016-02-16 19:40 GMT+01:00 Paul Booker : > Paul Morris paulwmorris.com> writes: > >> >> > On Feb 16, 2016, at 8:35 AM, Paul Booker homebass.net> wrote: >> > >> > I've only narrowed the problem down to the function >> >> Hi Paul, Can you send a full but tiny example that we

Re: Using path expressions to override stencils

2016-02-16 Thread Thomas Morley
2016-02-16 21:40 GMT+01:00 Thomas Morley : > The LSR-snippet is wrong in this regard. > But 2.18.2 was more lax tolerating such things than new devel-versions. > I'll correct the LSR-snippet. Done. http://lsr.di.unimi.it/LSR/Item?id=623 Cheers, Harm

Re: Using path expressions to override stencils

2016-02-16 Thread Paul Booker
Paul Morris paulwmorris.com> writes: > > > On Feb 16, 2016, at 8:35 AM, Paul Booker homebass.net> wrote: > > > > I've only narrowed the problem down to the function > > Hi Paul, Can you send a full but tiny example that we can run/test with LilyPond? See: > >

Re: Using path expressions to override stencils

2016-02-16 Thread Paul Morris
> On Feb 16, 2016, at 8:35 AM, Paul Booker wrote: > > I've only narrowed the problem down to the function Hi Paul, Can you send a full but tiny example that we can run/test with LilyPond? See: http://lilypond.org/tiny-examples.html That will make it easier to see what’s

Using path expressions to override stencils

2016-02-16 Thread Paul Booker
Regarding LSR item 623: http://lsr.di.unimi.it/LSR/Search?q=623 I'm sure I had this working with v2.18.2 but not having any luck with v2.19.36 In Win 8.1 I get an error message: /lily/grob-property.cc, Line 243 Expression: scm_is_null(value) || scm_is_eq(value, marker) I've only