bug-lilypond
[Top][All Lists]
Advanced

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

\new Score


From: Alexander Kobel
Subject: \new Score
Date: Fri, 01 Oct 2010 17:54:46 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Lightning/1.0b1 Thunderbird/3.0.8

[branched from -user: 'Where does "\override Score.BarNumber ..." go']

On 2010-09-03 15:41, Graham Percival wrote:
On Fri, Sep 03, 2010 at 10:16:06AM +0200, Alexander Kobel wrote:
But this makes me wonder: I vaguely remember a distinction of \score
and \new Score, which I can't find in the docs.

The distinction is that \new Score should not be used, and issue
1033 is to remove it entirely from the docs.

Hm, I see.  And I recognized the potential problems.

But in the light of a consistent syntax and semantic, I see no reason (from the users POV) to disallow it. After all, the real top-level context is a \book {}, isn't it, and I don't see a point in disallowing a \new Score construct just like \new Staff.

From a syntactical POV, I see the following pros for \new Score:
- You can write \with { ... } for every other context but \Score, which (for consistency) should also work with \new Score. - When there's a \new Foo Bar, there's also a \context Foo Bar, which makes the same as a parallel instantiation of all Bar's. - [Quoting Rune from <http://www.mail-archive.com/address@hidden/msg14713.html>]: "I know that the \score-statement is a syntactical construct, but I think it would be nice to hide this fact from the users. I think we could make the use of score-block much more intuitive if changing the syntax to \new \Score and adding an implicit sequential-statement to the score."

I think the Real Thing would be to fix \new Score s.t. it works properly in the above manner, right? I agree it's useful to remove all mentions from the docs for now, but I suggest to keep a "allow \new Score" (postponed) issue there.


Cheers,
Alexander



reply via email to

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