Re: is shapeSlur broken?

2012-05-14 Thread Jan-Peter Voigt
Hello Harm and list, thank you very much for this function! I really like it :-) Now I just wanted to share my way to shorten the input: \shape #'(((0 . 0)(0 . 0.3)(0 . 0.3)(0 . 0))) is a long thing to type. Most times I only want to adjust the y-part of the two inner control-points -

Re: is shapeSlur broken?

2012-05-14 Thread David Kastrup
Jan-Peter Voigt jp.vo...@gmx.de writes: Hello Harm and list, Could you try _not_ posting in HTML? This mail had both a plain text as well as an HTML-specified part, and both rendered awfully here. If you send just as plain text, chances are that you see what you are actually sending.

Re: is shapeSlur broken?

2012-05-14 Thread Jan-Peter Voigt
On 14.05.2012 12:34, David Kastrup wrote: Jan-Peter Voigtjp.vo...@gmx.de writes: Hello Harm and list, Could you try _not_ posting in HTML? This mail had both a plain text as well as an HTML-specified part, and both rendered awfully here. If you send just as plain text, chances are that

Re: is shapeSlur broken?

2012-05-14 Thread David Kastrup
Jan-Peter Voigt jp.vo...@gmx.de writes: On 14.05.2012 12:34, David Kastrup wrote: Jan-Peter Voigtjp.vo...@gmx.de writes: Hello Harm and list, Could you try _not_ posting in HTML? This mail had both a plain text as well as an HTML-specified part, and both rendered awfully here. If you

Re: is shapeSlur broken?

2012-05-11 Thread David Kastrup
David Nalesnik david.nales...@gmail.com writes: So: \shape #Slur #'( ... Looks awful. Why not call it with the syntax used for any override? \shape Slur #'( ... -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org

Re: is shapeSlur broken?

2012-05-11 Thread David Nalesnik
So: \shape #Slur #'( ... Looks awful. Why not call it with the syntax used for any override? \shape Slur #'( ... Yes, it is pretty horrible. I didn't realize that LilyPond would accept strings not enclosed in double quotes. Thanks, David

Re: is shapeSlur broken?

2012-05-11 Thread David Nalesnik
On Thu, May 10, 2012 at 6:53 PM, Thomas Morley thomasmorle...@googlemail.com wrote: Hi David, 2012/5/11 David Nalesnik david.nales...@gmail.com: I don't have 2.14.2 up to test, but this all should work there provided you add the # before the string? So: \shape #Slur #'( ... I

Re: is shapeSlur broken?

2012-05-11 Thread David Kastrup
David Nalesnik david.nales...@gmail.com writes: Should be just around the corner! We just had another fix for a critical regression in, and I marked updating the \footnote documentation to \footnote behavior (\footnote is now used as a postevent consistently) also as Critical. Once the release

Re: is shapeSlur broken?

2012-05-11 Thread Urs Liska
Am 11.05.2012 01:27, schrieb David Nalesnik: Hi Harm, On Thu, May 10, 2012 at 6:00 PM, Thomas Morley thomasmorle...@googlemail.com mailto:thomasmorle...@googlemail.com wrote: 2012/5/11 Thomas Morley thomasmorle...@googlemail.com mailto:thomasmorle...@googlemail.com: Hi David,

Re: is shapeSlur broken?

2012-05-10 Thread Jan-Peter Voigt
Hello David, hello Urs, thank you very much for these improvements! I have a tiny addition: PhrasingSlurs --snip-- shapePhrasingSlur = #(define-music-function (parser location offsets) (list?) #{ \once \override PhrasingSlur #'control-points = #(shape-curve offsets

Re: is shapeSlur broken?

2012-05-10 Thread Urs Liska
Hi Jan-Peter, thanks for this. I had already inserted phrasingSlurs into the function, but somehow they slipped through the net during some update ... Best Urs Am 10.05.2012 09:59, schrieb Jan-Peter Voigt: Hello David, hello Urs, thank you very much for these improvements! I have a tiny

Re: is shapeSlur broken?

2012-05-10 Thread Thomas Morley
Hi David, I thought a while about your function. I'd like to suggest some changes. In the attached file you can see: - Elimination of `function' as argument of shape-curve and introducing it as local variable. - A new condition added in shape-curve at the siblings-variable: ly:spanner? - In the

Re: is shapeSlur broken?

2012-05-10 Thread Thomas Morley
2012/5/11 Thomas Morley thomasmorle...@googlemail.com: Hi David, I thought a while about your function. I'd like to suggest some changes. In the attached file you can see: - Elimination of `function' as argument of shape-curve and introducing it as local variable. - A new condition added

Re: is shapeSlur broken?

2012-05-10 Thread David Nalesnik
Hi Harm, On Thu, May 10, 2012 at 6:00 PM, Thomas Morley thomasmorle...@googlemail.com wrote: 2012/5/11 Thomas Morley thomasmorle...@googlemail.com: Hi David, I thought a while about your function. I'd like to suggest some changes. In the attached file you can see: - Elimination of

Re: is shapeSlur broken?

2012-05-10 Thread Thomas Morley
Hi David, 2012/5/11 David Nalesnik david.nales...@gmail.com: I don't have 2.14.2 up to test, but this all should work there provided you add the # before the string? So: \shape #Slur #'( ... I tested what's needed to make it work with 2.14.2 (therefor the 2.14.2-version-number in the

Re: is shapeSlur broken?

2012-05-09 Thread Urs Liska
Hi David, now I tested your new function. OK, I didn't test more than the sources you provided, but I think they give all the necessary combinations. So my conclusion is: This is awesome! I won't ever live without this (as long as LilyPond is concerned) anymore - as long as it won't get

Re: is shapeSlur broken?

2012-05-09 Thread David Nalesnik
Hi Urs, On Wed, May 9, 2012 at 10:13 AM, Urs Liska li...@ursliska.de wrote: Hi David, now I tested your new function. OK, I didn't test more than the sources you provided, but I think they give all the necessary combinations. So my conclusion is: This is awesome! I won't ever live

Re: is shapeSlur broken?

2012-05-08 Thread David Nalesnik
Hi Urs, Hi David, as promised I tried out your updated function(s). Well, you can't call this a complete test suite, but it seems to work perfectly. Many thanks. Attached is a version showing that it also/still works with phrasingSlurs. I find the warnings very useful. I assume it isn't

Re: is shapeSlur broken?

2012-05-08 Thread Urs Liska
Hi David, thanks for the new 'delivery'. I copied it to my project folder, but it's too late now here to investigate it (has to wait for tomorrow). I'm really looking forward to making all this available in a structured way (although it will surely take some time). Experience working with your

Re: is shapeSlur broken?

2012-05-04 Thread Urs Liska
Am 29.04.2012 00:26, schrieb David Nalesnik: Hi Urs, On Fri, Apr 27, 2012 at 6:05 PM, Urs Liska li...@ursliska.de mailto:li...@ursliska.de wrote: Am 27.04.2012 19 tel:27.04.2012%2019:30, schrieb David Nalesnik: Hi Urs, On Fri, Apr 27, 2012 at 11:46 AM, Urs Liska

Re: is shapeSlur broken?

2012-04-28 Thread David Nalesnik
Hi Urs, On Fri, Apr 27, 2012 at 6:05 PM, Urs Liska li...@ursliska.de wrote: Am 27.04.2012 19:30, schrieb David Nalesnik: Hi Urs, On Fri, Apr 27, 2012 at 11:46 AM, Urs Liska li...@ursliska.de wrote: Hi David, thank you for now. I'll look into it. But isn't it very likely that I have

Re: is shapeSlur broken?

2012-04-27 Thread Jan-Peter Voigt
Hello Urs, yes there was a syntax change: you might try shapeSlur = #(define-music-function (parser location offsets)(list?) #{ \once \override Slur #'control-points = $(shape-slur offsets) #}) Variables in musicfunctions now are available by there name without the preceding $. The

Re: is shapeSlur broken?

2012-04-27 Thread David Kastrup
Jan-Peter Voigt jp.vo...@gmx.de writes: Hello Urs, yes there was a syntax change: you might try shapeSlur = #(define-music-function (parser location offsets)(list?) #{ \once \override Slur #'control-points = $(shape-slur offsets) #}) I would write #(shape-slur offsets) here:

Re: is shapeSlur broken?

2012-04-27 Thread Urs Liska
Hello Jan-Peter, thank you very much. This seems to solve the problem. Maybe it's not perfectly robust, though. The function now works when the number of lists exactly matches the number of slur fragments. I'm not sure if this has been the case earlier or if it had been a little bit more

Re: is shapeSlur broken?

2012-04-27 Thread Jan-Peter Voigt
Hello David, I would write #(shape-slur offsets) here: there is no need for an immediate Scheme expression here (the point of $ over # is that the syntactical function of the $ expression is determined by its expression type, but here the syntactical function needed is Scheme anyway). thank

Re: is shapeSlur broken?

2012-04-27 Thread David Nalesnik
Hi Urs, On Fri, Apr 27, 2012 at 4:23 AM, Urs Liska li...@ursliska.de wrote: Hello Jan-Peter, thank you very much. This seems to solve the problem. Maybe it's not perfectly robust, though. The function now works when the number of lists exactly matches the number of slur fragments. I'm not

Re: is shapeSlur broken?

2012-04-27 Thread David Nalesnik
Hi Urs, On Fri, Apr 27, 2012 at 6:51 AM, David Nalesnik david.nales...@gmail.comwrote: Hi Urs, I've rewritten shape-slur so that you should be able to use lists of offsets which don't match with the number of slur fragments. I've tested it somewhat, but if you run into a problem, let me

Re: is shapeSlur broken?

2012-04-27 Thread Urs Liska
Hi David, thank you for now. I'll look into it. But isn't it very likely that I have to reshape a slur anyway when it changes from broken to unbroken? In that case I'd even say the errors are a 'feature' so you notice it ... Provided it is documented enough not to drive you crazy ... Best

Re: is shapeSlur broken?

2012-04-27 Thread David Nalesnik
Hi Urs, On Fri, Apr 27, 2012 at 11:46 AM, Urs Liska li...@ursliska.de wrote: Hi David, thank you for now. I'll look into it. But isn't it very likely that I have to reshape a slur anyway when it changes from broken to unbroken? In that case I'd even say the errors are a 'feature' so you

Re: is shapeSlur broken?

2012-04-27 Thread Urs Liska
Am 27.04.2012 19:30, schrieb David Nalesnik: Hi Urs, On Fri, Apr 27, 2012 at 11:46 AM, Urs Liska li...@ursliska.de mailto:li...@ursliska.de wrote: Hi David, thank you for now. I'll look into it. But isn't it very likely that I have to reshape a slur anyway when it changes