Re: Termination of variable definitions

2016-04-22 Thread Anthonys Lists
On 19/04/2016 21:55, Johannes Waldmann wrote: http://lists.gnu.org/archive/html/lilypond-user/2016-04/msg00465.html ... But it's recursive. what does that mean? - J.W. Recursion: See "Recursion". To take the violin example, violin = \new Staff { \relative { a'4 b c b } } "violin

Re: Termination of variable definitions

2016-04-19 Thread David Kastrup
Thomas Morley writes: > Well, LilyPond uses an input-language, I don't think it qualifies as a > programming-language. > But you you can do a lot > > xx = \override NoteHead.color = #red > is one expression > yy = \override NoteHead.font-size = #5 > is one expression > zz = { > \override Not

Re: Termination of variable definitions

2016-04-19 Thread Thomas Morley
2016-04-19 23:25 GMT+02:00 David Sumbler : > Thank you all for your help on this. > > My original question, "how does Lilypond recognize the end of the > definition of a variable" has been answered: the definition has to be a > single, complete expression. > > Which of course produces another quest

Re: Termination of variable definitions

2016-04-19 Thread David Sumbler
Thank you all for your help on this. My original question, "how does Lilypond recognize the end of the definition of a variable" has been answered: the definition has to be a single, complete expression. Which of course produces another question: "what is classed as a single expression?" Well, I

Re: Termination of variable definitions

2016-04-19 Thread David Kastrup
David Wright writes: > violin = \new Voice b > you can substitute again, this time for "b". > (Within limits: contexts have a parent/child ordering, so Staff > can contain Voice but not vice versa.) Semantically not, but syntactically this is not a problem: \relative \new Staff { \new Voice {

Re: Termination of variable definitions

2016-04-19 Thread Johannes Waldmann
http://lists.gnu.org/archive/html/lilypond-user/2016-04/msg00465.html > ... But it's recursive. what does that mean? - J.W. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Termination of variable definitions

2016-04-19 Thread Thomas Morley
2016-04-19 21:31 GMT+02:00 David Sumbler : > On Tue, 2016-04-19 at 20:51 +0200, David Kastrup wrote: >> David Sumbler writes: >> >> > In starting to experiment with selective compilation using includes >> > and/or the $(if condition action) structure provided by David Kastrup, I >> > found that th

Re: Termination of variable definitions

2016-04-19 Thread David Wright
On Tue 19 Apr 2016 at 19:38:14 (+0100), David Sumbler wrote: > So at the risk of embarrassing myself, I should be grateful if somebody > would explain the following: how does Lilypond recognize the end of a > variable definition? Oversimplifying, there are about four things you can define with a v

Re: Termination of variable definitions

2016-04-19 Thread David Kastrup
David Sumbler writes: > On Tue, 2016-04-19 at 20:51 +0200, David Kastrup wrote: >> David Sumbler writes: >> >> > In starting to experiment with selective compilation using includes >> > and/or the $(if condition action) structure provided by David Kastrup, I >> > found that there is something v

Re: Termination of variable definitions

2016-04-19 Thread David Sumbler
On Tue, 2016-04-19 at 20:51 +0200, David Kastrup wrote: > David Sumbler writes: > > > In starting to experiment with selective compilation using includes > > and/or the $(if condition action) structure provided by David Kastrup, I > > found that there is something very, very basic that I have nev

Re: Termination of variable definitions

2016-04-19 Thread David Kastrup
David Sumbler writes: > In starting to experiment with selective compilation using includes > and/or the $(if condition action) structure provided by David Kastrup, I > found that there is something very, very basic that I have never really > understood. > > So at the risk of embarrassing myself,

Termination of variable definitions

2016-04-19 Thread David Sumbler
In starting to experiment with selective compilation using includes and/or the $(if condition action) structure provided by David Kastrup, I found that there is something very, very basic that I have never really understood. So at the risk of embarrassing myself, I should be grateful if somebody w