Re: Repeating predefined stanza labels

2011-06-17 Thread Matthew Collett
On 18/06/2011, at 10:26 am, Neil Puttock wrote: > In your first snippet, each invocation is a new scheme string object, > thus the pointers are different. The second snippet reuses each > string, so the equality check succeeds and no graphical object is > created. Sneaky. > Use \markup instead

Re: Repeating predefined stanza labels

2011-06-17 Thread Neil Puttock
On 16 June 2011 23:45, Matthew Collett wrote: > Why is the behaviour different in the two cases, The Stanza_engraver generates a stanza number if the markup changes. It keeps a cache of the old stanza markup as a Scheme smob (type SCM in C/C++) and compares it to the new setting via pointers (th