IR: errors in Backend docs for Grobs
Hi there, For some reason I can't fathom, the autogenerated docs for layout objects display the wrong values for the properties 'axes and side-axis whenever the Y-axis is set. For example, in define-grobs.scm, TextScript has the the following setting for side-axis, (side-axis . ,Y), yet the docs imply that the setting would be ,X (or 1). Regards, Neil ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: IR: errors in Backend docs for Grobs
2008/4/30 Neil Puttock <[EMAIL PROTECTED]>: > Hi there, > > For some reason I can't fathom, the autogenerated docs for layout > objects display the wrong values for the properties 'axes and > side-axis whenever the Y-axis is set. For example, in > define-grobs.scm, TextScript has the the following setting for > side-axis, (side-axis . ,Y), yet the docs imply that the setting would > be ,X (or 1). huh? X=0, Y=1 -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: IR: errors in Backend docs for Grobs
2008/5/1 Han-Wen Nienhuys <[EMAIL PROTECTED]>: > 2008/4/30 Neil Puttock <[EMAIL PROTECTED]>: > > > > Hi there, > > > > For some reason I can't fathom, the autogenerated docs for layout > > objects display the wrong values for the properties 'axes and > > side-axis whenever the Y-axis is set. For example, in > > define-grobs.scm, TextScript has the the following setting for > > side-axis, (side-axis . ,Y), yet the docs imply that the setting would > > be ,X (or 1). > > huh? X=0, Y=1 Ah, no wonder I'm confused; it's just the descriptions for side-axis and direction that are topsy-turvy: "If the value is #X (or equivalently 1), the object is placed horizontally next to the other object. If the value is #Y or 0, it is placed vertically." "If side-axis is 1 (or #X), then this property determines whether the object is placed #LEFT, #CENTER or #RIGHT with respect to the other object." ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: IR: errors in Backend docs for Grobs
2008/5/1 Neil Puttock <[EMAIL PROTECTED]>: > > huh? X=0, Y=1 > > Ah, no wonder I'm confused; it's just the descriptions for side-axis > and direction that are topsy-turvy: > "If the value is #X (or equivalently 1), the object is placed > horizontally next to the other object. If the value is #Y or 0, it is > placed vertically." Like most quantities in lily, we start counting axes at 0. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: IR: errors in Backend docs for Grobs
2008/5/1 Han-Wen Nienhuys <[EMAIL PROTECTED]>: > 2008/5/1 Neil Puttock <[EMAIL PROTECTED]>: > > > "If the value is #X (or equivalently 1), the object is placed > > horizontally next to the other object. If the value is #Y or 0, it is > > placed vertically." > > Like most quantities in lily, we start counting axes at 0. Now I'm really confused :) Are you saying that the above quote is correct? Because it seems to imply that #X = 1 and #Y = 0. Regards, Neil ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: IR: errors in Backend docs for Grobs
2008/5/1 Neil Puttock <[EMAIL PROTECTED]>: > > > "If the value is #X (or equivalently 1), the object is placed > > > horizontally next to the other object. If the value is #Y or 0, it is > > > placed vertically." > > > > Like most quantities in lily, we start counting axes at 0. > > Now I'm really confused :) > > Are you saying that the above quote is correct? > > Because it seems to imply that #X = 1 and #Y = 0. no, it's wrong and that's why I cc-d Graham. X = 0, Y = 1 -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: IR: errors in Backend docs for Grobs
On Fri, 2 May 2008 00:06:12 -0300 "Han-Wen Nienhuys" <[EMAIL PROTECTED]> wrote: > 2008/5/1 Neil Puttock <[EMAIL PROTECTED]>: > > > > "If the value is #X (or equivalently 1), the object is placed > > > > horizontally next to the other object. If the value is #Y or > > > > 0, it is placed vertically." > > no, it's wrong and that's why I cc-d Graham. X = 0, Y = 1 Err... ok, fixed. I think at this point, Neil is more familiar with the internals than I am, so if a similar situation arises, it's safe to let him make these changes. :) Cheers, - Graham ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond