Re: [frogs] Re: format-mark-* Was: \set vs \override

2009-12-02 Thread Graham Percival
On Wed, Dec 02, 2009 at 03:41:06PM -0700, Carl Sorensen wrote: > > On 12/2/09 2:58 PM, "Mats Bengtsson" wrote: > > >> Because it's too many things to list in the body of the NR. We try to keep > >> the body of the NR as short as feasible, and put exhaustive lists in the > >> appendices. > >>

Re: [frogs] Re: format-mark-* Was: \set vs \override

2009-12-02 Thread Carl Sorensen
On 12/2/09 2:58 PM, "Mats Bengtsson" wrote: > Carl Sorensen wrote: >> >> On 12/2/09 1:40 PM, "Mats Bengtsson" wrote: >> >> >>> Why not simply extend the current example so that it shows all the >>> possibilities? No need to explain in words, especially since the names >>> are more or less

Re: [frogs] Re: format-mark-* Was: \set vs \override

2009-12-02 Thread Mats Bengtsson
Carl Sorensen wrote: On 12/2/09 1:40 PM, "Mats Bengtsson" wrote: Why not simply extend the current example so that it shows all the possibilities? No need to explain in words, especially since the names are more or less self-explanatory. Because it's too many things to list in the b

Re: [frogs] Re: format-mark-* Was: \set vs \override

2009-12-02 Thread Carl Sorensen
On 12/2/09 1:40 PM, "Mats Bengtsson" wrote: > Why not simply extend the current example so that it shows all the > possibilities? No need to explain in words, especially since the names > are more or less self-explanatory. Because it's too many things to list in the body of the NR. We try to

Re: [frogs] Re: format-mark-* Was: \set vs \override

2009-12-02 Thread Mats Bengtsson
Why not simply extend the current example so that it shows all the possibilities? No need to explain in words, especially since the names are more or less self-explanatory. /Mats Valentin Villenave wrote: On Wed, Dec 2, 2009 at 5:38 PM, Carl Sorensen wrote: Doing this right probably

Re: [frogs] Re: format-mark-* Was: \set vs \override

2009-12-02 Thread Valentin Villenave
On Wed, Dec 2, 2009 at 5:38 PM, Carl Sorensen wrote: > Doing this right probably means a careful explanation of a few of these in > the NR, and an appendix showing all of the possibilities. I was about to suggest something like that, but aren't appendices automatically generated? How would you im

Re: [frogs] Re: format-mark-* Was: \set vs \override

2009-12-02 Thread Carl Sorensen
On 12/2/09 2:47 AM, "Valentin Villenave" wrote: > On Wed, Dec 2, 2009 at 9:04 AM, Mats Bengtsson > wrote: >> Running the command "grep format-mark- scm/translation-functions.scm" in >> Linux gives the following list of functions: >> >> (define-public (format-mark-alphabet mark context) >> (d

Re: format-mark-* Was: \set vs \override

2009-12-02 Thread Valentin Villenave
On Wed, Dec 2, 2009 at 9:04 AM, Mats Bengtsson wrote: > Running the command "grep format-mark- scm/translation-functions.scm" in > Linux gives the following list of functions: > > (define-public (format-mark-alphabet mark context) > (define-public (format-mark-box-alphabet mark context) > (define-

format-mark-* Was: \set vs \override

2009-12-02 Thread Mats Bengtsson
Anthony W. Youngman wrote: \set Score.markFormatter = #format-mark-alphabet == Following up a bit late, I know ... If you look back at when format-mark-alphabet first appeared, you'll find I featured prominently (and ineptly :-) I wanted the

Re: \set vs \override

2009-12-01 Thread Anthony W. Youngman
In message <4b0bc390.1080...@internode.on.net>, Nick Payne writes Carl Sorensen wrote: On 11/24/09 2:57 AM, "Nick Payne" wrote: James Worlton wrote: Hi! In 2.13.6 I did a project and used: \set Score.markFormatter = #format-mark-box-alphabet and I got the boxes and the letter I (all in

Re: \set vs \override

2009-11-24 Thread Carl Sorensen
On 11/24/09 4:56 AM, "David Kastrup" wrote: > Nick Payne writes: > >> Carl Sorensen wrote: >>> >>> On 11/24/09 2:57 AM, "Nick Payne" wrote: >>> James Worlton wrote: > Hi! > > > In 2.13.6 I did a project and used: > \set Score.markFormatter = #format-ma

Re: \set vs \override

2009-11-24 Thread Jan Nieuwenhuizen
Op dinsdag 24-11-2009 om 12:23 uur [tijdzone -0200], schreef Han-Wen Nienhuys: > Grammatically > > \set Context.Property = #value > \set Grob.GrobProperty = #value > > both look like \set STRING . STRING = SCHEME > > ie. you can't distinguish between both actions if you unify the syntax. Hmm, w

Re: \set vs \override

2009-11-24 Thread Han-Wen Nienhuys
Grammatically \set Context.Property = #value \set Grob.GrobProperty = #value both look like \set STRING . STRING = SCHEME ie. you can't distinguish between both actions if you unify the syntax. On Tue, Nov 24, 2009 at 11:26 AM, David Kastrup wrote: > Han-Wen Nienhuys writes: > >> On Tue, No

Re: \set vs \override

2009-11-24 Thread David Kastrup
Han-Wen Nienhuys writes: > On Tue, Nov 24, 2009 at 3:50 AM, David Kastrup wrote: > >> Sigh.  I guess I give up.  Yes, I understood that.  Pretty much from the >> get-go, and also from the manual.  The unanswered question is _why_ you >> want only _one_ of the two different things happen to _one_

Re: \set vs \override

2009-11-24 Thread Han-Wen Nienhuys
On Tue, Nov 24, 2009 at 3:50 AM, David Kastrup wrote: > Sigh.  I guess I give up.  Yes, I understood that.  Pretty much from the > get-go, and also from the manual.  The unanswered question is _why_ you > want only _one_ of the two different things happen to _one_ half of the > properties, and th

Re: \set vs \override

2009-11-24 Thread David Kastrup
Nick Payne writes: > Carl Sorensen wrote: >> >> On 11/24/09 2:57 AM, "Nick Payne" wrote: >> >>> James Worlton wrote: >>> Hi! In 2.13.6 I did a project and used: \set Score.markFormatter = #format-mark-box-alphabet and I got the boxes and the letter I (all in

Re: \set vs \override

2009-11-24 Thread Nick Payne
Carl Sorensen wrote: On 11/24/09 2:57 AM, "Nick Payne" wrote: James Worlton wrote: Hi! In 2.13.6 I did a project and used: \set Score.markFormatter = #format-mark-box-alphabet and I got the boxes and the letter I (all in one command!) Thanks for that. That particular value

Re: \set vs \override

2009-11-24 Thread Carl Sorensen
On 11/24/09 2:57 AM, "Nick Payne" wrote: > James Worlton wrote: >> Hi! >> >> >> In 2.13.6 I did a project and used: >> \set Score.markFormatter = #format-mark-box-alphabet >> and I got the boxes and the letter I (all in one command!) > Thanks for that. That particular value for set > (format

Re: \set vs \override

2009-11-24 Thread Nick Payne
James Worlton wrote: Hi! On Nov 23, 2009, at 9:26 PM, Nick Payne wrote: On this subject of set vs override, if I want rehearsal marks to be boxed letters and also want to use the letter I as a rehearsal mark, how can I do that. Each set command overwrites the previous value of the context

Re: \set vs \override

2009-11-24 Thread Francisco Vila
2009/11/24 Han-Wen Nienhuys : > I think you send a lot of mail. I suggest reading code; if it were > easy, where would the fun be? Sorry if it sounds angry. My humble opinion is that it's absolutely NOT FUN to have a future without LilyPond because reading the code was not easy enough. > As a hi

Re: \set vs \override

2009-11-23 Thread David Kastrup
Han-Wen Nienhuys writes: > On Mon, Nov 23, 2009 at 11:10 PM, David Kastrup wrote: > >>> >>> * \override and \revert manipulate the defaults stored in said context >>> property, pushing and popping values off the alist. >> >> This concise "hint&q

Re: \set vs \override

2009-11-23 Thread James Worlton
Hi! On Nov 23, 2009, at 9:26 PM, Nick Payne wrote: On this subject of set vs override, if I want rehearsal marks to be boxed letters and also want to use the letter I as a rehearsal mark, how can I do that. Each set command overwrites the previous value of the context property, so if I

Re: \set vs \override

2009-11-23 Thread Nick Payne
On this subject of set vs override, if I want rehearsal marks to be boxed letters and also want to use the letter I as a rehearsal mark, how can I do that. Each set command overwrites the previous value of the context property, so if I use: \set Score.markFormatter = #format-mark-box

Re: \set vs \override

2009-11-23 Thread Han-Wen Nienhuys
On Mon, Nov 23, 2009 at 11:10 PM, David Kastrup wrote: >> >> * \override and \revert manipulate the defaults stored in said context >> property, pushing and popping values off the alist. > > This concise "hint" is wagonloads clearer than what is in the "

Re: \set vs \override

2009-11-23 Thread David Kastrup
ntext property. see > scm/define-grobs.scm > > * \override and \revert manipulate the defaults stored in said context > property, pushing and popping values off the alist. This concise "hint" is wagonloads clearer than what is in the "\set vs \override" document

Re: \set vs \override

2009-11-23 Thread Han-Wen Nienhuys
On Mon, Nov 23, 2009 at 12:55 PM, David Kastrup wrote: > Han-Wen Nienhuys writes: > >> On Mon, Nov 23, 2009 at 3:56 AM, David Kastrup wrote: >> >>> Right now I don't have the necessary clue level.  Merely a gut hunch. >> >> Why dont you invest some time to find out how it really works, > > What

Re: \set vs \override

2009-11-23 Thread David Kastrup
Ian Hulin writes: > David Kastrup wrote: > >> I will not doctor the documentation before I consider myself having a >> clue. And I am nowhere near that yet. >> > From the bread-crumb trail of your posts on the various lists, it > looks like you're exploring a similar set of avenues I was going d

Re: \set vs \override

2009-11-23 Thread Ian Hulin
Hi David, David Kastrup wrote: Han-Wen Nienhuys writes: On Mon, Nov 23, 2009 at 3:56 AM, David Kastrup wrote: Right now I don't have the necessary clue level. Merely a gut hunch. Why dont you invest some time to find out how it really works, What do you think I am doing? Reading docume

Re: \set vs \override

2009-11-23 Thread David Kastrup
Han-Wen Nienhuys writes: > On Mon, Nov 23, 2009 at 3:56 AM, David Kastrup wrote: > >> Right now I don't have the necessary clue level.  Merely a gut hunch. > > Why dont you invest some time to find out how it really works, What do you think I am doing? Reading documentation, getting nowhere, r

Re: \set vs \override

2009-11-23 Thread Han-Wen Nienhuys
On Mon, Nov 23, 2009 at 3:56 AM, David Kastrup wrote: >>> And I am arrogant enough to believe that if I don't understand a >>> design decision after a few days of trying, it is likely that >>> ultimately a lot of people other than myself will be better off if >>> the distinction gets abolished. >>

Re: \set vs \override

2009-11-23 Thread David Kastrup
Mats Bengtsson writes: > David Kastrup wrote: >> >>> We used to have the same command for setting both context and object >>> properties, see >>> http://lilypond.org/doc/v2.2/Documentation/topdocs/out-www/NEWS.html >>> >> >> I read >> >> The syntax for setting properties has been simplif

Re: \set vs \override

2009-11-23 Thread Mats Bengtsson
David Kastrup wrote: We used to have the same command for setting both context and object properties, see http://lilypond.org/doc/v2.2/Documentation/topdocs/out-www/NEWS.html I read The syntax for setting properties has been simplified: the following table lists the difference

Re: \set vs \override

2009-11-23 Thread David Kastrup
Mats Bengtsson writes: >> Joe Neeman wrote: >>> On Sat, 2009-11-21 at 22:45 +, Graham Percival wrote: >>> On Sat, Nov 21, 2009 at 11:31:40PM +0100, David Kastrup wrote: > I don't see a good rationale why \set, \override, \revert, \tweak should > not work on the same

Re: \set vs \override

2009-11-22 Thread David Kastrup
Han-Wen Nienhuys writes: > On Sat, Nov 21, 2009 at 8:31 PM, David Kastrup wrote: > >> And I am arrogant enough to believe that if I don't understand a >> design decision after a few days of trying, it is likely that >> ultimately a lot of people other than myself will be better off if >> the dis

Re: \set vs \override

2009-11-22 Thread Han-Wen Nienhuys
On Sat, Nov 21, 2009 at 8:31 PM, David Kastrup wrote: > And I am arrogant enough to believe that if I don't understand a design > decision after a few days of trying, it is likely that ultimately a lot > of people other than myself will be better off if the distinction gets > abolished. I sugges

Re: \set vs \override

2009-11-22 Thread Mats Bengtsson
We used to have the same command for setting both context and object properties, see http://lilypond.org/doc/v2.2/Documentation/topdocs/out-www/NEWS.html If you want to bring this issue up again, don't forget to read the discussions that lead to the current syntax. /Mats Joe Neeman wrote:

Re: \set vs \override

2009-11-22 Thread David Kastrup
Joe Neeman writes: > It would certainly be possible, but I think it would be a bad idea. I > think that having two separate commands is much clearer than having a > command with two distinct behaviours depending on what its argument > is. If the things that happen are conceptually the same, it i

Re: \set vs \override

2009-11-21 Thread Joe Neeman
On Sat, 2009-11-21 at 22:45 +, Graham Percival wrote: > On Sat, Nov 21, 2009 at 11:31:40PM +0100, David Kastrup wrote: > > I don't see a good rationale why \set, \override, \revert, \tweak should > > not work on the same set of properties (including subproperties). I > > don't see an explanati

Re: \set vs \override

2009-11-21 Thread Joe Neeman
On Sat, 2009-11-21 at 23:31 +0100, David Kastrup wrote: > Joe Neeman writes: > > > On Sat, 2009-11-21 at 17:22 +0100, David Kastrup wrote: > >> There is a chapter "set vs override" in the manual. > >> > >> I am afraid that I fail to grasp the d

Re: \set vs \override

2009-11-21 Thread David Kastrup
Graham Percival writes: > On Sat, Nov 21, 2009 at 11:31:40PM +0100, David Kastrup wrote: >> I don't see a good rationale why \set, \override, \revert, \tweak should >> not work on the same set of properties (including subproperties). I >> don't see an explanation why it makes sense to differenti

Re: \set vs \override

2009-11-21 Thread Graham Percival
On Sat, Nov 21, 2009 at 11:31:40PM +0100, David Kastrup wrote: > I don't see a good rationale why \set, \override, \revert, \tweak should > not work on the same set of properties (including subproperties). I > don't see an explanation why it makes sense to differentiate between > them. > > And I

Re: \set vs \override

2009-11-21 Thread David Kastrup
Joe Neeman writes: > On Sat, 2009-11-21 at 17:22 +0100, David Kastrup wrote: >> There is a chapter "set vs override" in the manual. >> >> I am afraid that I fail to grasp the difference from the chapter. [...] >> If the element description is a _speci

Re: \set vs \override

2009-11-21 Thread Joe Neeman
On Sat, 2009-11-21 at 17:22 +0100, David Kastrup wrote: > There is a chapter "set vs override" in the manual. > > I am afraid that I fail to grasp the difference from the chapter. > > It says: "There are actually two different kinds of properties." >

\set vs \override

2009-11-21 Thread David Kastrup
There is a chapter "set vs override" in the manual. I am afraid that I fail to grasp the difference from the chapter. It says: "There are actually two different kinds of properties." But then it says Context properties can change value over time while interpreting

Re: Contexts (Was Re: Set vs. Override - I'm confused)

2006-05-04 Thread Erik Sandberg
On Thursday 04 May 2006 06:21, Arjan Bos wrote: > Erik, > > That's a great document! I've read about half of it now and it does a > very good job to explain to me how LilyPond works. And seeing the > date on the title page, I think I have to congratulate you on your > Masters Degree! Well Done! Th

Re: Contexts (Was Re: Set vs. Override - I'm confused)

2006-05-03 Thread Arjan Bos
Erik, That's a great document! I've read about half of it now and it does a very good job to explain to me how LilyPond works. And seeing the date on the title page, I think I have to congratulate you on your Masters Degree! Well Done! Off topic, but are your music streams implemented in

Re: Set vs. Override - I'm confused

2006-04-28 Thread Mats Bengtsson
Quoting Michael Brennan <[EMAIL PROTECTED]>: My simple understanding of it is that: \set sets a property for the whole context, and the objects contained in that context while \override is for a particular graphical object. Just a little explanation like that, that separates them would be

Re: Set vs. Override - I'm confused

2006-04-28 Thread Michael Brennan
Erik Sandberg wrote: Great! You now officially know more about this area than me, because I don't have a clue when to use \override or \set. Please take a few minutes to send me some clarifications or additions for the manual: http://lilypond.org/web/devel/participating/documentation-adding

Re: Set vs. Override - I'm confused

2006-04-28 Thread Mats Bengtsson
"grob" is just a silly abbreviation for graphical object. On one hand, David is absolutely right that far too much of the implementation structure is visible in the user interface. On the other hand, unless the current approach to do settings in LilyPond is revised completely, each user who wan

Re: Set vs. Override - I'm confused

2006-04-27 Thread Joe Neeman
> Hm. Here's my understanding of it: > > You can say it's all about the granularity of the setting. \override > manipulates > settings which are specific to one graphical object/grob (e.g. a NoteHead). > \set > changes settings on a higher level, and can modify more than one type of > grob. There

Re: Set vs. Override - I'm confused

2006-04-27 Thread David Feuer
On 4/27/06, Rick Hansen (aka RickH) <[EMAIL PROTECTED]> wrote: > > Whats a grob? I agree. The user absolutely should not have to know that there is any such thing. David ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailma

Re: Set vs. Override - I'm confused

2006-04-27 Thread Rick Hansen (aka RickH)
Whats a grob? -- View this message in context: http://www.nabble.com/Set-vs.-Override---I%27m-confused-t1433228.html#a4124826 Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http

Re: Set vs. Override - I'm confused

2006-04-27 Thread Erik Sandberg
Citerar Graham Percival <[EMAIL PROTECTED]>: > > On 26-Apr-06, at 10:36 PM, Michael Brennan wrote: > > > David Feuer wrote: > >> On 4/19/06, Erik Sandberg <[EMAIL PROTECTED]> wrote: > >>> In 2.8 there's an essential difference between grob and context > >>> properties, > >>> which is visible fo

Re: Contexts (Was Re: Set vs. Override - I'm confused)

2006-04-27 Thread Erik Sandberg
Citerar Tomas Valusek <[EMAIL PROTECTED]>: > Hello, > > > When I first read the manual I didn't see any clear explanation of the > > difference, > > the docs could be more clear on that point. But when I realized that one > > was for grobs > > and the other for context, it became much clearer,

Re: Contexts (Was Re: Set vs. Override - I'm confused)

2006-04-27 Thread Graham Percival
On 27-Apr-06, at 2:20 AM, Mats Bengtsson wrote: For some time, I have been thinking about adding an introductory text to the Changing Defaults chapter, which introduces all the main methods to set context and grob properties with one example for each and links to the more detailed sections.

Re: Contexts (Was Re: Set vs. Override - I'm confused)

2006-04-27 Thread Mats Bengtsson
For some time, I have been thinking about adding an introductory text to the Changing Defaults chapter, which introduces all the main methods to set context and grob properties with one example for each and links to the more detailed sections. This would be something along the lines of http://list

Re: Contexts (Was Re: Set vs. Override - I'm confused)

2006-04-27 Thread Ralph Little
Hi, I too find the context/grob property distinction not clear and I did not find the online doc any help in getting through this barrier of understanding. It is the one most powerful aspect of Lilypond, but the one aspect which is treated the most meanly in the introductory docs. Even user doing b

Re: Set vs. Override - I'm confused

2006-04-26 Thread Graham Percival
On 26-Apr-06, at 10:36 PM, Michael Brennan wrote: David Feuer wrote: On 4/19/06, Erik Sandberg <[EMAIL PROTECTED]> wrote: In 2.8 there's an essential difference between grob and context properties, which is visible for end-users: the \tweak command only makes sense on layout object propertie

Contexts (Was Re: Set vs. Override - I'm confused)

2006-04-26 Thread Tomas Valusek
Hello, When I first read the manual I didn't see any clear explanation of the difference, the docs could be more clear on that point. But when I realized that one was for grobs and the other for context, it became much clearer, for me it helps separating and understanding grobs and contexts.

Re: Set vs. Override - I'm confused

2006-04-26 Thread Werner LEMBERG
> [...] when I realized that one was for grobs and the other for > context, it became much clearer, for me it helps separating and > understanding grobs and contexts. A big help would be a simple means to distinguish grobs and context properties. For example, context property names could always

Re: Set vs. Override - I'm confused

2006-04-26 Thread Michael Brennan
David Feuer wrote: On 4/19/06, Erik Sandberg <[EMAIL PROTECTED]> wrote: In 2.8 there's an essential difference between grob and context properties, which is visible for end-users: the \tweak command only makes sense on layout object properties, not on context properties. This difference migh

Re: Set vs. Override - I'm confused

2006-04-26 Thread Geoff Horton
> > In 2.8 there's an essential difference between grob and context properties, > > which is visible for end-users: the \tweak command only makes sense on > > layout > > object properties, not on context properties. This difference might make it > > easier for new users to understand grob properti

Re: Set vs. Override - I'm confused

2006-04-26 Thread Werner LEMBERG
> > In 2.8 there's an essential difference between grob and context > > properties, which is visible for end-users: the \tweak command > > only makes sense on layout object properties, not on context > > properties. This difference might make it easier for new users to > > understand grob properti

Re: Set vs. Override - I'm confused

2006-04-26 Thread David Feuer
On 4/19/06, Erik Sandberg <[EMAIL PROTECTED]> wrote: > In 2.8 there's an essential difference between grob and context properties, > which is visible for end-users: the \tweak command only makes sense on layout > object properties, not on context properties. This difference might make it > easier

Re: Set vs. Override - I'm confused

2006-04-26 Thread Erik Sandberg
On Tuesday 11 April 2006 23:56, Werner LEMBERG wrote: > > \set: set the value of a context property > > \override: set the value of a layout object property > > I've always wondered why it isn't possible to unify them... In 2.8 there's an essential difference between grob and context properties,

Re: Set vs. Override - I'm confused

2006-04-12 Thread Jan Nieuwenhuizen
Werner LEMBERG writes: >> \set: set the value of a context property >> \override: set the value of a layout object property > > I've always wondered why it isn't possible to unify them... Or until that time have explicit naming. Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - Th

Re: Set vs. Override - I'm confused

2006-04-11 Thread Werner LEMBERG
> \set: set the value of a context property > \override: set the value of a layout object property I've always wondered why it isn't possible to unify them... Werner ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailma

Re: Set vs. Override - I'm confused

2006-04-11 Thread Mats Bengtsson
Quoting Geoff Horton <[EMAIL PROTECTED]>: The followup question is obvious, but I leave it to you to think about it and see if you get any further. I've been wondering for some time if the distinction is a helpful one, but I suspect changing it now would involve too much internal tinkering, no

Re: Set vs. Override - I'm confused

2006-04-11 Thread Geoff Horton
> The followup question is obvious, but I leave it to you to think about it > and see if you get any further. I've been wondering for some time if the distinction is a helpful one, but I suspect changing it now would involve too much internal tinkering, not to mention breaking of old scores. Geof

Re: Set vs. Override - I'm confused

2006-04-11 Thread Mats Bengtsson
\set: set the value of a context property \override: set the value of a layout object property The followup question is obvious, but I leave it to you to think about it and see if you get any further. /Mats Tomas Valusek wrote: Hello, I've read thoroughly LilyPond's Users Manual and I don'

Set vs. Override - I'm confused

2006-04-11 Thread Tomas Valusek
Hello, I've read thoroughly LilyPond's Users Manual and I don't understand what's the difference between \set and \override commands. Can someone explain me this? Thank you. Tomas Valusek ___ lilypond-user mailing list lilypond-user@gnu.org http:/