Re: Properties outside of scores

2018-04-29 Thread Emilio Millan
Thanks for that, Andrew. Your suggestion and my own continued thinking made me realize that scoping and evaluation order were the challenges I was facing. Scoping is tricky because I'm outside the usual scopes--Score, Staff and Voice. But I am in a book (or bookpart) and so can set a property in t

Re: Properties outside of scores

2018-04-16 Thread Andrew Bernard
Hi Emilio, Something like this can be adapted to your need? Andrew \version "2.19.81" % simple debug print #(define (dbg . args) "Simple debug console print." (cond ((not (null? args)) (display (car args)) (display " ") (apply dbg (cdr args))) (else (newline))

Properties outside of scores

2018-04-16 Thread Emilio Millan
This one's a little odd, I admit, but it would come in handy to me. Suppose I had two markup blocks at the top level of a document--i.e., not in a score. Is there a way to set something like a context property outside the markup blocks but used inside them? Here's a contrived pseudo-example: \se