[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: centering text on a measure
From: |
harm6 |
Subject: |
Re: centering text on a measure |
Date: |
Tue, 20 Sep 2011 16:58:09 -0700 (PDT) |
David Nalesnik-2 wrote:
>
> On Fri, Sep 16, 2011 at 3:49 PM, Thomas Morley <
> address@hidden> wrote:
>
>>
>>
>> 2011/9/16 David Nalesnik <address@hidden>
>>
>>>
>>> Hi, Harm --
>>>
>>> On Thu, Sep 15, 2011 at 6:18 PM, harm6
>>> <address@hidden>wrote:
>>>
>>>>
>>>> I tested your definitions with a longer example using StaffGroup and
>>>> commented the not used parts with %{ ... %}. (see code below)
>>>> The log states: ERROR: Wrong type (expecting pair): ()
>>>>
>>>> And now the strangest thing: If I uncomment "two" it works!! ("two" is
>>>> a
>>>> copy of "one" and not called in the active StaffGroup!!!)
>>>> If I completely delete "two" out of the file it doesn't work.
>>>> If I comment eyery line of "two" with % it works!!
>>>> Some other combinations of commenting in/out parts of the code gives
>>>> the
>>>> same result.
>>>>
>>>> I've never heard of such a strange behaviour.
>>>>
>>>>
>>> Neither have I ... Is the file as you send it supposed to create an
>>> error?
>>>
>>
>> Yes!
>> But compiling this morning: no error. In the evening I copied it again
>> from
>> the list (to avoid any carelessness), I compiled it without any changes,
>> and: ERROR: Wrong type (expecting pair): ()
>>
>> I don't not know what's going here !
>>
>
> Hi, Harm --
>
> I still have no idea why this error is occurring, but I've revised the
> file
> to include various checks. So, if one or both of the grobs you're trying
> to
> center something between isn't there, or if they aren't found from left to
> right in the specified order, there shouldn't be an error. I don't know
> if
> this fixes the problem, or just covers up the issue (meaning: maybe now
> you
> will see the file running without errors, but centering the grob in some
> instances, and not in others.)
>
> I've experimented with your example, and I don't see any problems. But
> that's no guarantee it will work for you... If you could try it out, that
> would be great!
>
> Best,
> David
>
>
Hi David,
testing your newest code I've got no errors any more! But sometimes there is
a strange behaviour.
Testing the attached code I receive centerTest-1.pdf with an offset of the
red Line in the first score, that I can't explain. In the second score the
second voice seems to override the settings of the first.
If I comment out the second voice, the output is ok (apart from the lines)
and surprisingly the red line of the first score is moved to the correct
position! (centerTest-2.pdf).
Can you confirm this?
Regards,
Harm
http://old.nabble.com/file/p32503335/centerGrobBetween_rev-test.ly
centerGrobBetween_rev-test.ly
http://old.nabble.com/file/p32503335/centerTest-1.pdf centerTest-1.pdf
http://old.nabble.com/file/p32503335/centerTest-2.pdf centerTest-2.pdf
--
View this message in context:
http://old.nabble.com/centering-text-on-a-measure-tp32377202p32503335.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
- Re: centering text on a measure, (continued)
- Re: centering text on a measure, Trevor Daniels, 2011/09/01
- Re: centering text on a measure, David Nalesnik, 2011/09/03
- Re: centering text on a measure, Trevor Daniels, 2011/09/03
- Re: centering text on a measure, David Nalesnik, 2011/09/03
- Re: centering text on a measure, Trevor Daniels, 2011/09/03
- Re: centering text on a measure, David Nalesnik, 2011/09/10
- Re: centering text on a measure, harm6, 2011/09/15
- Re: centering text on a measure, David Nalesnik, 2011/09/15
- Re: centering text on a measure, Thomas Morley, 2011/09/16
- Re: centering text on a measure, David Nalesnik, 2011/09/18
- Re: centering text on a measure,
harm6 <=
- Re: centering text on a measure, David Nalesnik, 2011/09/22
- Re: centering text on a measure, Thomas Morley, 2011/09/22
- Re: centering text on a measure, Thomas Morley, 2011/09/22
- Re: centering text on a measure, David Nalesnik, 2011/09/22
- Re: centering text on a measure, Thomas Morley, 2011/09/29
- Re: centering text on a measure, David Nalesnik, 2011/09/29
- Re: centering text on a measure, David Nalesnik, 2011/09/23
Re: centering text on a measure, harm6, 2011/09/01