Re: Programmatically inject an \editionID in a staff

2018-05-24 Thread Jan-Peter Voigt
Hi Urs, Am 24.05.2018 um 12:29 schrieb Urs Liska: ... Well, with the above changes (where the first was a real issue of understanding and the other two just glitches) the MWE works as expected. Unfortunately it doesn't seem to work in the real-world context. The log still only reports the

Re: Programmatically inject an \editionID in a staff

2018-05-24 Thread Urs Liska
Hi Jan-Peter, thanks for the clarifications. Am 24.05.2018 um 12:05 schrieb Jan-Peter Voigt: Hi Urs, here we have three problems: 1. The symbol 'ICEID is a magic token to inherit the edition-id of the parent context, so you don't need to add the base path here. OK, I wasn't really clear

Re: Programmatically inject an \editionID in a staff

2018-05-24 Thread Jan-Peter Voigt
Hi Urs, here we have three problems: 1. The symbol 'ICEID is a magic token to inherit the edition-id of the parent context, so you don't need to add the base path here. 2. \editionID creates a symbol-list, but the name is a string, so you have to turn it into a symbol, if you want to use it

Re: Programmatically inject an \editionID in a staff

2018-05-24 Thread arnepe
hi Urs, how about Voice or Score without ".A" - if applicable? If I copy/paste your examples into oner of my own test MWE's this makes the difference ... cheers Arne -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user

Re: Programmatically inject an \editionID in a staff

2018-05-24 Thread Urs Liska
This is a -- similar -- MWE: \version "2.19.80" \include "oll-core/package.ily" \loadPackage edition-engraver \consistToContexts #edition-engraver Score.Staff.Voice makeStaff = #(define-music-function (name content)(string? ly:music?) (make-music 'ContextSpeccedMusic 'create-new #t

Programmatically inject an \editionID in a staff

2018-05-24 Thread Urs Liska
I'm trying to "install" the edition engraver in a programmatically generated score construction. I have this code somewhere in the function to create a score: (ly:score-add-output-def! score #{ \layout { \context {