Re: collision, is there a workaround?

2008-01-10 Thread Mats Bengtsson



Valentin Villenave wrote:


This is the FIRST TIME EVER that I see a (smallest) mistake in one of
your mails!
  

Then you haven't read them so carefully! :-)
Anyway, I realize that my previous formulations of this bug (and 
therefore your

description of it in the bug tracker) may be misleading.
The bug is an (almost) collision between a rest and an accidental and 
the fact

that this only occurs when the note and the rest are outside the staff.
Even though the spacing algorithms have changed between 2.10 and 2.11
and it's partly subjective how closely spaced the objects could be 
before calling
it a bug, the problem here is that there's no "non-ugly" way of fixing 
the problem

for a user who wants a larger spacing.
Perhaps the true bug may be that the left-padding property is completely
ignored in
\relative c''  {
\override Score.AccidentalPlacement #'left-padding = #10
a8\rest ais4 }
The default setting of this property is 0.2, which seems to indicate 
that the intention

is to avoid the edge-to-edge placement that we see with 2.11.37.


   /Mats


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: collision, is there a workaround?

2008-01-10 Thread Valentin Villenave
2008/1/10, Mats Bengtsson <[EMAIL PROTECTED]>:

> Right, that's what I mean. If you compare to 2.10, you will see a
> significant difference.

I have to take your word here :)

> The fact that
> \relative c'''  { a8\rest \once \override Score.SeparationItem #'padding
> = #10 ais4 }
> doesn't make any difference is also a regression against 2.10.

I have mentioned it on the Issue's page.

> My apologies, I had several small examples in the same file and didn't
> notice that
> I had this setting earlier in the file.

This is the FIRST TIME EVER that I see a (smallest) mistake in one of
your mails!
After all, who knows, you might be human in the end... :-)

Cheers,
Valentin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: collision, is there a workaround?

2008-01-10 Thread Mats Bengtsson



Valentin Villenave wrote:

2008/1/10, Mats Bengtsson <[EMAIL PROTECTED]>:

  

When I try it here, I don't see any difference if I set ragged-right or
not.
Note that I have compiled LilyPond myself based on the latest version of
the source code in GIT, so if it's a very recent bug you may not see it in
your version.



I have to say I'm a little confused. I have added it as #554, but I
dont really see an obvious collision here (2.11.37). Sure, there seems
to be no white space between the rest and the accidental, but no
overlapping either.
  
Right, that's what I mean. If you compare to 2.10, you will see a 
significant difference.

The fact that
\relative c'''  { a8\rest \once \override Score.SeparationItem #'padding 
= #10 ais4 }

doesn't make any difference is also a regression against 2.10.

Mats: your minimal example needs ragged-right to be set to true
indeed, otherwise the rest and the note are spread on the whole line
and there is no collision.
  
My apologies, I had several small examples in the same file and didn't 
notice that

I had this setting earlier in the file.


  /Mats


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: collision, is there a workaround?

2008-01-10 Thread Valentin Villenave
2008/1/10, Mats Bengtsson <[EMAIL PROTECTED]>:

> When I try it here, I don't see any difference if I set ragged-right or
> not.
> Note that I have compiled LilyPond myself based on the latest version of
> the source code in GIT, so if it's a very recent bug you may not see it in
> your version.

I have to say I'm a little confused. I have added it as #554, but I
dont really see an obvious collision here (2.11.37). Sure, there seems
to be no white space between the rest and the accidental, but no
overlapping either.

Mats: your minimal example needs ragged-right to be set to true
indeed, otherwise the rest and the note are spread on the whole line
and there is no collision.

Cheers,
Valentin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: collision, is there a workaround?

2008-01-10 Thread Mats Bengtsson



Damian leGassick wrote:

with ragged-right = ##t there's no collision
When I try it here, I don't see any difference if I set ragged-right or 
not.

Note that I have compiled LilyPond myself based on the latest version of
the source code in GIT, so if it's a very recent bug you may not see it in
your version.

  /Mats


d


On 10 Jan 2008, at 09:37, Mats Bengtsson wrote:


Your example can be reduced to
\version "2.11.37"
\relative c'''  { a8\rest ais4 }
which shows the same bug, namely a collision between the rest
and the note (which only seems to happen if the pitch is high enough 
so that

the note gets a ledger line). This is a regression against 2.10.33.

Strangely enough, you can't use standard tricks like

\once \override Score.SeparationItem #'padding = #1

to add some spacing between the notes. The only solution I could find 
was

to add the following before the rest:
\once \override Rest #'X-extent = #'(0 . 1.5)

  /Mats

Ole Schmidt wrote:

Dear all,

in the third bar on the first beat is a collision in the upper voice 
(between the rest and the bis).
Is this is known issue? Does this have to do with the usage of 
\partcombine? Is there a workaround?

thanks for help

best

ole

%
\version "2.11.36"

\layout { ragged-right = ##t }

testfile = \new Staff  {
\set Staff.printPartCombineTexts = ##f
\time 6/4
\clef "G_8"
 \partcombine
\relative c' {R1.|
r2
\times 2/3 { r8 gis'4( } cis,4) r2 |
\times 2/3 { r8 bis'4( } gis4~ gis fis ~ fis) r4 |
}
\relative c' {  R1.| r2 r2  r4 b~( | b~ \times 2/3 { b8 
cis4~ } cis4 cis e!) r |

} }

\score {

\testfile

}

%


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463   
   Fax:   (+46) 8 790 7260

Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: collision, is there a workaround?

2008-01-10 Thread Damian leGassick

with ragged-right = ##t there's no collision

d


On 10 Jan 2008, at 09:37, Mats Bengtsson wrote:


Your example can be reduced to
\version "2.11.37"
\relative c'''  { a8\rest ais4 }
which shows the same bug, namely a collision between the rest
and the note (which only seems to happen if the pitch is high  
enough so that

the note gets a ledger line). This is a regression against 2.10.33.

Strangely enough, you can't use standard tricks like

\once \override Score.SeparationItem #'padding = #1

to add some spacing between the notes. The only solution I could  
find was

to add the following before the rest:
\once \override Rest #'X-extent = #'(0 . 1.5)

  /Mats

Ole Schmidt wrote:

Dear all,

in the third bar on the first beat is a collision in the upper  
voice (between the rest and the bis).
Is this is known issue? Does this have to do with the usage of  
\partcombine? Is there a workaround?

thanks for help

best

ole

%
\version "2.11.36"

\layout { ragged-right = ##t }

testfile = \new Staff  {
\set Staff.printPartCombineTexts = ##f
\time 6/4
\clef "G_8"
 \partcombine
\relative c' {R1.|
r2
\times 2/3 { r8 gis'4( } cis,4) r2 |
\times 2/3 { r8 bis'4( } gis4~ gis fis ~ fis) r4 |
}
\relative c' {  R1.| r2 r2  r4 b~( | b~ \times 2/3  
{ b8 cis4~ } cis4 cis e!) r |

} }

\score {

\testfile

}

%


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: collision, is there a workaround?

2008-01-10 Thread Mats Bengtsson

Your example can be reduced to
\version "2.11.37"
\relative c'''  { a8\rest ais4 }
which shows the same bug, namely a collision between the rest
and the note (which only seems to happen if the pitch is high enough so that
the note gets a ledger line). This is a regression against 2.10.33.

Strangely enough, you can't use standard tricks like

\once \override Score.SeparationItem #'padding = #1

to add some spacing between the notes. The only solution I could find was
to add the following before the rest:
\once \override Rest #'X-extent = #'(0 . 1.5)

  /Mats

Ole Schmidt wrote:

Dear all,

in the third bar on the first beat is a collision in the upper voice 
(between the rest and the bis).
Is this is known issue? Does this have to do with the usage of 
\partcombine? Is there a workaround?

thanks for help

best

ole

%
\version "2.11.36"

\layout { ragged-right = ##t }

testfile = \new Staff  {

\set Staff.printPartCombineTexts = ##f

\time 6/4

\clef "G_8"
 \partcombine
\relative c' {
R1.|

r2
\times 2/3 { r8 gis'4( } cis,4) r2 |
\times 2/3 { r8 bis'4( } gis4~ gis fis ~ fis) r4 |
}
\relative c' { 
 R1.| r2 r2  r4 b~( | b~ \times 2/3 { b8 cis4~ } cis4 cis e!) r |   


} }

\score {

\testfile

}

%


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


collision, is there a workaround?

2008-01-09 Thread Ole Schmidt

Dear all,

in the third bar on the first beat is a collision in the upper voice  
(between the rest and the bis).
Is this is known issue? Does this have to do with the usage of  
\partcombine? Is there a workaround?

thanks for help

best

ole

%
\version "2.11.36"

\layout { ragged-right = ##t }

testfile = \new Staff  {

\set Staff.printPartCombineTexts = ##f

\time 6/4
\clef "G_8"
 \partcombine
\relative c' {  
R1.|
r2
\times 2/3 { r8 gis'4( } cis,4) r2 |
\times 2/3 { r8 bis'4( } gis4~ gis fis ~ fis) r4 |
}
\relative c' {  
 R1.| r2 r2  r4 b~( | b~ \times 2/3 { b8 cis4~ } cis4 cis e!) r |   

} }

\score {

\testfile

}

%


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user