bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ISSUE 4577] Add StaffAxis context type


From: David Kastrup
Subject: Re: [ISSUE 4577] Add StaffAxis context type
Date: Wed, 26 Aug 2015 20:26:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Simon Albrecht <address@hidden> writes:

> Am 26.08.2015 um 18:52 schrieb David Kastrup:
>> New issue 4577
>>
>> Status: Started
>> Summary: Add StaffAxis context type
>> Tags: Type-Enhancement Patch-new
>>
>> Rietveld issue: 265730043 (https://codereview.appspot.com/265730043)
>> Issue description:
>>    Add StaffAxis context type  See the regression test for more info.
> Another naming suggestion: MixedLine (or SystemLine?
> LineContainer?). IMO ‘line’ gives a better impression of the
> ‘container’ character than ‘axis’. And after all, it might be used for
> contexts without a Staff.

So may be a StaffGroup, a GrandStaff, a ChoirStaff.  And all of those
are containers of Staff contexts.  I'm not married to the Axis bit, but
the common trait _is_ every stafflike entity inside sharing a common
axis, whether simultaneously or sequentially.

> Eventually, this should be documented within a new subsection to NR
> 1.6.1
> <http://lilypond.org/doc/v2.19/Documentation/notation/displaying-staves>.

Definitely.  I wanted to change the existing example (part of which made
it into the regtest) but found that it was gone, with the exception of
some outdated translations.

> Good idea!

Well, it arose in some user list discussion: instead of adding somewhat
strange \accepts to Staff, it may be better to have one enclosing
context.  That's more of a stock tool rather than having to tweak
contexts yourself.

In addition, in that way the Staff context does not get to see events it
is not suited for.  Having a ChordNames context inside of a Staff
context, for example, works almost more by chance than by design since
the Staff context gets to see all the same events.  But since at least
the NoteHeadEngraver (?) sits at Voice level, one does not get to see
much from this problem.  But an independent context is nicer.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]