Re: New "make-path-stencil" function

2013-10-31 Thread Paul Morris
ond.1069038.n5.nabble.com/New-make-path-stencil-function-tp153077p153182.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: New "make-path-stencil" function

2013-10-31 Thread Carl Sorensen
On 10/31/13 8:36 PM, "Paul Morris" wrote: >On Oct 28, 2013, at 11:51 PM, Carl Sorensen wrote: > >> I haven't tried to rewrite your code, but when I first learned Scheme I >> was told that anytime you saw lots of set! expressions in the code, you >> were trying to write procedural code (I.e. c)

Re: New "make-path-stencil" function

2013-10-31 Thread Paul Morris
On Oct 28, 2013, at 11:51 PM, Carl Sorensen wrote: > I haven't tried to rewrite your code, but when I first learned Scheme I > was told that anytime you saw lots of set! expressions in the code, you > were trying to write procedural code (I.e. c) instead of functional code > (Scheme). Your code

Re: New "make-path-stencil" function

2013-10-29 Thread Paul Morris
trying to write procedural code (I.e. c) instead of functional code > (Scheme). Your code seems to have lots of set! expressions; it may be > possible to rewrite it in a more functional manner. That's a helpful tip, thanks! > Anyway, this is a nice contribution! Thanks again,

Re: New "make-path-stencil" function

2013-10-29 Thread Paul Morris
erneyhough hairpins where you need a single stencil that includes two unconnected paths, neither of which end up being located at, or rather passing through (0 0). -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/New-make-path-stencil-function-tp153077p153108.

Re: New "make-path-stencil" function

2013-10-29 Thread David Nalesnik
On Tue, Oct 29, 2013 at 1:48 AM, David Kastrup wrote: > > In the process of working on adding niente circles to Ferneyhough > hairpins > > (Issue 3357), I noticed that these hairpins don't work with line breaks. > > (They are simply duplicated.) The routine which draws them uses > > make-conne

Re: New "make-path-stencil" function

2013-10-28 Thread David Kastrup
David Nalesnik writes: > Hi Paul, > > > On Mon, Oct 28, 2013 at 8:26 PM, Paul Morris wrote: > > [...] > > >> >> Eventually I could see a version of this making its way into LilyPond >> (either alongside or as a replacement of "make-connected-path-stencil"). >> > > Thank you for posting this! > >

Re: New "make-path-stencil" function

2013-10-28 Thread Carl Sorensen
On 10/28/13 7:26 PM, "Paul Morris" wrote: >Hi all, > >While working on a snippet for the "make-connected-path-stencil" >function[1] I got to thinking about whether it would be possible to write >a function that would have all of its benefits but none of its >limitations. A function that woul

Re: New "make-path-stencil" function

2013-10-28 Thread David Nalesnik
Hi Paul, On Mon, Oct 28, 2013 at 8:26 PM, Paul Morris wrote: [...] > > Eventually I could see a version of this making its way into LilyPond > (either alongside or as a replacement of "make-connected-path-stencil"). > Thank you for posting this! In the process of working on adding niente ci

New "make-path-stencil" function

2013-10-28 Thread Paul Morris
Hi all, While working on a snippet for the "make-connected-path-stencil" function[1] I got to thinking about whether it would be possible to write a function that would have all of its benefits but none of its limitations. A function that would combine the benefits of make-connected-path-ste