Re: Snippet for conditional score compilation

2017-11-16 Thread Kieren MacMillan
Hi Saul, > Here's a short little snippet to turn on or off whether a score is compiled. > I'm using this to control which movements are compiled across all my > instrumental parts from a flag in a single file. Nice! I do the same kind of thing in my big multi-movement works (operas, musicals,

Snippet for conditional score compilation

2017-11-16 Thread Saul Tobin
Hi all, Here's a short little snippet to turn on or off whether a score is compiled. \version "2.18.2" % Swap the commented lines to demonstrate that you can turn the score on and off flag = ##t % flag = ##f compileIf = #(define-void-function (parser location flag score) (boolean? ly:score?)