Re: Collision between accidentals and start-of-line brackets

2022-11-22 Thread Luca Fascione
On Tue, Nov 22, 2022 at 3:37 PM Leo Correia de Verdier <
leo.correia.de.verd...@gmail.com> wrote:

> That is not another bug, that is because I only redefined the regular
> barline
>

D'Oh. Of course. Thanks...



> Another curious thing is that bar six prints right for me, even without
> barlines in the beginning.
>

'msorry what's that? Could you show me?
What version of lilypond are you using?

Thanks again,
L

-- 
Luca Fascione


Re: Collision between accidentals and start-of-line brackets

2022-11-22 Thread Leo Correia de Verdier
That is not another bug, that is because I only redefined the regular barline 
(not the double) to print on the beginning of staves. Add:

  \defineBarLine "||" #'("||" "|" "||”)

to the layout block and you’re back. That needs to be done for every kind of 
barline you use. 

Another curious thing is that bar six prints right for me, even without 
barlines in the beginning.

> 22 nov. 2022 kl. 15:17 skrev Luca Fascione :
> 
> Noice, thanks Leo, this is enough of a workaround for my current state, 
> thanks for figuring that out
> 
> Cheers,
> Luca
> 
> On Tue, 22 Nov 2022, 14:04 Leo Correia de Verdier, 
>  wrote:
> Hi Luca!
> 
> This could well be a bug. In the context you have shown you can work around 
> it by printing the barlines at the beginning of staves too, by adding
> \defineBarLine "|" #'("|" "|" "|”)
> to the layout block.
> 
> HTH
> /Leo
> 
>> 22 nov. 2022 kl. 13:30 skrev Luca Fascione :
>> 
>> Ok, so, small source at the bottom
>> 
>> 
>> 
>> See how the stems of the first columns in bars 2, 6, 10 all line up, whereas 
>> on bars 3, 7, 11 they don't...
>> 
>> L
>> 
>> \version "2.22.1"
>> 
>> \layout {
>> \override Score.Clef.break-visibility = #'#(#f #f #f)  % make only the 
>> first clef visible
>> }
>> 
>> m =  \relative c'' {
>> c4 c c c | \break
>> 4 cis cis cis | 
>> 4 cis cis cis | 
>> \repeat unfold 2 { c c c c } \break
>> 4 c c c | 
>> 4 cis cis cis | 
>> \repeat unfold 2 { c c c c } \break 
>> \repeat unfold 4 { c c c c }
>> }
>> 
>> \score {
>> \m
>> }
>> 
>> 
>> On Tue, Nov 22, 2022 at 1:15 PM Luca Fascione  wrote:
>> It seems to have something to do with this:
>> 
>> \override Clef.break-visibility = #'#(#f #f #f)  
>> 
>> I'm working on shortening the source 
>> 
>> L
>> 
>> On Tue, Nov 22, 2022 at 12:25 PM Luca Fascione  wrote:
>> Ha. Ok, I'll whittle it down to something small that repros it then.
>> Thanks Leo!
>> L
>> 
>> On Tue, 22 Nov 2022, 12:00 Leo Correia de Verdier, 
>>  wrote:
>> Hi Luca!
>> 
>> This works quite well when I try to replicate it, so the code producing the 
>> error is probably needed to solve this. Try to make a minimal example. That 
>> said, one could guess that it could have something to do with 
>> break-alignments.
>> 
>> Best
>> /Leo
>> 
>>> 22 nov. 2022 kl. 11:27 skrev Luca Fascione :
>>> 
>>> Hi all,
>>> In a sheet I'm working on I'm observing that the accidentals on the first 
>>> bar of a line aren't handling collisions with the start-of-line bracket and 
>>> bar, while inbetween bars this works just fine (see attached image).
>>> 
>>> Where do I look for hints on how to fix this?
>>> 
>>> Many thanks,
>>> Luca
>>> 
>>> 
>>> -- 
>>> Luca Fascione
>>> 
>> 
>> 
>> 
>> -- 
>> Luca Fascione
>> 
>> 
>> 
>> -- 
>> Luca Fascione
>> 
> 
> 



Re: Collision between accidentals and start-of-line brackets

2022-11-22 Thread Luca Fascione
Ha.
So it works. but also reveals another bug

Note small change in bar 5: now the bar 6 line is gone again, and so it's
the correctly accounted accidental spacing...

L

\version "2.22.1"

\layout {
\override Score.Clef.break-visibility = #'#(#f #f #f)  % make only the
first clef visible
}

\defineBarLine "|" #'("|" "|" "|")


m =  \relative c'' {
c4 c c c | \break
4 cis cis cis |
4 cis cis cis |
\repeat unfold 2 { c c c c } \bar "||"  \break
4 c c c |
4 cis cis cis |
\repeat unfold 2 { c c c c } \break
\repeat unfold 4 { c c c c }
}

\score {
\m
}

On Tue, Nov 22, 2022 at 3:17 PM Luca Fascione  wrote:

> Noice, thanks Leo, this is enough of a workaround for my current state,
> thanks for figuring that out
>
> Cheers,
> Luca
>
> On Tue, 22 Nov 2022, 14:04 Leo Correia de Verdier, <
> leo.correia.de.verd...@gmail.com> wrote:
>
>> Hi Luca!
>>
>> This could well be a bug. In the context you have shown you can work
>> around it by printing the barlines at the beginning of staves too, by adding
>> \defineBarLine "|" #'("|" "|" "|”)
>> to the layout block.
>>
>> HTH
>> /Leo
>>
>> 22 nov. 2022 kl. 13:30 skrev Luca Fascione :
>>
>> Ok, so, small source at the bottom
>>
>> [image: image.png]
>>
>> See how the stems of the first columns in bars 2, 6, 10 all line up,
>> whereas on bars 3, 7, 11 they don't...
>>
>> L
>>
>> \version "2.22.1"
>>
>> \layout {
>> \override Score.Clef.break-visibility = #'#(#f #f #f)  % make only
>> the first clef visible
>> }
>>
>> m =  \relative c'' {
>> c4 c c c | \break
>> 4 cis cis cis |
>> 4 cis cis cis |
>> \repeat unfold 2 { c c c c } \break
>> 4 c c c |
>> 4 cis cis cis |
>> \repeat unfold 2 { c c c c } \break
>> \repeat unfold 4 { c c c c }
>> }
>>
>> \score {
>> \m
>> }
>>
>>
>> On Tue, Nov 22, 2022 at 1:15 PM Luca Fascione 
>> wrote:
>> It seems to have something to do with this:
>>
>> \override Clef.break-visibility = #'#(#f #f #f)
>>
>> I'm working on shortening the source
>>
>> L
>>
>> On Tue, Nov 22, 2022 at 12:25 PM Luca Fascione 
>> wrote:
>> Ha. Ok, I'll whittle it down to something small that repros it then.
>> Thanks Leo!
>> L
>>
>> On Tue, 22 Nov 2022, 12:00 Leo Correia de Verdier, <
>> leo.correia.de.verd...@gmail.com> wrote:
>> Hi Luca!
>>
>> This works quite well when I try to replicate it, so the code producing
>> the error is probably needed to solve this. Try to make a minimal example.
>> That said, one could guess that it could have something to do with
>> break-alignments.
>>
>> Best
>> /Leo
>>
>> 22 nov. 2022 kl. 11:27 skrev Luca Fascione :
>>
>> Hi all,
>> In a sheet I'm working on I'm observing that the accidentals on the first
>> bar of a line aren't handling collisions with the start-of-line bracket and
>> bar, while inbetween bars this works just fine (see attached image).
>>
>> Where do I look for hints on how to fix this?
>>
>> Many thanks,
>> Luca
>>
>>
>> --
>> Luca Fascione
>>
>>
>>
>>
>> --
>> Luca Fascione
>>
>>
>>
>> --
>> Luca Fascione
>>
>>
>>

-- 
Luca Fascione


Re: Collision between accidentals and start-of-line brackets

2022-11-22 Thread Luca Fascione
Noice, thanks Leo, this is enough of a workaround for my current state,
thanks for figuring that out

Cheers,
Luca

On Tue, 22 Nov 2022, 14:04 Leo Correia de Verdier, <
leo.correia.de.verd...@gmail.com> wrote:

> Hi Luca!
>
> This could well be a bug. In the context you have shown you can work
> around it by printing the barlines at the beginning of staves too, by adding
> \defineBarLine "|" #'("|" "|" "|”)
> to the layout block.
>
> HTH
> /Leo
>
> 22 nov. 2022 kl. 13:30 skrev Luca Fascione :
>
> Ok, so, small source at the bottom
>
> [image: image.png]
>
> See how the stems of the first columns in bars 2, 6, 10 all line up,
> whereas on bars 3, 7, 11 they don't...
>
> L
>
> \version "2.22.1"
>
> \layout {
> \override Score.Clef.break-visibility = #'#(#f #f #f)  % make only the
> first clef visible
> }
>
> m =  \relative c'' {
> c4 c c c | \break
> 4 cis cis cis |
> 4 cis cis cis |
> \repeat unfold 2 { c c c c } \break
> 4 c c c |
> 4 cis cis cis |
> \repeat unfold 2 { c c c c } \break
> \repeat unfold 4 { c c c c }
> }
>
> \score {
> \m
> }
>
>
> On Tue, Nov 22, 2022 at 1:15 PM Luca Fascione 
> wrote:
> It seems to have something to do with this:
>
> \override Clef.break-visibility = #'#(#f #f #f)
>
> I'm working on shortening the source
>
> L
>
> On Tue, Nov 22, 2022 at 12:25 PM Luca Fascione 
> wrote:
> Ha. Ok, I'll whittle it down to something small that repros it then.
> Thanks Leo!
> L
>
> On Tue, 22 Nov 2022, 12:00 Leo Correia de Verdier, <
> leo.correia.de.verd...@gmail.com> wrote:
> Hi Luca!
>
> This works quite well when I try to replicate it, so the code producing
> the error is probably needed to solve this. Try to make a minimal example.
> That said, one could guess that it could have something to do with
> break-alignments.
>
> Best
> /Leo
>
> 22 nov. 2022 kl. 11:27 skrev Luca Fascione :
>
> Hi all,
> In a sheet I'm working on I'm observing that the accidentals on the first
> bar of a line aren't handling collisions with the start-of-line bracket and
> bar, while inbetween bars this works just fine (see attached image).
>
> Where do I look for hints on how to fix this?
>
> Many thanks,
> Luca
>
>
> --
> Luca Fascione
>
>
>
>
> --
> Luca Fascione
>
>
>
> --
> Luca Fascione
>
>
>


Re: Collision between accidentals and start-of-line brackets

2022-11-22 Thread Leo Correia de Verdier
Hi Luca!

This could well be a bug. In the context you have shown you can work around it 
by printing the barlines at the beginning of staves too, by adding
\defineBarLine "|" #'("|" "|" "|”)
to the layout block.

HTH
/Leo

> 22 nov. 2022 kl. 13:30 skrev Luca Fascione :
> 
> Ok, so, small source at the bottom
> 
> 
> 
> See how the stems of the first columns in bars 2, 6, 10 all line up, whereas 
> on bars 3, 7, 11 they don't...
> 
> L
> 
> \version "2.22.1"
> 
> \layout {
> \override Score.Clef.break-visibility = #'#(#f #f #f)  % make only the 
> first clef visible
> }
> 
> m =  \relative c'' {
> c4 c c c | \break
> 4 cis cis cis | 
> 4 cis cis cis | 
> \repeat unfold 2 { c c c c } \break
> 4 c c c | 
> 4 cis cis cis | 
> \repeat unfold 2 { c c c c } \break 
> \repeat unfold 4 { c c c c }
> }
> 
> \score {
> \m
> }
> 
> 
> On Tue, Nov 22, 2022 at 1:15 PM Luca Fascione  wrote:
> It seems to have something to do with this:
> 
> \override Clef.break-visibility = #'#(#f #f #f)  
> 
> I'm working on shortening the source 
> 
> L
> 
> On Tue, Nov 22, 2022 at 12:25 PM Luca Fascione  wrote:
> Ha. Ok, I'll whittle it down to something small that repros it then.
> Thanks Leo!
> L
> 
> On Tue, 22 Nov 2022, 12:00 Leo Correia de Verdier, 
>  wrote:
> Hi Luca!
> 
> This works quite well when I try to replicate it, so the code producing the 
> error is probably needed to solve this. Try to make a minimal example. That 
> said, one could guess that it could have something to do with 
> break-alignments.
> 
> Best
> /Leo
> 
>> 22 nov. 2022 kl. 11:27 skrev Luca Fascione :
>> 
>> Hi all,
>> In a sheet I'm working on I'm observing that the accidentals on the first 
>> bar of a line aren't handling collisions with the start-of-line bracket and 
>> bar, while inbetween bars this works just fine (see attached image).
>> 
>> Where do I look for hints on how to fix this?
>> 
>> Many thanks,
>> Luca
>> 
>> 
>> -- 
>> Luca Fascione
>> 
> 
> 
> 
> -- 
> Luca Fascione
> 
> 
> 
> -- 
> Luca Fascione
> 



Re: Collision between accidentals and start-of-line brackets

2022-11-22 Thread Luca Fascione
Ok, so, small source at the bottom

[image: image.png]

See how the stems of the first columns in bars 2, 6, 10 all line up,
whereas on bars 3, 7, 11 they don't...

L

\version "2.22.1"

\layout {
\override Score.Clef.break-visibility = #'#(#f #f #f)  % make only the
first clef visible
}

m =  \relative c'' {
c4 c c c | \break
4 cis cis cis |
4 cis cis cis |
\repeat unfold 2 { c c c c } \break
4 c c c |
4 cis cis cis |
\repeat unfold 2 { c c c c } \break
\repeat unfold 4 { c c c c }
}

\score {
\m
}


On Tue, Nov 22, 2022 at 1:15 PM Luca Fascione  wrote:

> It seems to have something to do with this:
>
> \override Clef.break-visibility = #'#(#f #f #f)
>
> I'm working on shortening the source
>
> L
>
> On Tue, Nov 22, 2022 at 12:25 PM Luca Fascione 
> wrote:
>
>> Ha. Ok, I'll whittle it down to something small that repros it then.
>> Thanks Leo!
>> L
>>
>> On Tue, 22 Nov 2022, 12:00 Leo Correia de Verdier, <
>> leo.correia.de.verd...@gmail.com> wrote:
>>
>>> Hi Luca!
>>>
>>> This works quite well when I try to replicate it, so the code producing
>>> the error is probably needed to solve this. Try to make a minimal example.
>>> That said, one could guess that it could have something to do with
>>> break-alignments.
>>>
>>> Best
>>> /Leo
>>>
>>> 22 nov. 2022 kl. 11:27 skrev Luca Fascione :
>>>
>>> Hi all,
>>> In a sheet I'm working on I'm observing that the accidentals on the
>>> first bar of a line aren't handling collisions with the start-of-line
>>> bracket and bar, while inbetween bars this works just fine (see
>>> attached image).
>>>
>>> Where do I look for hints on how to fix this?
>>>
>>> Many thanks,
>>> Luca
>>>
>>> [image: image.png]
>>> --
>>> Luca Fascione
>>>
>>>
>>>
>
> --
> Luca Fascione
>
>

-- 
Luca Fascione


Re: Collision between accidentals and start-of-line brackets

2022-11-22 Thread Luca Fascione
It seems to have something to do with this:

\override Clef.break-visibility = #'#(#f #f #f)

I'm working on shortening the source

L

On Tue, Nov 22, 2022 at 12:25 PM Luca Fascione  wrote:

> Ha. Ok, I'll whittle it down to something small that repros it then.
> Thanks Leo!
> L
>
> On Tue, 22 Nov 2022, 12:00 Leo Correia de Verdier, <
> leo.correia.de.verd...@gmail.com> wrote:
>
>> Hi Luca!
>>
>> This works quite well when I try to replicate it, so the code producing
>> the error is probably needed to solve this. Try to make a minimal example.
>> That said, one could guess that it could have something to do with
>> break-alignments.
>>
>> Best
>> /Leo
>>
>> 22 nov. 2022 kl. 11:27 skrev Luca Fascione :
>>
>> Hi all,
>> In a sheet I'm working on I'm observing that the accidentals on the first
>> bar of a line aren't handling collisions with the start-of-line bracket and
>> bar, while inbetween bars this works just fine (see attached image).
>>
>> Where do I look for hints on how to fix this?
>>
>> Many thanks,
>> Luca
>>
>> [image: image.png]
>> --
>> Luca Fascione
>>
>>
>>

-- 
Luca Fascione


Re: Collision between accidentals and start-of-line brackets

2022-11-22 Thread Luca Fascione
Ha. Ok, I'll whittle it down to something small that repros it then.
Thanks Leo!
L

On Tue, 22 Nov 2022, 12:00 Leo Correia de Verdier, <
leo.correia.de.verd...@gmail.com> wrote:

> Hi Luca!
>
> This works quite well when I try to replicate it, so the code producing
> the error is probably needed to solve this. Try to make a minimal example.
> That said, one could guess that it could have something to do with
> break-alignments.
>
> Best
> /Leo
>
> 22 nov. 2022 kl. 11:27 skrev Luca Fascione :
>
> Hi all,
> In a sheet I'm working on I'm observing that the accidentals on the first
> bar of a line aren't handling collisions with the start-of-line bracket and
> bar, while inbetween bars this works just fine (see attached image).
>
> Where do I look for hints on how to fix this?
>
> Many thanks,
> Luca
>
> [image: image.png]
> --
> Luca Fascione
>
>
>


Re: Collision between accidentals and start-of-line brackets

2022-11-22 Thread Leo Correia de Verdier
Hi Luca!

This works quite well when I try to replicate it, so the code producing the 
error is probably needed to solve this. Try to make a minimal example. That 
said, one could guess that it could have something to do with break-alignments.

Best
/Leo

> 22 nov. 2022 kl. 11:27 skrev Luca Fascione :
> 
> Hi all,
> In a sheet I'm working on I'm observing that the accidentals on the first bar 
> of a line aren't handling collisions with the start-of-line bracket and bar, 
> while inbetween bars this works just fine (see attached image).
> 
> Where do I look for hints on how to fix this?
> 
> Many thanks,
> Luca
> 
> 
> -- 
> Luca Fascione
> 



Collision between accidentals and start-of-line brackets

2022-11-22 Thread Luca Fascione
Hi all,
In a sheet I'm working on I'm observing that the accidentals on the first
bar of a line aren't handling collisions with the start-of-line bracket and
bar, while inbetween bars this works just fine (see attached image).

Where do I look for hints on how to fix this?

Many thanks,
Luca

[image: image.png]
-- 
Luca Fascione