Re: Control of score visibility based on variables

2020-12-05 Thread Matthew Fong
Hello Lukas, Many thanks for the clarification. My apologies for the belated reply since my week got quite busy. I understand your explanation: You can also use the question mark in the variable name, which confused me for a moment. I think I was mixing information I read previously about

Re: Control of score visibility based on variables

2020-12-03 Thread Lukas-Fabian Moser
Hi Matthew, Am 03.12.20 um 01:50 schrieb Matthew Fong: ... and I will have use of question? Didn't know about that! In fact, that's just an arbitrary name for a variable! (And, to be honest, I wasn't completely happy with my choice.) So, the following would work just the same: scoreIf =

Re: Control of score visibility based on variables

2020-12-02 Thread Matthew Fong
... and I will have use of question? Didn't know about that! On Wed, Dec 2, 2020 at 1:49 PM Matthew Fong wrote: > Hello Wim and Lukas, > > Many thanks for chiming in. I do like the cleaner solutions. At some point > in the future, I will turn my work over to someone else, and they get to >

Re: Control of score visibility based on variables

2020-12-02 Thread Matthew Fong
Hello Wim and Lukas, Many thanks for chiming in. I do like the cleaner solutions. At some point in the future, I will turn my work over to someone else, and they get to figure out some of these details! mattfong On Wed, Dec 2, 2020 at 5:16 AM Lukas-Fabian Moser wrote: > Hi Matthew, > > > I

Re: Control of score visibility based on variables

2020-12-02 Thread Lukas-Fabian Moser
Hi Matthew, I lifted an idea from your solution. I was looking for the if-statement, and didn't know the syntax for doing so. My solution looks like: isAmenFPO = ##t $(if (eq? isAmenFPO #t)     #{         \score { ...         } % end score     #} ) Perhaps easier with a bit of syntactic

Re: Control of score visibility based on variables

2020-12-02 Thread Wim van Dommelen
Hi, Try \tag to mark which lines you want/need to display and then \keepWithTag to create a fine-tuned file in which you can include or exclude based on a line of text granularity with the possibility of multipe versions generated per include. Regards, Wim van Dommelen.

Re: Control of score visibility based on variables

2020-12-01 Thread Matthew Fong
Hello Vaughan, I lifted an idea from your solution. I was looking for the if-statement, and didn't know the syntax for doing so. My solution looks like: isAmenFPO = ##t $(if (eq? isAmenFPO #t) #{ \score { ... } % end score #} ) Many thanks, mattfong On Tue, Dec 1,

Re: Control of score visibility based on variables

2020-12-01 Thread Matthew Fong
Hello Vaughan, Many thanks for this. I haven't read up using books. This seems like it will do the trick! mattfong On Mon, Nov 30, 2020 at 8:22 PM Vaughan McAlley wrote: > On Tue, 1 Dec 2020 at 04:08, Matthew Fong wrote: > > > > Hello everyone, > > > > I have multiple scores in my LilyPond

Re: Control of score visibility based on variables

2020-11-30 Thread Vaughan McAlley
On Tue, 1 Dec 2020 at 04:08, Matthew Fong wrote: > > Hello everyone, > > I have multiple scores in my LilyPond file, and I was wondering if there is a programmatic way to selectively hide and show scores based on variables, or would this have to be done at the note and lyrics level? > > > Many

Control of score visibility based on variables

2020-11-30 Thread Matthew Fong
Hello everyone, I have multiple scores in my LilyPond file, and I was wondering if there is a programmatic way to selectively hide and show scores based on variables, or would this have to be done at the note and lyrics level? Many thanks, mattfong