Re: Color tweaks (edition engraver)

2015-05-05 Thread David Nalesnik
Hi Kieren, On Tue, May 5, 2015 at 8:57 AM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > > And it works with that editionEngraver example. > > It definitely works with a minimal EE example… Nice work! > > However, I added it to my current (definitely non-minimal!) score

Re: Color tweaks (edition engraver)

2015-05-05 Thread Kieren MacMillan
Hi David, > And it works with that editionEngraver example. It definitely works with a minimal EE example… Nice work! However, I added it to my current (definitely non-minimal!) score, and it fails with: In procedure ly:music-property in expression (ly:music-property (ly:event-property caus

Re: Color tweaks (edition engraver)

2015-05-05 Thread David Nalesnik
On Mon, May 4, 2015 at 10:04 PM, David Nalesnik wrote: > Hi Kieren, > > On Sat, May 2, 2015 at 6:29 PM, Kieren MacMillan < > kieren_macmil...@sympatico.ca> wrote: > >> Hi David, >> >> > > Out of curiosity, do you get results with color-tweaks2.ly (attached >> somewhere above)? >> > Same thing: th

Re: Color tweaks (edition engraver)

2015-05-04 Thread David Nalesnik
Hi Kieren, On Sat, May 2, 2015 at 6:29 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > > > Out of curiosity, do you get results with color-tweaks2.ly (attached > somewhere above)? > > Same thing: the EE-added tweak gets executed, but doesn’t appear in the > log output

Re: Color tweaks (edition engraver)

2015-05-02 Thread Kieren MacMillan
Hi David, > > Out of curiosity, do you get results with color-tweaks2.ly (attached > > somewhere above)? > Same thing: the EE-added tweak gets executed, but doesn’t appear in the log > output. > So it doesn't get colored? Sorry… let me be more clear. I \include-d the edition-engraver, and compi

Re: Color tweaks (edition engraver)

2015-05-02 Thread David Nalesnik
On Sat, May 2, 2015 at 6:08 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > > Out of curiosity, do you get results with color-tweaks2.ly (attached > somewhere above)? > > Same thing: the EE-added tweak gets executed, but doesn’t appear in the > log output. > So it do

Re: Color tweaks (edition engraver)

2015-05-02 Thread Kieren MacMillan
Hi David, > Out of curiosity, do you get results with color-tweaks2.ly (attached > somewhere above)? Same thing: the EE-added tweak gets executed, but doesn’t appear in the log output. Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ em

Re: Color tweaks (edition engraver)

2015-05-02 Thread David Nalesnik
Kieren, On Fri, May 1, 2015 at 3:28 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > This looks pretty amazing so far — thanks for the great work! > > When I try to apply it to a score with edition-engraver tweaks, it doesn’t > seem to colour anything tweaked using the

Re: Color tweaks (edition engraver)

2015-05-02 Thread David Nalesnik
On Sat, May 2, 2015 at 3:56 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > > Aha. So in the console do you see something like > > No… =) > > (make-music > 'SequentialMusic > 'elements > (list (make-music > 'NoteEvent > 'pitch > (

Re: Color tweaks (edition engraver)

2015-05-02 Thread Kieren MacMillan
Hi David, > Aha. So in the console do you see something like No… =) (make-music 'SequentialMusic 'elements (list (make-music 'NoteEvent 'pitch (ly:make-pitch 1 0) 'duration (ly:make-duration 2 That’s it. Kieren. ___

Re: Color tweaks (edition engraver)

2015-05-02 Thread Thomas Morley
2015-05-02 18:53 GMT+02:00 David Nalesnik : > Hi Harm, > > On Sat, May 2, 2015 at 11:45 AM, Thomas Morley > wrote: >> >> 2015-05-02 17:20 GMT+02:00 David Nalesnik : >> >> > [...] >> > OK! Though I am disappointed you don't have a magical way to put scores >> > in >> > variables :) >> > [...] >>

Re: Color tweaks (edition engraver)

2015-05-02 Thread David Nalesnik
Hi Harm, On Sat, May 2, 2015 at 11:45 AM, Thomas Morley wrote: > 2015-05-02 17:20 GMT+02:00 David Nalesnik : > > > [...] > > OK! Though I am disappointed you don't have a magical way to put scores > in > > variables :) > > [...] > > > > David > > > start snippet > > \version "2.19.18" > >

Re: Color tweaks (edition engraver)

2015-05-02 Thread Thomas Morley
2015-05-02 17:20 GMT+02:00 David Nalesnik : > [...] > OK! Though I am disappointed you don't have a magical way to put scores in > variables :) > [...] > > David start snippet \version "2.19.18" m = \new Staff { c''1 } mL = \layout { \context { \Score \override NoteHe

Re: Color tweaks (edition engraver)

2015-05-02 Thread David Nalesnik
On Fri, May 1, 2015 at 6:02 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > > Would you mind trying an extremely small score with the > edition-engraver, something like (however you would set it up) > > > > \displayMusic > > { > > \override NoteHead.font-size = 2 > >

Re: Color tweaks (edition engraver)

2015-05-02 Thread David Nalesnik
On Sat, May 2, 2015 at 10:20 AM, David Nalesnik wrote: > > > On Sat, May 2, 2015 at 9:38 AM, Kieren MacMillan < > kieren_macmil...@sympatico.ca> wrote: > >> Hi David, >> >> > Could you clarify how you are defining \theScore here? >> >> Sorry… that was pseudocode. My actual [minimized] score code

Re: Color tweaks (edition engraver)

2015-05-02 Thread David Nalesnik
On Sat, May 2, 2015 at 10:20 AM, David Nalesnik wrote: > > the function \colorOverride[1] > > Forgot the footnote. [1} This really ought to be named \colorTweaks instead. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailm

Re: Color tweaks (edition engraver)

2015-05-02 Thread David Nalesnik
On Sat, May 2, 2015 at 9:38 AM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > > Could you clarify how you are defining \theScore here? > > Sorry… that was pseudocode. My actual [minimized] score code was: > > \score { > \colorOverride << > \new Staff \someMusic >

Re: Color tweaks (edition engraver)

2015-05-02 Thread Kieren MacMillan
Hi David, > Could you clarify how you are defining \theScore here? Sorry… that was pseudocode. My actual [minimized] score code was: \score { \colorOverride << \new Staff \someMusic …. >> } I’m not sure about others (Jan-Peter?), but for the edition-engraver, I would like to do som

Re: Color tweaks (edition engraver)

2015-05-02 Thread David Nalesnik
On Fri, May 1, 2015 at 3:28 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > This looks pretty amazing so far — thanks for the great work! > > When I try to apply it to a score with edition-engraver tweaks, it doesn’t > seem to colour anything tweaked using the EE. > It

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
Hi Jim, On Mon, Apr 27, 2015 at 3:55 PM, Jim Long wrote: > On Mon, Apr 27, 2015 at 04:44:52PM +0200, Urs Liska wrote: > > > > What we have in Frescobaldi depends on what we can "catch" by either > > listening through engravers or by redefining command. So far I haven't > > found a notion of a gr

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
On Fri, May 1, 2015 at 6:21 PM, David Nalesnik wrote: > Hi Kieren, > > > I suppose the way to get at context modifications is through > \applyContext. > > Nope. Well, there's \applyOutput, which works a single time-step at a time. Since all modifications are tracked by the edition-engraver, I d

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
Hi Kieren, On Fri, May 1, 2015 at 6:02 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > > Would you mind trying an extremely small score with the > edition-engraver, something like (however you would set it up) > > > > \displayMusic > > { > > \override NoteHead.font-

Re: Color tweaks (edition engraver)

2015-05-01 Thread Kieren MacMillan
Hi David, > Would you mind trying an extremely small score with the edition-engraver, > something like (however you would set it up) > > \displayMusic > { > \override NoteHead.font-size = 2 > c’’ > } I used \version "2.19" \include "openlilylib-master/editorial-tools/edition-engraver/defin

Re: Color tweaks (edition engraver)

2015-05-01 Thread Thomas Morley
2015-05-01 23:54 GMT+02:00 David Nalesnik : > It's Friday... TGIF ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
On Fri, May 1, 2015 at 3:49 PM, David Nalesnik wrote: > Hi Kieren and all, > > On Fri, May 1, 2015 at 3:28 PM, Kieren MacMillan < > kieren_macmil...@sympatico.ca> wrote: > >> Hi David, >> >> This looks pretty amazing so far — thanks for the great work! >> >> When I try to apply it to a score with

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
On Fri, May 1, 2015 at 3:49 PM, David Nalesnik wrote: > > > In other news: > > **Attached please find a version that handles tweaks and overrides. It > will also deal with \temporary, too.** > Drat...wrong file! > \version "2.19" override-color = #red tweak-color = #blue %tweak-color = #ove

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
Hi Kieren and all, On Fri, May 1, 2015 at 3:28 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > This looks pretty amazing so far — thanks for the great work! > > When I try to apply it to a score with edition-engraver tweaks, it doesn’t > seem to colour anything tweake

Re: Color tweaks (edition engraver)

2015-05-01 Thread Kieren MacMillan
Hi David, This looks pretty amazing so far — thanks for the great work! When I try to apply it to a score with edition-engraver tweaks, it doesn’t seem to colour anything tweaked using the EE. It does seem to colour things tweaked otherwise (e.g., in the “content”). Maybe I’m doing something wr

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
On Fri, May 1, 2015 at 11:15 AM, David Nalesnik wrote: > > > On Fri, May 1, 2015 at 10:56 AM, David Nalesnik > wrote: >> >> >> The code below will work much better. >> >> > Drat. Somehow we need to get the context name into the override. > Otherwise > > > \override Staff.Clef.extra-offset

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
On Fri, May 1, 2015 at 10:56 AM, David Nalesnik wrote: > > > The code below will work much better. > > Drat. Somehow we need to get the context name into the override. Otherwise \override Staff.Clef.extra-offset = #'(0 . 5) \clef alto will lose its extra-offset and not be marked i

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
Hi, On Tue, Apr 28, 2015 at 10:29 AM, David Nalesnik wrote: > > > On Mon, Apr 27, 2015 at 6:13 PM, David Nalesnik > wrote: > >> Hi Joram, >> >> On Mon, Apr 27, 2015 at 5:30 PM, Noeck wrote: >> > > >> >> > >>> > There is something which has to be fixed, though. All clefs get >>> colored, >>> >

Re: Color tweaks (edition engraver)

2015-04-28 Thread David Nalesnik
On Mon, Apr 27, 2015 at 6:13 PM, David Nalesnik wrote: > Hi Joram, > > On Mon, Apr 27, 2015 at 5:30 PM, Noeck wrote: > > > >> > There is something which has to be fixed, though. All clefs get >> colored, >> >> Can this be avoided (even at the cost of not coloring them even if >> tweaked)? >>

Re: Color tweaks (edition engraver)

2015-04-27 Thread David Nalesnik
Hi Joram, On Mon, Apr 27, 2015 at 5:30 PM, Noeck wrote: > Hi David, > > thank you very much! This is great. It is by far enough for my purposes. > For an automatic option like in Frescobaldi it has some issues still – > as you describe. > > > There is something which has to be fixed, though. Al

Re: Color tweaks (edition engraver)

2015-04-27 Thread Noeck
Hi David, thank you very much! This is great. It is by far enough for my purposes. For an automatic option like in Frescobaldi it has some issues still – as you describe. > There is something which has to be fixed, though. All clefs get colored, Can this be avoided (even at the cost of not colo

Re: Color tweaks (edition engraver)

2015-04-27 Thread David Nalesnik
Hi Urs, On Mon, Apr 27, 2015 at 4:57 PM, Urs Liska wrote: > Hey David, > > this is terrific. Nice that something I've done comes back to me this way > ... > > When I'll have the time I'll look into integrating this into Frescobaldi's > Layout Control Options. > > Thanks! There is something whi

Re: Color tweaks (edition engraver)

2015-04-27 Thread Urs Liska
Hey David, this is terrific. Nice that something I've done comes back to me this way ... When I'll have the time I'll look into integrating this into Frescobaldi's Layout Control Options. Urs Am 27.04.2015 um 23:14 schrieb David Nalesnik: On Mon, Apr 27, 2015 at 12:16 PM, David Nalesnik

Re: Color tweaks (edition engraver)

2015-04-27 Thread David Nalesnik
On Mon, Apr 27, 2015 at 12:16 PM, David Nalesnik wrote: > > > On Mon, Apr 27, 2015 at 12:12 PM, David Nalesnik > wrote: > > Here's a code snippet to show that it is possible to tell if a grob has >> been altered. Right now you have to add the procedure for each grob you >> want to examine. >> >

Re: Color tweaks (edition engraver)

2015-04-27 Thread Jim Long
On Mon, Apr 27, 2015 at 04:44:52PM +0200, Urs Liska wrote: > > What we have in Frescobaldi depends on what we can "catch" by either > listening through engravers or by redefining command. So far I haven't > found a notion of a grob knowing if it has been tweaked or not. As a Scheme/Lilypond nov

Re: Color tweaks (edition engraver)

2015-04-27 Thread David Nalesnik
On Mon, Apr 27, 2015 at 12:12 PM, David Nalesnik wrote: Here's a code snippet to show that it is possible to tell if a grob has > been altered. Right now you have to add the procedure for each grob you > want to examine. > > Oh, I should mention that overrides have been colored green and tweaks

Re: Color tweaks (edition engraver)

2015-04-27 Thread David Nalesnik
Hi, On Mon, Apr 27, 2015 at 9:44 AM, Urs Liska wrote: > > > Am 27.04.2015 um 16:27 schrieb Noeck: > >> Dear all, dear Urs, >> >> I would like to color tweaks of a particular edition of the edition >> engraver. I know that there is a checkbox in Frescobaldi to color, so it >> seems possible to co

Re: Color tweaks (edition engraver)

2015-04-27 Thread Jan-Peter Voigt
Hi Joram, hi Urs, I shall add this to my todo list. Hope to be able to work on it. Cheers, Jan-Peter Am 27. April 2015 17:51:31 MESZ, schrieb Noeck : >Hi Urs, > >thanks. I hoped it was easier. But then I will just color them by hand. > >Cheers, >Joram > >___

Re: Color tweaks (edition engraver)

2015-04-27 Thread Noeck
Hi Urs, thanks. I hoped it was easier. But then I will just color them by hand. Cheers, Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Color tweaks (edition engraver)

2015-04-27 Thread Urs Liska
Am 27.04.2015 um 16:27 schrieb Noeck: Dear all, dear Urs, I would like to color tweaks of a particular edition of the edition engraver. I know that there is a checkbox in Frescobaldi to color, so it seems possible to color tweaked grobs in general. No, I don't think this is possible, althoug

Color tweaks (edition engraver)

2015-04-27 Thread Noeck
Dear all, dear Urs, I would like to color tweaks of a particular edition of the edition engraver. I know that there is a checkbox in Frescobaldi to color, so it seems possible to color tweaked grobs in general. What I would like is to specify a color (of my choice) for each of the editions I defi