Re: Color tweaks (edition engraver)

2015-05-05 Thread David Nalesnik
On Mon, May 4, 2015 at 10:04 PM, David Nalesnik david.nales...@gmail.com 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

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

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, and it

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. So it

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 does

Re: Color tweaks (edition engraver)

2015-05-02 Thread David Nalesnik
On Sat, May 2, 2015 at 10:20 AM, David Nalesnik david.nales...@gmail.com 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]

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

Re: Color tweaks (edition engraver)

2015-05-02 Thread David Nalesnik
On Sat, May 2, 2015 at 10:20 AM, David Nalesnik david.nales...@gmail.com 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

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 Thomas Morley
2015-05-02 17:20 GMT+02:00 David Nalesnik david.nales...@gmail.com: [...] 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

Re: Color tweaks (edition engraver)

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

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 c’’ } I

Re: Color tweaks (edition engraver)

2015-05-02 Thread Thomas Morley
2015-05-02 18:53 GMT+02:00 David Nalesnik david.nales...@gmail.com: Hi Harm, On Sat, May 2, 2015 at 11:45 AM, Thomas Morley thomasmorle...@gmail.com wrote: 2015-05-02 17:20 GMT+02:00 David Nalesnik david.nales...@gmail.com: [...] OK! Though I am disappointed you don't have a magical

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 (ly:make-pitch 1

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 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 ‣

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 compiled

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 EE.

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 doesn't get

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
On Fri, May 1, 2015 at 6:21 PM, David Nalesnik david.nales...@gmail.com 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

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-size = 2

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
Hi Jim, On Mon, Apr 27, 2015 at 3:55 PM, Jim Long lilyp...@umpquanet.com 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

Re: Color tweaks (edition engraver)

2015-05-01 Thread Thomas Morley
2015-05-01 23:54 GMT+02:00 David Nalesnik david.nales...@gmail.com: 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 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/definitions.ily

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
Hi, On Tue, Apr 28, 2015 at 10:29 AM, David Nalesnik david.nales...@gmail.com wrote: On Mon, Apr 27, 2015 at 6:13 PM, David Nalesnik david.nales...@gmail.com wrote: Hi Joram, On Mon, Apr 27, 2015 at 5:30 PM, Noeck noeck.marb...@gmx.de wrote: There is something which has to be

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
On Fri, May 1, 2015 at 10:56 AM, David Nalesnik david.nales...@gmail.com 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

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
On Fri, May 1, 2015 at 11:15 AM, David Nalesnik david.nales...@gmail.com wrote: On Fri, May 1, 2015 at 10:56 AM, David Nalesnik david.nales...@gmail.com wrote: The code below will work much better. Drat. Somehow we need to get the context name into the override. Otherwise

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

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 tweaked using

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
On Fri, May 1, 2015 at 3:49 PM, David Nalesnik david.nales...@gmail.com 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

Re: Color tweaks (edition engraver)

2015-05-01 Thread David Nalesnik
On Fri, May 1, 2015 at 3:49 PM, David Nalesnik david.nales...@gmail.com 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

Re: Color tweaks (edition engraver)

2015-04-28 Thread David Nalesnik
On Mon, Apr 27, 2015 at 6:13 PM, David Nalesnik david.nales...@gmail.com wrote: Hi Joram, On Mon, Apr 27, 2015 at 5:30 PM, Noeck noeck.marb...@gmx.de wrote: There is something which has to be fixed, though. All clefs get colored, Can this be avoided (even at the cost of not

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

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 novice

Re: Color tweaks (edition engraver)

2015-04-27 Thread David Nalesnik
On Mon, Apr 27, 2015 at 12:16 PM, David Nalesnik david.nales...@gmail.com wrote: On Mon, Apr 27, 2015 at 12:12 PM, David Nalesnik david.nales...@gmail.com 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

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

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,

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

Re: Color tweaks (edition engraver)

2015-04-27 Thread David Nalesnik
Hi Urs, On Mon, Apr 27, 2015 at 4:57 PM, Urs Liska u...@openlilylib.org 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

Re: Color tweaks (edition engraver)

2015-04-27 Thread David Nalesnik
Hi Joram, On Mon, Apr 27, 2015 at 5:30 PM, Noeck noeck.marb...@gmx.de 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

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 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 noeck.marb...@gmx.de: 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 David Nalesnik
Hi, On Mon, Apr 27, 2015 at 9:44 AM, Urs Liska u...@openlilylib.org 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

Re: Color tweaks (edition engraver)

2015-04-27 Thread David Nalesnik
On Mon, Apr 27, 2015 at 12:12 PM, David Nalesnik david.nales...@gmail.com 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