Re: context id

2015-12-15 Thread Milan van der Meer
On Mon, Dec 14, 2015 at 5:55 PM, David Kastrup wrote: > Milan writes: > > > Hello All, > > > > I'm trying to return the context id for a voice. > > I'm using ly:translator-context to get the > > context from the engraver and the function

Re: context id

2015-12-15 Thread David Kastrup
Milan van der Meer writes: > the code (frescobaldi): > > #(define (format-note engraver event) > (let* ( > (context (ly:translator-context engraver)) > (ID (ly:context-id context)) > (parent (ly:context-parent context)) > (name (ly:context-name context) )

Re: context id

2015-12-14 Thread David Kastrup
Milan writes: > Hello All, > > I'm trying to return the context id for a voice. > I'm using ly:translator-context to get the > context from the engraver and the function ly:context-id > to get the ID. However, if i display the id it prints: \new. > displayin

context id

2015-12-14 Thread Milan
Hello All, I'm trying to return the context id for a voice. I'm using ly:translator-context to get the context from the engraver and the function ly:context-id to get the ID. However, if i display the id it prints: \new. displaying the parent context results in: # # ) >) >) &g

Re: Obtaining the current staff's context id from withing a voice?

2010-07-07 Thread Neil Puttock
On 7 July 2010 13:19, Reinhold Kainhofer wrote: > So, how can I force the new lyrics context to be placed above the current > staff (for which I don't know the context id)? Alternatively, is there a way > to obtain the staff's context id from within a voice? The only way I

Obtaining the current staff's context id from withing a voice?

2010-07-07 Thread Reinhold Kainhofer
fy align(Above|Below)Context for the lyrics context. Unfortunately, when inserting the cue notes/lyrics, I'm deep inside a voice. So, how can I force the new lyrics context to be placed above the current staff (for which I don't know the context id)? Alternatively, is there a way to o