Re: Directional NoteHead Stencil Support

2015-03-24 Thread Thomas Morley
2015-03-22 9:04 GMT+01:00 Marc Hohl : > Hi Harm, > > Am 21.03.2015 um 21:02 schrieb Thomas Morley: > [...] >> >> Thanks Marc and David pointing me in the correct direction. >> >> This is issue 3289 >> https://code.google.com/p/lilypond/issues/detail?id=3289 >> >> Curing a regression detected in 2.1

Re: Directional NoteHead Stencil Support

2015-03-24 Thread Thomas Morley
2015-03-24 17:48 GMT+01:00 David Nalesnik : > Harm, > > On Sat, Mar 21, 2015 at 3:14 PM, Thomas Morley > wrote: >> >> >> Hi David, >> >> please consider to add it to our source. >> It's a very useful developing/debugging tool! >> > > Happy to oblige! > > https://code.google.com/p/lilypond/issues/d

Re: Directional NoteHead Stencil Support

2015-03-24 Thread Paul Morris
David Nalesnik-2 wrote > If there's a property which indicates on which side of a stem the note > falls, I don't find it. Seems like there definitely should be one! I don't think there is one. The positioning of note heads to the left or right of their stem appears to be determined in lily/stem

Re: Directional NoteHead Stencil Support

2015-03-24 Thread David Nalesnik
Harm, On Sat, Mar 21, 2015 at 3:14 PM, Thomas Morley wrote: > > > Hi David, > > please consider to add it to our source. > It's a very useful developing/debugging tool! > > Happy to oblige! https://code.google.com/p/lilypond/issues/detail?id=4328 --David

Re: Directional NoteHead Stencil Support

2015-03-22 Thread David Nalesnik
On Sun, Mar 22, 2015 at 3:23 AM, Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com> wrote: > 2015-03-22 9:04 GMT+01:00 Marc Hohl : > > >> Am 21.03.2015 um 21:02 schrieb Thomas Morley: >> [...] >> >>> > > Color me annoyed and frustrated. >>> Right now I have no interest in fixing the abov

Re: Directional NoteHead Stencil Support

2015-03-22 Thread David Nalesnik
Hi Harm, On Sat, Mar 21, 2015 at 3:14 PM, Thomas Morley wrote: > 2015-03-21 17:24 GMT+01:00 David Nalesnik : > > > > > > On Fri, Mar 20, 2015 at 1:52 PM, David Nalesnik < > david.nales...@gmail.com> > > wrote: > >> > >> > >> Probably this file will prove more useful as a hacking tool. It will >

Re: Directional NoteHead Stencil Support

2015-03-22 Thread Pierre Perol-Schneider
Hi Marc, 2015-03-22 9:04 GMT+01:00 Marc Hohl : > Am 21.03.2015 um 21:02 schrieb Thomas Morley: > [...] > >> Color me annoyed and frustrated. >> Right now I have no interest in fixing the above. >> I'll let that to someone else, maybe the committer. >> > > [...] > Please keep up your valuable w

Re: Directional NoteHead Stencil Support

2015-03-22 Thread Pierre Perol-Schneider
2015-03-22 5:11 GMT+01:00 tisimst : > David, > > Yes!!! Yes! Yes! Yes! Yes! Yes! > > Seriously, that totally made my day. You are my hero. Scheme is not my > native language ;-), but I am learning slowly. I did determine the need for > that check, but was unsure how to do it. I think I have everyt

Re: Directional NoteHead Stencil Support

2015-03-22 Thread Marc Hohl
Hi Harm, Am 21.03.2015 um 21:02 schrieb Thomas Morley: [...] Thanks Marc and David pointing me in the correct direction. This is issue 3289 https://code.google.com/p/lilypond/issues/detail?id=3289 Curing a regression detected in 2.17. which was introduced during 2.15. Though, I have never see

Re: Directional NoteHead Stencil Support

2015-03-22 Thread Marc Hohl
Am 21.03.2015 um 14:37 schrieb David Nalesnik: [...] P.S. Just this moment, Marc Hohl posted the commit message I was ready to cut-and-paste! FWIW, I'll mention how I found it (though my bag of tricks is pretty small). I used git log -p lily/rhythmic-column-engraver.cc I just used gitk li

Re: Directional NoteHead Stencil Support

2015-03-21 Thread tisimst
David, Yes!!! Yes! Yes! Yes! Yes! Yes! Seriously, that totally made my day. You are my hero. Scheme is not my native language ;-), but I am learning slowly. I did determine the need for that check, but was unsure how to do it. I think I have everything I need to make this sweet font work beaut

Re: Directional NoteHead Stencil Support

2015-03-21 Thread David Nalesnik
On Sat, Mar 21, 2015 at 10:06 PM, David Nalesnik wrote: > Hi Abraham, > > On Sat, Mar 21, 2015 at 9:13 PM, tisimst > wrote: > >> David, >> >> [...] > This works perfectly when there are NO rests, but I get this error when >> there is a rest in the NoteColumn: >> >> In procedure ly:grob-array->

Re: Directional NoteHead Stencil Support

2015-03-21 Thread David Nalesnik
Hi Abraham, On Sat, Mar 21, 2015 at 9:13 PM, tisimst wrote: > David, > > You are a genius! I've almost got it, but I'm not sure how to handle > rests. Here's my current function: > > #(define (flipnotes grob) >(let ((notes (ly:grob-array->list (ly:grob-object grob 'note-heads > (for

Re: Directional NoteHead Stencil Support

2015-03-21 Thread tisimst
David, You are a genius! I've almost got it, but I'm not sure how to handle rests. Here's my current function: > #(define (flipnotes grob) >(let ((notes (ly:grob-array->list (ly:grob-object grob > 'note-heads > (for-each >(lambda (note) > (let* ((pitch (ly:event-pr

Re: Directional NoteHead Stencil Support

2015-03-21 Thread David Nalesnik
Hi, On Sat, Mar 21, 2015 at 4:32 PM, tisimst wrote: > You and me both, Pierre. I've tried for hours to find something that works > automatically. I've managed to use a single notehead for both up- and > down-stem notes, thanks to everyone's help here, but I still have one > problem relating to c

Re: Directional NoteHead Stencil Support

2015-03-21 Thread tisimst
You and me both, Pierre. I've tried for hours to find something that works automatically. I've managed to use a single notehead for both up- and down-stem notes, thanks to everyone's help here, but I still have one problem relating to chords. If a notehead, in a chord stack, is forced out of t

Re: Directional NoteHead Stencil Support

2015-03-21 Thread Pierre Perol-Schneider
Very instructive discussion. So I feel sorry to come back to some poor basic questions... And back again to these new glyphs : \version "2.19.16" %#(set-global-staff-size 25) #(define-markup-command (flip layout props arg) (markup?) (interpret-markup layout props (markup #:concat (#:null

Re: Directional NoteHead Stencil Support

2015-03-21 Thread Thomas Morley
2015-03-21 17:24 GMT+01:00 David Nalesnik : > > > On Fri, Mar 20, 2015 at 1:52 PM, David Nalesnik > wrote: >> >> >> Probably this file will prove more useful as a hacking tool. It will show >> you how the different pointer properties are populated. >> > > This is better written: > > --David > Hi

Re: Directional NoteHead Stencil Support

2015-03-21 Thread Thomas Morley
2015-03-21 14:32 GMT+01:00 Marc Hohl : > Am 21.03.2015 um 00:40 schrieb Thomas Morley: > >> 2015-03-21 0:09 GMT+01:00 Thomas Morley : >> >>> >>> The 'arpeggio-property was deleted somewhere during 2.17. and I never >>> managed to get back the info whether a NoteColumn has an arpeggio, >> >> >> Btw,

Re: Directional NoteHead Stencil Support

2015-03-21 Thread David Nalesnik
On Fri, Mar 20, 2015 at 1:52 PM, David Nalesnik wrote: > > > Probably this file will prove more useful as a hacking tool. It will show > you how the different pointer properties are populated. > > This is better written: --David \version "2.19.16" #(define (grob-interface::info iface) (hashq

Re: Directional NoteHead Stencil Support

2015-03-21 Thread David Nalesnik
On Sat, Mar 21, 2015 at 10:26 AM, David Nalesnik wrote: > Hi Harm, > > On Sat, Mar 21, 2015 at 8:37 AM, David Nalesnik > wrote: > >> Hi Harm, >> >> On Fri, Mar 20, 2015 at 6:09 PM, Thomas Morley >> wrote: >> >>> 2015-03-20 18:03 GMT+01:00 David Nalesnik : >>> >> >>> Btw, the IR stating: >>> >>>

Re: Directional NoteHead Stencil Support

2015-03-21 Thread David Nalesnik
Hi Harm, On Sat, Mar 21, 2015 at 8:37 AM, David Nalesnik wrote: > Hi Harm, > > On Fri, Mar 20, 2015 at 6:09 PM, Thomas Morley > wrote: > >> 2015-03-20 18:03 GMT+01:00 David Nalesnik : >> > >> Btw, the IR stating: >> >> conditional-elements (array of grobs) >> Internal use only. >> >> is a j

Re: Directional NoteHead Stencil Support

2015-03-21 Thread David Nalesnik
Hi Harm, On Fri, Mar 20, 2015 at 6:09 PM, Thomas Morley wrote: > 2015-03-20 18:03 GMT+01:00 David Nalesnik : > > > > Hi again, > > > > On Fri, Mar 20, 2015 at 9:21 AM, David Nalesnik < > david.nales...@gmail.com> wrote: > >> > >> > >> > >> Finding the path from one object to another is usually j

Re: Directional NoteHead Stencil Support

2015-03-21 Thread Marc Hohl
Am 21.03.2015 um 00:40 schrieb Thomas Morley: 2015-03-21 0:09 GMT+01:00 Thomas Morley : The 'arpeggio-property was deleted somewhere during 2.17. and I never managed to get back the info whether a NoteColumn has an arpeggio, Btw, I tried again to find the commit on the tracker which removed

Re: Directional NoteHead Stencil Support

2015-03-20 Thread Thomas Morley
2015-03-21 0:09 GMT+01:00 Thomas Morley : > > The 'arpeggio-property was deleted somewhere during 2.17. and I never > managed to get back the info whether a NoteColumn has an arpeggio, Btw, I tried again to find the commit on the tracker which removed the 'arpeggio-property (and probably the reas

Re: Directional NoteHead Stencil Support

2015-03-20 Thread Thomas Morley
2015-03-20 18:03 GMT+01:00 David Nalesnik : > > Hi again, > > On Fri, Mar 20, 2015 at 9:21 AM, David Nalesnik > wrote: >> >> >> >> Finding the path from one object to another is usually just a matter of >> trial-and-error, following this path, following that path, until you reach >> the pot of

Re: Directional NoteHead Stencil Support

2015-03-20 Thread tisimst
David, Paul, and Pierre, It will take me a short while to digest what you have shared with me, but thank you for sharing your knowledge concerning this matter. I'll contact you again if I do or don't figure out how to do what I need. Regards, Abraham On Fri, Mar 20, 2015 at 1:06 PM, Schneidy [

Re: Directional NoteHead Stencil Support

2015-03-20 Thread Pierre Perol-Schneider
Dear Paul, Dear David, Thank you very much for your kind help. Lots of info! I'll study you links and codes during the WE. Cheers, Pierre 2015-03-20 19:52 GMT+01:00 David Nalesnik : > > > On Fri, Mar 20, 2015 at 12:12 PM, David Nalesnik > wrote: > >> >> >> On Fri, Mar 20, 2015 at 12:03 PM, Dav

Re: Directional NoteHead Stencil Support

2015-03-20 Thread David Nalesnik
On Fri, Mar 20, 2015 at 12:12 PM, David Nalesnik wrote: > > > On Fri, Mar 20, 2015 at 12:03 PM, David Nalesnik > wrote: > >> Hi again, >> >> On Fri, Mar 20, 2015 at 9:21 AM, David Nalesnik > > wrote: >> >>> >>> >>> Finding the path from one object to another is usually just a matter of >>> trial

Re: Directional NoteHead Stencil Support

2015-03-20 Thread David Nalesnik
On Fri, Mar 20, 2015 at 12:03 PM, David Nalesnik wrote: > Hi again, > > On Fri, Mar 20, 2015 at 9:21 AM, David Nalesnik > wrote: > >> >> >> Finding the path from one object to another is usually just a matter of >> trial-and-error, following this path, following that path, until you reach >> the

Re: Directional NoteHead Stencil Support

2015-03-20 Thread David Nalesnik
Hi again, On Fri, Mar 20, 2015 at 9:21 AM, David Nalesnik wrote: > > > Finding the path from one object to another is usually just a matter of > trial-and-error, following this path, following that path, until you reach > the pot of gold. > > You might find the attached file helpful. Given a gr

Re: Directional NoteHead Stencil Support

2015-03-20 Thread David Nalesnik
Hi, On Fri, Mar 20, 2015 at 7:14 AM, Paul Morris wrote: > There's a snippet in the lsr for accessing grobs "laterally" from another > grob's callback: > http://lsr.di.unimi.it/LSR/Item?id=621 > > ...like accessing the stem grob from a note head grob. There's also one > on showing "grob ancestry

Re: Directional NoteHead Stencil Support

2015-03-20 Thread Paul Morris
There's a snippet in the lsr for accessing grobs "laterally" from another grob's callback: http://lsr.di.unimi.it/LSR/Item?id=621 ...like accessing the stem grob from a note head grob.  There's also one on showing "grob ancestry" that's helpful for this kind of thing. HTH,  -Paul __

Re: Directional NoteHead Stencil Support

2015-03-20 Thread Pierre Perol-Schneider
Hi Abraham, Hi All, Yes Marc, the stem direction property is definitly the one, but I think his question is "how to?". For instance I've come to this, which does not seem to work properly : \version "2.19.16" #(set-global-staff-size 25) stil = \markup { \override #'(filled . #t) \path #0.01

Re: Directional NoteHead Stencil Support

2015-03-20 Thread Marc Hohl
Am 19.03.2015 um 19:56 schrieb Abraham Lee: [...] When I get the 'stem-attachment property of the notehead, it always gives me the top-right value, regardless of where the stem is actually attached. I'm hoping this will work for chords, too, though I haven't experimented enough to know for sure.

Re: Directional NoteHead Stencil Support

2015-03-19 Thread Urs Liska
eNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> View this message in context: Re: Directional No

Re: Directional NoteHead Stencil Support

2015-03-19 Thread tisimst
I definitely could, but, like I said, the rotation part isn't what I can't do. I need to be able to know _when_ they are needed and when they aren't. I can't figure out how to do that. Good thought, though. - Abraham On Thu, Mar 19, 2015 at 1:58 PM, Urs Liska [via Lilypond] < ml-node+s1069038n173

Re: Directional NoteHead Stencil Support

2015-03-19 Thread Urs Liska
Just a very uneducated guess: couldn't you make rotated copies in the font itself? Am 19. März 2015 19:56:16 MEZ, schrieb Abraham Lee : >I've been collaborating with an Italian design student that created >numerous music fonts for a school project, but they aren't actually >used in >any notation