Maurits Lamers <[email protected]> writes: > Hi, > > Great! This is the perfect solution. I had to adjust the > (define-scheme-function) call a bit to run also under 2.18: > > setStructuralVoice = #(define-scheme-function (parser location num) (integer?) > (make-apply-context > (lambda (context) > (ly:context-set-property! context 'structuralVoice (if (> num 0) num > '()))))) > > It might need even more tweaks to run under 2.14 which is my target. I > know it is a very old version, but there is a large body of Lilypond > code my work depends on and that is lilypond 2.14. I am afraid that it > would distract the current effort and cost too much time at the moment > to convert that body of work to a more recent version of lilypond.
Have you even tried running convert-ly on it? -- David Kastrup
