Re: trying to attach lyrics to global variable in /score

2016-01-04 Thread Simon Albrecht
On 04.01.2016 03:29, David Wright wrote: ... but it does mean that you can't use \addlyrics, and dispense with naming the context when not required (ie simple cases). True, I deliberately left that one out, since it’s error-prone. Yours, Simon ___ l

Re: trying to attach lyrics to global variable in /score

2016-01-03 Thread David Wright
On Sun 03 Jan 2016 at 15:33:39 (-0800), Ryan Michael wrote: > Thank you for the reminder, so he is a complete, however abridged version of > my > code:  > > viola = \new Voice \relative c' { > c1 c1 c1 > } > > recorder = \new Voice \relative c' { > c1 c1 c1 > } > > verseOne = \lyricmode { >   m

Re: trying to attach lyrics to global variable in /score

2016-01-03 Thread David Wright
On Mon 04 Jan 2016 at 00:26:44 (+0100), Simon Albrecht wrote: [...] > That said: The following code works for me. > > %% > \version "2.18.2" > global = { s1 } > recorder = { c''1 } > verseOne = \lyricmode { test } > \score { > \new StaffGroup << > > \new Staff << > \new Voice

Re: trying to attach lyrics to global variable in /score

2016-01-03 Thread Ryan Michael
Thank you for the reminder, so he is a complete, however abridged version of my code: viola = \new Voice \relative c' { c1 c1 c1 } recorder = \new Voice \relative c' { c1 c1 c1 } verseOne = \lyricmode { m -- -- -- } \score { \new StaffGroup << \new Staff << \new Voice \global \new

Re: trying to attach lyrics to global variable in /score

2016-01-03 Thread Simon Albrecht
Hello Ryan, please always reply on-list. Others may find the solution helpful as well. Also, please send complete compilable examples (with a version statement), else it’s difficult to figure out the problem. That said: The following code works for me. %% \version "2.18.2" global = { s

Re: trying to attach lyrics to global variable in /score

2016-01-03 Thread Simon Albrecht
On 03.01.2016 20:40, Ryan Michael wrote: I have the following lilypond code: \score { \new StaffGroup << \new Staff << \global \recorder >> \new Lyrics \lyricsto "recorder" { \verseOne } \new Staff << \global \viola >> >> \layout { } \midi { } } \lyricsto "recor

trying to attach lyrics to global variable in /score

2016-01-03 Thread Ryan Michael
I have the following lilypond code: \score { \new StaffGroup << \new Staff << \global \recorder >> \new Lyrics \lyricsto "recorder" { \verseOne } \new Staff << \global \viola >> >> \layout { } \midi { } } However I get the error: *cannot find Voice `recorder'* "