Re: Still confused about context vs. new

2008-08-16 Thread Han-Wen Nienhuys
On Tue, Aug 12, 2008 at 8:45 PM, Carl Sorensen <[EMAIL PROTECTED]> wrote: >> \context implicitly instantiates a new context if the >> one named doesn't yet exist, so \new is redundant, *except* where you >> want multiple distinct contexts with the same name, or you're using >> unnamed contexts (whi

Re: Still confused about context vs. new

2008-08-16 Thread Carl D. Sorensen
On 8/16/08 2:41 AM, "Francisco Vila" <[EMAIL PROTECTED]> wrote: > > But, instead of doing reverse engineering all the time, shouldn't the > core developers simply explain how did they coded \context and \new, > when are they needed, what do they differ in, etc? I believe that the docs started

Re: Still confused about context vs. new

2008-08-16 Thread Francisco Vila
2008/8/13 Carl Sorensen <[EMAIL PROTECTED]>: > I have found a place where \new is needed. ... > everything works as it should. Apparently, in the first usage, the unnamed > Staff context had been implicitly created and was unsuccessfully reused. > > Given this result, it appears to me that \new is

Re: Still confused about context vs. new

2008-08-12 Thread Carl Sorensen
chubb.wattle.id.au> writes: > > > I personally have *never* needed to use \new. > > \context implicitly instantiates a new context if the > one named doesn't yet exist, so \new is redundant, *except* where you > want multiple distinct contexts with the same name, or you're using > unnamed c

Re: Still confused about context vs. new

2008-08-06 Thread Mats Bengtsson
I personally have *never* needed to use \new. \context implicitly instantiates a new context if the one named doesn't yet exist, so \new is redundant, *except* where you want multiple distinct contexts with the same name, or you're using unnamed contexts (which, internally, is the same thin

Re: Still confused about context vs. new

2008-07-18 Thread lily-user
>> In the meantime, the distinction is explained in NR 5.1.2 Creating >> contexts, although this section has not yet been reviewed in GDP so >> maybe it could be improved. Let me know to what extent it helps >> you. In any case I'll bear your comments in mind when I get to >> that section. Patric

Re: Still confused about context vs. new

2008-07-18 Thread Patrick Horgan
Trevor Daniels wrote: Patrick My original intention was not to cover the use of \context in the LM, but I see now that several of the examples and templates use it, so that was perhaps a mistake. Thanks for pointing this out. I'll look at it again. In the meantime, the distinction is expl

Re: Still confused about context vs. new

2008-07-18 Thread Daniel Hulme
On Fri, Jul 18, 2008 at 08:50:51AM +0100, Trevor Daniels wrote: > In the meantime, the distinction is explained in NR 5.1.2 Creating > contexts, although this section has not yet been reviewed in GDP so maybe > it could be improved. Let me know to what extent it helps you. In any > case I'll b

Re: Still confused about context vs. new

2008-07-18 Thread Trevor Daniels
Patrick My original intention was not to cover the use of \context in the LM, but I see now that several of the examples and templates use it, so that was perhaps a mistake. Thanks for pointing this out. I'll look at it again. In the meantime, the distinction is explained in NR 5.1.2 Creati

Re: Still confused about context vs. new

2008-07-17 Thread James E. Bailey
Am 17.07.2008 um 22:35 schrieb Patrick Horgan: I see many examples with \context, or \new used in the same place. I've read LM 3.1.1 for example which tells me that if I don't create explicitly a \new Staff or \new Voice, they will be created automatically, and goes on to refer to that as