RE: Can you determine why a grob is being typeset in scheme?

2015-04-21 Thread Steven Weber
You guys are awesome! Took me a little bit to piece everything together, but here's what I wound up with. It's almost exactly what I want - I still need to figure out how to highlight clef changes in the first bar without highlighting the initial clef indicator, and how to deal with clef

Re: Can you determine why a grob is being typeset in scheme?

2015-04-20 Thread Paul Morris
On Apr 20, 2015, at 4:40 PM, Steven Weber pant...@hotmail.com wrote: Is there a way in scheme to say “is this grob being typeset because of an explicit command (\clef bass), or implicitly (because of a line break)”? Hmmm… maybe try this clef-interface property (I haven’t tried it yet):

Re: Can you determine why a grob is being typeset in scheme?

2015-04-20 Thread David Nalesnik
Hi Steven, On Mon, Apr 20, 2015 at 3:40 PM, Steven Weber pant...@hotmail.com wrote: Since I always highlight clef changes in my music and I have access to a color printer, I thought it’d be more efficient to let Lilypond do the highlighting for me. I wrote a handy function that places a

Re: Can you determine why a grob is being typeset in scheme?

2015-04-20 Thread David Nalesnik
On Mon, Apr 20, 2015 at 3:40 PM, Steven Weber pant...@hotmail.com wrote: Is there a way in scheme to say “is this grob being typeset because of an explicit command (\clef bass), or implicitly (because of a line break)”? To highlight based on an explicit command you will need to analyze

Re: Can you determine why a grob is being typeset in scheme?

2015-04-20 Thread Thomas Morley
2015-04-21 0:21 GMT+02:00 Thomas Morley thomasmorle...@gmail.com: 2015-04-20 23:45 GMT+02:00 David Nalesnik david.nales...@gmail.com: Hi Steven, On Mon, Apr 20, 2015 at 3:40 PM, Steven Weber pant...@hotmail.com wrote: Since I always highlight clef changes in my music and I have access to a

Re: Can you determine why a grob is being typeset in scheme?

2015-04-20 Thread Thomas Morley
2015-04-20 23:45 GMT+02:00 David Nalesnik david.nales...@gmail.com: Hi Steven, On Mon, Apr 20, 2015 at 3:40 PM, Steven Weber pant...@hotmail.com wrote: Since I always highlight clef changes in my music and I have access to a color printer, I thought it’d be more efficient to let Lilypond do

Re: Can you determine why a grob is being typeset in scheme?

2015-04-20 Thread David Nalesnik
On Mon, Apr 20, 2015 at 4:55 PM, David Nalesnik david.nales...@gmail.com wrote: On Mon, Apr 20, 2015 at 3:40 PM, Steven Weber pant...@hotmail.com wrote: Is there a way in scheme to say “is this grob being typeset because of an explicit command (\clef bass), or implicitly (because of a

Can you determine why a grob is being typeset in scheme?

2015-04-20 Thread Steven Weber
Since I always highlight clef changes in my music and I have access to a color printer, I thought it'd be more efficient to let Lilypond do the highlighting for me. I wrote a handy function that places a filled-box behind the clef grob, and it works great, as long as I add it manually for every