Re: Getting back the dynamically coloured freboard dots on L2.20

2020-11-04 Thread Viktor Mastoridis
Dear Harm, Carl et al., Most of what you discussed went over my head, and I have no idea how patches work:-) I understood and tried the hack from Harm: \override FretBoards.FretBoard.before-line-breaking = #(lambda (grob) (ly:grob-set-nested-property! grob '(fret-diagram-details

Re: Getting back the dynamically coloured freboard dots on L2.20

2020-11-04 Thread Thomas Morley
Am Mi., 4. Nov. 2020 um 01:20 Uhr schrieb Thomas Morley : > > Am Di., 3. Nov. 2020 um 23:36 Uhr schrieb Carl Sorensen > : > > > > > > > > On Tue, Nov 3, 2020 at 3:18 PM Thomas Morley > > wrote: > >> > >> > >> > >> Well, so it's my own patch... > >> The patch introduces many nice features, among

Re: Getting back the dynamically coloured freboard dots on L2.20

2020-11-03 Thread Jean Abou Samra
I can access the value of the first override from inside `make-fret-diagram` , ok. The second override does not work and I currently don't know why not. I can access the value of this override from inside make-fret-diagram as well. Though, it's the procedure not it's return value. Cheers, Har

Re: Getting back the dynamically coloured freboard dots on L2.20

2020-11-03 Thread Thomas Morley
Am Di., 3. Nov. 2020 um 23:36 Uhr schrieb Carl Sorensen : > > > > On Tue, Nov 3, 2020 at 3:18 PM Thomas Morley wrote: >> >> >> >> Well, so it's my own patch... >> The patch introduces many nice features, among them coloring dots. >> Alas, one cannot access the grob-color (if it is the return-valu

Re: Getting back the dynamically coloured freboard dots on L2.20

2020-11-03 Thread Carl Sorensen
On Tue, Nov 3, 2020 at 3:18 PM Thomas Morley wrote: > > > Well, so it's my own patch... > The patch introduces many nice features, among them coloring dots. > Alas, one cannot access the grob-color (if it is the return-value of a > procedure) in a reasonable way to use it as a fallback if dot-co

Re: Getting back the dynamically coloured freboard dots on L2.20

2020-11-03 Thread Thomas Morley
Am Di., 3. Nov. 2020 um 22:45 Uhr schrieb Viktor Mastoridis : >> >> >> A minimal would look like: >> \new FretBoards { \override FretBoard.color = #red a } >> Changing dot-color in 2.18. but not with 2.20. >> >> Investigating... >> >> Cheers, >> Harm > > > Agreed. > I'm sorry. > It's the first

Re: Getting back the dynamically coloured freboard dots on L2.20

2020-11-03 Thread Viktor Mastoridis
> > > A minimal would look like: > \new FretBoards { \override FretBoard.color = #red a } > Changing dot-color in 2.18. but not with 2.20. > > Investigating... > > Cheers, > Harm > Agreed. I'm sorry. It's the first time I'm posting on this kind/level of forum.

Re: Getting back the dynamically coloured freboard dots on L2.20

2020-11-03 Thread David Wright
On Tue 03 Nov 2020 at 19:54:32 (+), Viktor Mastoridis wrote: […] > %This command changes the colour of the fretboard (and used to change the > dots in 2.18) > \override FretBoard #'color = #color-notehead > \chordNamfb.com/viktor.master.uk es > } > >> > } > %end of code > > > --- > Viktor🎼

Re: Getting back the dynamically coloured freboard dots on L2.20

2020-11-03 Thread Thomas Morley
Am Di., 3. Nov. 2020 um 20:56 Uhr schrieb Viktor Mastoridis < viktor.mastori...@gmail.com>: > Hello, I need help with a rather obscure problem. But important to me as > an educator. > I tried a few places and everybody pointed here. > > In Lilypond 2.18 and before, using the colouring scheme from