Re: skylines and custom-code

2021-05-01 Thread Thomas Morley
Am Fr., 30. Apr. 2021 um 09:59 Uhr schrieb Jean Abou Samra : > > Le 05/04/2021 à 12:00, Thomas Morley a écrit : > > > Hi Jean, > > > > thanks for your reply, though the situation is more complex than the > > initial minimal. Consider the following: > > > > { b'4\glissando 4 4 4 2 b'' } > > > > The

Re: skylines and custom-code

2021-04-30 Thread Jean Abou Samra
Le 05/04/2021 à 12:00, Thomas Morley a écrit : Hi Jean, thanks for your reply, though the situation is more complex than the initial minimal. Consider the following: { b'4\glissando 4 4 4 2 b'' } The plan is to print a glissando from b' to b'' and at intermediate NoteColumns print a Stem star

Re: skylines and custom-code

2021-04-10 Thread Jean Abou Samra
Le 10/04/2021 à 10:34, Kevin Barry a écrit : On Sat, Apr 10, 2021 at 10:09:01AM +0200, Jean Abou Samra wrote: By the way, it looks like this issue is not present in 2.20...? Sorry, I'm not following, what issue exactly? Harm's original issue with incorrect skylines. I ran his code through 2.

Re: skylines and custom-code

2021-04-10 Thread Kevin Barry
On Sat, Apr 10, 2021 at 10:09:01AM +0200, Jean Abou Samra wrote: > > By the way, it looks like this issue is not present in 2.20...? > > Sorry, I'm not following, what issue exactly? Harm's original issue with incorrect skylines. I ran his code through 2.20 and the skylines were fine. Something m

Re: skylines and custom-code

2021-04-10 Thread Jean Abou Samra
Le 09/04/2021 à 19:29, Kevin Barry a écrit : By the way, it looks like this issue is not present in 2.20...? If someone already said that then I apologise for missing it. I wonder if we should be looking for the commit that changed it. Sorry, I'm not following, what issue exactly? Other than

Re: skylines and custom-code

2021-04-09 Thread Jean Abou Samra
Le 09/04/2021 à 19:12, Kevin Barry a écrit : On Fri, Apr 09, 2021 at 11:49:48AM +0200, Jean Abou Samra wrote: Or did you observe the same phenomenon without cross-staff beams, Kevin? The same procedure (consider_auto_knees) is called in every case. I presume if there is only one staff involved

Re: skylines and custom-code

2021-04-09 Thread Kevin Barry
By the way, it looks like this issue is not present in 2.20...? If someone already said that then I apologise for missing it. I wonder if we should be looking for the commit that changed it. Kevin

Re: skylines and custom-code

2021-04-09 Thread Kevin Barry
On Fri, Apr 09, 2021 at 11:49:48AM +0200, Jean Abou Samra wrote: > Or did you observe the same phenomenon without cross-staff > beams, Kevin? The same procedure (consider_auto_knees) is called in every case. I presume if there is only one staff involved the extent calculations will (as you suggest

Re: skylines and custom-code

2021-04-09 Thread Jean Abou Samra
Le 09/04/2021 à 11:48, Thomas Morley a écrit : Am Do., 8. Apr. 2021 um 19:26 Uhr schrieb Jean Abou Samra : Well, I need correct skylines, at least when it comes to Script, TextScript, Fingerings etc It should only remove the note heads' contribution to skylines: #(ly:set-option 'debug-skylin

Re: skylines and custom-code

2021-04-09 Thread Jean Abou Samra
Le 08/04/2021 à 18:19, Thomas Morley a écrit : Am Do., 8. Apr. 2021 um 16:21 Uhr schrieb Kevin Barry : Hi Harm, Ok, another 5 days passed working allday on the problem, progress: zero. I give up. Some insights: (1) It would have been helpful to understand how Stems fit into a Beam, then I c

Re: skylines and custom-code

2021-04-09 Thread Thomas Morley
Am Do., 8. Apr. 2021 um 19:26 Uhr schrieb Jean Abou Samra : > > > Well, I need correct skylines, at least when it comes to Script, > > TextScript, Fingerings etc > It should only remove the note heads' contribution > to skylines: > > #(ly:set-option 'debug-skylines) > > { >\override NoteHead.ve

Re: skylines and custom-code

2021-04-08 Thread Jean Abou Samra
Well, I need correct skylines, at least when it comes to Script, TextScript, Fingerings etc It should only remove the note heads' contribution to skylines: #(ly:set-option 'debug-skylines) {   \override NoteHead.vertical-skylines = ##f   \override NoteHead.no-ledgers = ##t   c'''1^"Text"   c'''

Re: skylines and custom-code

2021-04-08 Thread Kevin Barry
Hi Harm/Carl Harm wrote: > thanks for your reply. > You surely mean the position in x-axis direction for the NoteHeads!? I don't think so (see below) Carl wrote: > The problem with this proposed fix is that it would eliminate optical > spacing, which is one of the LilyPond claims to fame for prod

Re: skylines and custom-code

2021-04-08 Thread Jacques Menu
Hello Thomas, > unpure-pure-containers are a black box, maybe containing a black hole ;) I’ll re-use that one! JM

Re: skylines and custom-code

2021-04-08 Thread Carl Sorensen
On 4/8/21, 8:22 AM, "lilypond-user on behalf of Kevin Barry" wrote: I haven't had time to try and understand your issue, but having worked on problems with Stems and Beams in the past I think it's an area of the code that could be improved, because there is an effective circul

Re: skylines and custom-code

2021-04-08 Thread Thomas Morley
Am Do., 8. Apr. 2021 um 16:21 Uhr schrieb Kevin Barry : > > Hi Harm, > > > Ok, another 5 days passed working allday on the problem, progress: zero. > > I give up. > > > > Some insights: > > (1) > > It would have been helpful to understand how Stems fit into a Beam, > > then I could use this knowled

Re: skylines and custom-code

2021-04-08 Thread Thomas Morley
Am Do., 8. Apr. 2021 um 17:52 Uhr schrieb Jean Abou Samra : > > > Le 08/04/2021 à 16:21, Kevin Barry a écrit : > > Hi Harm, > > > >> Ok, another 5 days passed working allday on the problem, progress: zero. > >> I give up. > >> > >> Some insights: > >> (1) > >> It would have been helpful to understa

Re: skylines and custom-code

2021-04-08 Thread Jean Abou Samra
Le 08/04/2021 à 16:21, Kevin Barry a écrit : Hi Harm, Ok, another 5 days passed working allday on the problem, progress: zero. I give up. Some insights: (1) It would have been helpful to understand how Stems fit into a Beam, then I could use this knowledge to probably do similar with glissan

Re: skylines and custom-code

2021-04-08 Thread Kevin Barry
Hi Harm, > Ok, another 5 days passed working allday on the problem, progress: zero. > I give up. > > Some insights: > (1) > It would have been helpful to understand how Stems fit into a Beam, > then I could use this knowledge to probably do similar with glissando > and Stems. > I was not able to

Re: skylines and custom-code

2021-04-08 Thread Thomas Morley
Am Mo., 5. Apr. 2021 um 12:00 Uhr schrieb Thomas Morley : > { b'4\glissando 4 4 4 2 b'' } > > The plan is to print a glissando from b' to b'' and at intermediate > NoteColumns print a Stem starting at the glissando line, i.e. the > result will be a stemmed Glissando. > (1) Obviously I need the int

Re: skylines and custom-code

2021-04-05 Thread Thomas Morley
Am Mo., 5. Apr. 2021 um 13:48 Uhr schrieb Jean Abou Samra : > > > Le 05/04/2021 à 12:00, Thomas Morley a écrit : > > Hi Jean, > > > > thanks for your reply, though the situation is more complex than the > > initial minimal. Consider the following: > > > > { b'4\glissando 4 4 4 2 b'' } > > > > The p

Re: skylines and custom-code

2021-04-05 Thread Jean Abou Samra
Le 05/04/2021 à 12:00, Thomas Morley a écrit : Hi Jean, thanks for your reply, though the situation is more complex than the initial minimal. Consider the following: { b'4\glissando 4 4 4 2 b'' } The plan is to print a glissando from b' to b'' and at intermediate NoteColumns print a Stem sta

Re: skylines and custom-code

2021-04-05 Thread Thomas Morley
Am So., 4. Apr. 2021 um 01:25 Uhr schrieb Jean Abou Samra : > > Le 03/04/2021 à 17:28, Thomas Morley a écrit : > > Hi, > > please consider the code below. > > \version "2.22.0" > > #(ly:set-option 'debug-skylines #t) > > { > \override NoteHead.no-ledgers = ##t > %\override NoteHead.stencil = #p

Re: skylines and custom-code

2021-04-03 Thread Jean Abou Samra
Le 03/04/2021 à 17:28, Thomas Morley a écrit : Hi, please consider the code below. \version "2.22.0" #(ly:set-option 'debug-skylines #t) { \override NoteHead.no-ledgers = ##t %\override NoteHead.stencil = #point-stencil \override Stem.stencil = #(lambda (grob) (for-each