Re: How to embed conditional non-music code

2006-03-10 Thread Erik Sandberg
Citerar Alan Stern <[EMAIL PROTECTED]>: > How can I make a non-music part of my .ly file conditional? For example, > suppose I want to add something like > > between-system-padding = 0.3 \in did you try something like this? between-system-padding = #(if (eq? partNum 0) (* 0.3 inch-multipli

Re: How to embed conditional non-music code

2006-03-05 Thread Nicolas Sceaux
Erik Sandberg <[EMAIL PROTECTED]> writes: > Citerar Alan Stern <[EMAIL PROTECTED]>: > >> How can I make a non-music part of my .ly file conditional? For example, >> suppose I want to add something like >> >> between-system-padding = 0.3 \in > > did you try something like this? > > between-sy

How to embed conditional non-music code

2006-03-04 Thread Alan Stern
How can I make a non-music part of my .ly file conditional? For example, suppose I want to add something like between-system-padding = 0.3 \in to the \paper{} section, but only if the Scheme variable "partNum" is equal to 0. There doesn't seem to be any way to do it. The #{ ... #} syntax d