|
From: | Trevor Daniels |
Subject: | Re: Placement of outside-staff objects: bug and behaviour change between 2.12.3 and 2.13.54 |
Date: | Tue, 22 Mar 2011 00:20:34 -0000 |
Frédéric Bron wrote Monday, March 21, 2011 9:23 PM
This is what you get with 2.13.54 from top to bottom: 1 RehearsalMark 1500 (Score) 2 MetronomeMark 1000 (Score) 3 VoltaBracketSpanner 600 4 TextScript 450 5 OttavaBracket 400 6 TextSpanner 350 7 DynamicLineSpanner 250 8 BarNumber 100 (Score) 9 TrillSpanner 50 10 MultiMeasureRestText 450You should get for example BarNumber in 3rd position because as yousay, it is in the Score context. However, it is in 8th position. Also VoltaBracketSpanner should in 9th position, not in 3rd. Am I misunderstanding something?
For easy reference I've added the values of 'outside-staff-priority taken from scm/define-grobs.scm above. The order you quote seems correct based on these except for MultiMeasureRestText. But in the example you gave earlier you don't use a multimeasure rest text as you attached \mark to the R1 rather than a markup. (Did you think the MM number was the MM text?) When this is done correctly the MM text appears in the correct position. Two comments. It seems as if the interleaving of the Score andStaff objects now seems to honour the value of 'outside-staff-priority
even without moving the engravers into the Staff context. Maybe Joe could shed some light on this. The second comment is that the value of 'outside-staff-priority for VoltaBracketSpanner as quoted in the Learning Manual is wrong: it should be 600, not 100. This is the only error I can see. Trevor
[Prev in Thread] | Current Thread | [Next in Thread] |