Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
Sorry for the typo WRONG: 1) At this point, given that Y-offset can't be used for properly offsetting (\offset) the OttavaBracket (unless you use a ruler and place its reference point of the bracket, which is very tedious), is there any any other property that can be used? CORRECT 1) At this p

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
M > *To: *Carl Sorensen > *Cc: *Lilypond-User Mailing List > *Subject: *Re: Shift up OttavaBracket > > > > Does it mean that similar issues can happen with the same property applied > to other grobs, like DynamicLineSpanner ? > > > > Since the Y-offset property of

Mailing list duplicates (was: Re: Shift up OttavaBracket)

2020-01-13 Thread Aaron Hill
On 2020-01-13 12:58 pm, David Kastrup wrote: Uh, you are aware that you can easily configure your mailing list options to _not_ include you in mail you are already receiving via other headers? And lo and behold: no need to lecture anybody anymore. If I were aware of this feature, I would not

Re: Shift up OttavaBracket

2020-01-13 Thread David Kastrup
Aaron Hill writes: > On 2020-01-13 11:38 am, Carl Sorensen wrote: >> I would like to request that we not use lilybin links for problematic >> code snippets. It places necessary information out of the context of >> the email. > > And I politely ask that folks only reply to the mailing list and no

Re: Shift up OttavaBracket

2020-01-13 Thread Carl Sorensen
From: Paolo Prete Date: Monday, January 13, 2020 at 1:33 PM To: Carl Sorensen Cc: Lilypond-User Mailing List Subject: Re: Shift up OttavaBracket Does it mean that similar issues can happen with the same property applied to other grobs, like DynamicLineSpanner ? Since the Y-offset property

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
Does it mean that similar issues can happen with the same property applied to other grobs, like DynamicLineSpanner ? Thanks, Best P On Mon, Jan 13, 2020 at 9:20 PM Carl Sorensen wrote: > > > On 1/13/20, 12:25 PM, "Kieren MacMillan" > wrote: > > Hi Paolo (et al.), > > > Well, I investi

Re: Shift up OttavaBracket

2020-01-13 Thread Carl Sorensen
On 1/13/20, 12:25 PM, "Kieren MacMillan" wrote: Hi Paolo (et al.), > Well, I investigated as well. I think that the only way to solve this is to use the combination > Y-offset + \offset + 2.19 > As you can see, this seems to work in 2.19 > http://lilybin.com/yb5u35/12

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
lo Prete > *Date: *Monday, January 13, 2020 at 12:21 PM > *To: *David Nalesnik > *Cc: *Kieren MacMillan , Aaron Hill < > lilyp...@hillvisions.com>, Lilypond-User Mailing List < > lilypond-user@gnu.org>, Carl Sorensen > *Subject: *Re: Shift up OttavaBracket > > >

Re: Shift up OttavaBracket

2020-01-13 Thread Carl Sorensen
From: Paolo Prete Date: Monday, January 13, 2020 at 12:21 PM To: David Nalesnik Cc: Kieren MacMillan , Aaron Hill , Lilypond-User Mailing List , Carl Sorensen Subject: Re: Shift up OttavaBracket Well, I investigated as well. I think that the only way to solve this is to use the

Re: Shift up OttavaBracket

2020-01-13 Thread Aaron Hill
On 2020-01-13 11:38 am, Carl Sorensen wrote: I would like to request that we not use lilybin links for problematic code snippets. It places necessary information out of the context of the email. And I politely ask that folks only reply to the mailing list and not include individual user email

Re: Shift up OttavaBracket

2020-01-13 Thread Robin Bannister
David Nalesnik wrote: I'm going to investigate this. \offset requires a grob property which is assigned a default value in define-grobs.scm (from which file the IR grob reference pages are generated). This value is 0.46, inaccessible at the top of axis-group-interface.cc. Cheers, Robin

Re: Shift up OttavaBracket

2020-01-13 Thread Carl Sorensen
From: Paolo Prete Date: Monday, January 13, 2020 at 12:29 PM To: Kieren MacMillan Cc: David Nalesnik , Aaron Hill , Lilypond-User Mailing List , Carl Sorensen Subject: Re: Shift up OttavaBracket You are right. I made the same test one minute ago :-) Well, definitely a bug. Is there a

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
You are right. I made the same test one minute ago :-) Well, definitely a bug. Is there a workaround for this at least in 2.19 ? Otherwise the OttavaBracket interface is almost unusable (except for the extra-offset property) On Mon, Jan 13, 2020 at 8:25 PM Kieren MacMillan < kieren_macmil...@

Re: Shift up OttavaBracket

2020-01-13 Thread Kieren MacMillan
Hi David, > I don't see the solution in creating a larger set of commands > that work in some circumstances. Agreed, so as long as we don’t in fact need/want two functions (e.g., \offset and \reposition) that are *expected* to work differently (e.g., one takes intermediate grobs into account an

Re: Shift up OttavaBracket

2020-01-13 Thread Kieren MacMillan
Hi Paolo (et al.), > Well, I investigated as well. I think that the only way to solve this is to > use the combination > Y-offset + \offset + 2.19 > As you can see, this seems to work in 2.19 > http://lilybin.com/yb5u35/12 Not always: Cheers, Kieren. _

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
Well, I investigated as well. I think that the only way to solve this is to use the combination Y-offset + \offset + 2.19 As you can see, this seems to work in 2.19 http://lilybin.com/yb5u35/12 And it doesn't work in 2.18. Correct me if I'm wrong: this is currently the *only* proper way to shif

Re: Shift up OttavaBracket

2020-01-13 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > >> What's wrong with \offset itself? > > Nothing, I suppose, as long as it worked consistently with all grobs > (which it clearly doesn’t currently). Well, I don't see the solution in creating a larger set of commands that work in some circumstances. If th

Re: Shift up OttavaBracket

2020-01-13 Thread David Nalesnik
On Mon, Jan 13, 2020 at 12:29 PM Kieren MacMillan wrote: > > Hi David, > > >> You’d like a command like \offset (say, \reposition) which tweaks the > >> position of a grob > >> from its final [calculated] position, pushing other grobs (in X or Y > >> directions) as necessary? > > > \offset would

Re: Shift up OttavaBracket

2020-01-13 Thread Kieren MacMillan
Hi David, >> You’d like a command like \offset (say, \reposition) which tweaks the >> position of a grob >> from its final [calculated] position, pushing other grobs (in X or Y >> directions) as necessary? > \offset would do exactly that if there were a single property of > OttavaBracket which

Re: Shift up OttavaBracket

2020-01-13 Thread Kieren MacMillan
Hi David, > What's wrong with \offset itself? Nothing, I suppose, as long as it worked consistently with all grobs (which it clearly doesn’t currently). Best, Kieren. Kieren MacMillan, composer (he/him/his) ‣ website: www.kierenmacmillan.info ‣ email: i...@kier

Re: Shift up OttavaBracket

2020-01-13 Thread David Nalesnik
Hi, On Mon, Jan 13, 2020 at 12:07 PM Kieren MacMillan wrote: > > Hi Paolo, > > > The OttavaBracket is already pretty well positioned by Lilypond itself, and > > it should be tuned, if necessary, only with that small values. And if you > > do this, and you don't want to use the extra-offset prop

Re: Shift up OttavaBracket

2020-01-13 Thread David Kastrup
Kieren MacMillan writes: > Hi Paolo, > >> The OttavaBracket is already pretty well positioned by Lilypond > itself, and it should be tuned, if necessary, only with that small > values. And if you do this, and you don't want to use the extra-offset > property, you are forced to use the ruler in th

Re: Shift up OttavaBracket

2020-01-13 Thread Kieren MacMillan
Hi Paolo, > The OttavaBracket is already pretty well positioned by Lilypond itself, and > it should be tuned, if necessary, only with that small values. And if you do > this, and you don't want to use the extra-offset property, you are forced to > use the ruler in the way I explained... So to

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
On Mon, Jan 13, 2020 at 4:36 PM Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Paolo, > > > But it doesn't work in many cases. For example, in my snippet I'm forced > to use a ruler If I want to shift the bracket exactly +2 staff-spaces more. > Then I have to put the starting point

Re: Shift up OttavaBracket

2020-01-13 Thread Kieren MacMillan
Hi Paolo, > But it doesn't work in many cases. For example, in my snippet I'm forced to > use a ruler If I want to shift the bracket exactly +2 staff-spaces more. Then > I have to put the starting point of the ruler at the reference point of the > staff, find the distance between that starting

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
Hi Robin, as said in the previous post, I tried outside-staff-padding too. And explained the issues in this case too. It does the job only *if reset* http://lilybin.com/yb5u35/5 And this "0" reset forces the user to set that property before any calculation, which is not good. best, Paolo On M

Re: Shift up OttavaBracket

2020-01-13 Thread Robin Bannister
Paolo Prete wrote: (A) + (B) make me suspect that the whole OttavaBracket interface is buggy. It may not be exactly what you want, but I have the feeling that you haven't tried outside-staff-padding. http://lilypond.org/doc/v2.19/Documentation/internals/outside_002dstaff_002dinterface Ch

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
On Mon, Jan 13, 2020 at 3:35 PM Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Paolo, > > > > > Not in my example: I know its reference point is exactly 10 spaces from > the reference point of the staff. ;) > > This happens because you have chosen a value that you know at a glance

Re: Shift up OttavaBracket

2020-01-13 Thread Kieren MacMillan
Hi Paolo, > Look at this: > http://lilybin.com/yb5u35/9 > As you can see, the result is the same if I set "2" or "0" for the Y-offset > property. That’s because neither 2 nor 0 is large enough to be outside the items in your example (e.g., the noteheads are at +4, and the slur is at an even mo

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
On Mon, Jan 13, 2020 at 2:37 PM Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Paolo, > > > from what I read in the documentation > > http://lilypond.org/doc/v2.19/Documentation/learning/moving-objects > > ... there are two ways to place items like the OctaveBracket. > > > > 1) The

Re: Shift up OttavaBracket

2020-01-13 Thread Kieren MacMillan
Hi Paolo, > from what I read in the documentation > http://lilypond.org/doc/v2.19/Documentation/learning/moving-objects > ... there are two ways to place items like the OctaveBracket. > > 1) The first method is to use properties like "padding" (therefore: > staff-padding, outstide-staff-padding

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
onveniences. HTH, Paolo On Mon, Jan 13, 2020 at 4:16 AM Carl Sorensen wrote: > > > > > *From: *Paolo Prete > *Date: *Sunday, January 12, 2020 at 7:31 PM > *To: *Aaron Hill > *Cc: *lilypond-user > *Subject: *Re: Shift up OttavaBracket > > > > As said in the first

Re: Shift up OttavaBracket

2020-01-12 Thread Carl Sorensen
From: Paolo Prete Date: Sunday, January 12, 2020 at 7:31 PM To: Aaron Hill Cc: lilypond-user Subject: Re: Shift up OttavaBracket As said in the first post staff-padding seems to have the same problem of Y-offset: http://lilybin.com/njdr3x/1 outside-staff-padding does the job only if reset

Re: Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
Hi Kieren, look at my last post. Repositioning the OttavaBracket requires an unknown offset. best, Paolo On Mon, Jan 13, 2020 at 2:26 AM kieren_macmillan kieren_macmillan < kieren_macmil...@sympatico.ca> wrote: > Hi Paolo, > > > Unfortunately, with extra-offset I have the disadvantage that all

Re: Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
> > > > outside-staff-padding does the job only if reset; see: > > http://lilybin.com/yb5u35/4 > > > Wrong link. Look at: >> > http://lilybin.com/yb5u35/5

Re: Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
As said in the first post staff-padding seems to have the same problem of Y-offset: http://lilybin.com/njdr3x/1 outside-staff-padding does the job only if reset; see: http://lilybin.com/yb5u35/4 Then I would consider this a bug. At least one property of OttavaBracket should behave like extra-of

Re: Shift up OttavaBracket

2020-01-12 Thread Aaron Hill
On 2020-01-12 5:17 pm, Paolo Prete wrote: Unfortunately, with extra-offset I have the disadvantage that all the other objects are not moved automatically (smart repositioning) True, extra-offset is the tool for making changes to the layout after everything else has been done. It sounded like

Re: Shift up OttavaBracket

2020-01-12 Thread kieren_macmillan kieren_macmillan
Hi Paolo, > Unfortunately, with extra-offset I have the disadvantage that all the other > objects are not moved automatically (smart repositioning) Do you want to increase padding? e.g., http://lilybin.com/yb5u35/4 > Does my example show a bug/missing feature for OttavaBracket? To be honest, it

Re: Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
Unfortunately, with extra-offset I have the disadvantage that all the other objects are not moved automatically (smart repositioning) Does my example show a bug/missing feature for OttavaBracket? Thanks, Paolo On Mon, Jan 13, 2020 at 1:56 AM Aaron Hill wrote: > If you want to move the bracket u

Re: Shift up OttavaBracket

2020-01-12 Thread Aaron Hill
If you want to move the bracket upwards based on its final position after accounting for other objects such as the slur, then extra-offset seems the way to go. Otherwise, you can manually do the work that \offset Y-offset would have done if you need to use 2.18.2. \version "2.18.2" test

Re: Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
Thanks David, just tested that even with unstable it has some issues http://lilybin.com/yb5u35/3 Is there a fix for this? (I suppose that it could be fixed with outside-staff-priority, but I wonder if is there a better fix) On Mon, Jan 13, 2020 at 12:34 AM David Nalesnik wrote: > Hi Paolo,

Re: Shift up OttavaBracket

2020-01-12 Thread David Nalesnik
Hi Paolo, On Sun, Jan 12, 2020 at 5:27 PM Paolo Prete wrote: > > Try this with both stable and unstable > > http://lilybin.com/yb5u35/1 > > On Mon, Jan 13, 2020 at 12:20 AM David Nalesnik > wrote: >> >> On Sun, Jan 12, 2020 at 5:13 PM Paolo Prete wrote: >> > >> > Thanks very much David. >> > J

Re: Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
Try this with both stable and unstable http://lilybin.com/yb5u35/1 On Mon, Jan 13, 2020 at 12:20 AM David Nalesnik wrote: > On Sun, Jan 12, 2020 at 5:13 PM Paolo Prete wrote: > > > > Thanks very much David. > > Just tested and it works with 2.19 (not with 2.18, though) > > > > What did you wri

Re: Shift up OttavaBracket

2020-01-12 Thread David Nalesnik
On Sun, Jan 12, 2020 at 5:13 PM Paolo Prete wrote: > > Thanks very much David. > Just tested and it works with 2.19 (not with 2.18, though) > What did you write and what was the log output?

Re: Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
Thanks very much David. Just tested and it works with 2.19 (not with 2.18, though) On Mon, Jan 13, 2020 at 12:06 AM David Nalesnik wrote: > On Sun, Jan 12, 2020 at 4:54 PM Paolo Prete wrote: > > > > Hello. > > > > Please consider this example: > > > > {{ \ottava #1 c c c c \otta

Re: Shift up OttavaBracket

2020-01-12 Thread David Nalesnik
On Sun, Jan 12, 2020 at 4:54 PM Paolo Prete wrote: > > Hello. > > Please consider this example: > > {{ \ottava #1 c c c c \ottava #0 }} > > How can I shift up the ottava bracket exactly TWO staff spaces above its > calculated position? > > Both: > \override Staff.OttavaBracket.Y-o