Re: Add \mark entries with edition-engraver?

2015-01-12 Thread Urs Liska
Hi Kieren (and implicitly Jan-Peter), Am 11.01.2015 um 21:52 schrieb Kieren MacMillan: Hi Jan-Peter, thank you for this snippet! I will work on it next week :) While you’re in there… ;) 1. If you \set Score.currentBarNumber, everything gets wonky from there on. =) 2. Please consider

Re: Add \mark entries with edition-engraver?

2015-01-11 Thread Jan-Peter Voigt
Hi Harm, thank you for this snippet! I will work on it next week :) Cheers, Jan-Peter Am 10.01.2015 um 19:21 schrieb Thomas Morley: 2015-01-10 15:44 GMT+01:00 Jan-Peter Voigt jp.vo...@gmx.de: So, if one can show a scheme-engraver, that produces marks (or time-sigs) programmaticly, I can

Re: Add \mark entries with edition-engraver?

2015-01-11 Thread Kieren MacMillan
Hi Jan-Peter, thank you for this snippet! I will work on it next week :) While you’re in there… ;) 1. If you \set Score.currentBarNumber, everything gets wonky from there on. =) 2. Please consider addding some syntactic sugar for common actions like 2a. setting a lot of items at the

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Jan-Peter Voigt
Hi Kieren, Am 10.01.2015 um 16:20 schrieb Kieren MacMillan: Hi Jan-Peter, TimeSignature grobs are another kind, I'd like to add conditionally or with the edition-engraver, if the instrument-transposition changes. Um… you mean KeySignature? =) In any case, YES — this would let me remove

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Kieren MacMillan
Hi Jan-Peter, TimeSignature grobs are another kind, I'd like to add conditionally or with the edition-engraver, if the instrument-transposition changes. Um… you mean KeySignature? =) In any case, YES — this would let me remove about a third of the remaining \tag constructs in the content

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Urs Liska
Hi Jan-Peter, I'm still having a hard time understanding how engravers, events, acknowledgers etc. relate, so I'm not sure if I understand your explanations. Am I right that the problem is *not* in addressing the score context but that marks are simply not supported yet? And if yes, is this a

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Urs Liska
Am 10.01.2015 um 16:20 schrieb Kieren MacMillan: Hi Jan-Peter, TimeSignature grobs are another kind, I'd like to add conditionally or with the edition-engraver, if the instrument-transposition changes. Um… you mean KeySignature? =) In any case, YES — this would let me remove about a third

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Jan-Peter Voigt
Hi Urs, Am 10.01.2015 um 15:29 schrieb Urs Liska: I'm not sure if I understand your explanations. Am I right that the problem is *not* in addressing the score context but that marks are simply not supported yet? Yes And if yes, is this a fundamental issue or is it just that marks have to be

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Jan-Peter Voigt
Hi Urs, hi list, as I am the inventor of the edition-engraver, I'd like to try some explanation ... The edition-engraver is a scheme-engraver, which looks at most of the defined hooks, if there are mods for its id on the current time (= measure + position-in-measure). They are: * initialize

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Urs Liska
Am 10.01.2015 um 19:34 schrieb Kieren MacMillan: Hi Urs, I'm right now busy moving our Fried score to an edition-engraver based set-up, which is more than promising. I’m so glad you’ve jumped on the bandwagon. =) Me too ... Maybe it would have been better to do so in a project where

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Thomas Morley
2015-01-10 15:44 GMT+01:00 Jan-Peter Voigt jp.vo...@gmx.de: So, if one can show a scheme-engraver, that produces marks (or time-sigs) programmaticly, I can easily add it to the edition-engraver. Hi Jan-Peter, I did not look into your edition-engraver, below you'll find an engraver printing

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Urs Liska
Am 10.01.2015 um 20:16 schrieb Kieren MacMillan: Hi Urs, As it is possible to inject temporary LilyPond code I see a lot of fancy things becoming possible. Including my favourite original breaks ;-) Uh-oh… Are we going to get into another debate about what “edition” means?! ;) Not

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Urs Liska
It would be fantastic if that could be integrated in the edition-engraver. I'm very sorry that I can only express wishes and can't offer any help. Actually I'm right now busy moving our Fried score to an edition-engraver based set-up, which is more than promising. Urs Am 10. Januar 2015

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Kieren MacMillan
Hi Urs, As it is possible to inject temporary LilyPond code I see a lot of fancy things becoming possible. Including my favourite original breaks ;-) Uh-oh… Are we going to get into another debate about what “edition” means?! ;) Best, Kieren. ___ Kieren MacMillan,

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Kieren MacMillan
Hi Urs, I'm right now busy moving our Fried score to an edition-engraver based set-up, which is more than promising. I’m so glad you’ve jumped on the bandwagon. =) I suppose, in all fairness, I should get off my butt and get my Git-flow working now… ;) Cheers, Kieren.

Add \mark entries with edition-engraver?

2015-01-09 Thread Urs Liska
Hi folks, I've successfully managed to add \break events to a score with the edition-engraver. With a wrapper function I can now maintain all manual breaks in one Scheme list. Another thing I find very useful is passing skipTypesetting events to the score, so I could create a function to