Re: relative music inside music functions explodes when used twice

2014-10-13 Thread David Kastrup
Janek Warchoł writes: > 2014-10-12 12:45 GMT+02:00 David Kastrup : >> I'm not even sure I understand _how_ you want the relativization to >> happen. One after the other? > > If you mean \musicII should be relativized after \music, that's > roughly what i want. > >> In that case, you can use >> >

Re: relative music inside music functions explodes when used twice

2014-10-12 Thread Janek Warchoł
2014-10-12 12:45 GMT+02:00 David Kastrup : > I'm not even sure I understand _how_ you want the relativization to > happen. One after the other? If you mean \musicII should be relativized after \music, that's roughly what i want. > In that case, you can use > > voiceDivisi = > #(define-music-func

Re: relative music inside music functions explodes when used twice

2014-10-12 Thread David Kastrup
Janek Warchoł writes: > Thanks David and Paul - that's helpful. However, while the situation > improved the output is still not what i want: > \version "2.19.13" > > voiceDivisi = > #(define-music-function (parser location m1 m2) (ly:music? ly:music?) >#{ > \tag divI { $m1 } > \tag

Re: relative music inside music functions explodes when used twice

2014-10-12 Thread Janek Warchoł
Thanks David and Paul - that's helpful. However, while the situation improved the output is still not what i want: \version "2.19.13" voiceDivisi = #(define-music-function (parser location m1 m2) (ly:music? ly:music?) #{ \tag divI { $m1 } \tag divII { $m2 } \tag together << { \d

Re: relative music inside music functions explodes when used twice

2014-10-11 Thread David Kastrup
Janek Warchoł writes: > Hi, > > i have a function that takes music as an argument and uses it twice - each > time with a different tag appended, so that later on i can decide what to > output: > > voiceDivisi = > #(define-music-function (parser location m1 m2) (ly:music? ly:music?) >#{ >

Re: relative music inside music functions explodes when used twice

2014-10-11 Thread Paul Morris
http://lilypond.1069038.n5.nabble.com/relative-music-inside-music-functions-explodes-when-used-twice-tp167420p167422.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

relative music inside music functions explodes when used twice

2014-10-11 Thread Janek Warchoł
Hi, i have a function that takes music as an argument and uses it twice - each time with a different tag appended, so that later on i can decide what to output: voiceDivisi = #(define-music-function (parser location m1 m2) (ly:music? ly:music?) #{ \tag divI \context Voice = "divI" { #m1 }