Re: Issue 1240 in lilypond: Music overflows page: #'((space . N) (stretchability . 0)) and nothing more with spacings

2010-10-26 Thread lilypond

Updates:
Status: Verified

Comment #8 on issue 1240 by v.villenave: Music overflows page: #'((space .  
N) (stretchability . 0)) and nothing more with spacings

http://code.google.com/p/lilypond/issues/detail?id=1240

Thanks Joe!


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


Re: Issue 1240 in lilypond: Music overflows page: #'((space . N) (stretchability . 0)) and nothing more with spacings

2010-10-24 Thread lilypond

Updates:
Status: Fixed
Labels: fixed_2_13_37

Comment #7 on issue 1240 by joeneeman: Music overflows page: #'((space . N)  
(stretchability . 0)) and nothing more with spacings

http://code.google.com/p/lilypond/issues/detail?id=1240

The example with the piano staves is a different bug, which is now fixed in  
git. The original bug is fixed too.



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


Re: Issue 1240 in lilypond: Music overflows page: #'((space . N) (stretchability . 0)) and nothing more with spacings

2010-09-29 Thread lilypond

Updates:
Labels: -Priority-Medium Priority-Critical

Comment #6 on issue 1240 by percival.music.ca: Music overflows page:  
#'((space . N) (stretchability . 0)) and nothing more with spacings

http://code.google.com/p/lilypond/issues/detail?id=1240

Thanks for the example, Keith!  I'm bumping this up to Critical.


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


Re: Issue 1240 in lilypond: Music overflows page: #'((space . N) (stretchability . 0)) and nothing more with spacings

2010-09-27 Thread David Kastrup
lilyp...@googlecode.com writes:

> Comment #5 on issue 1240 by k-ohara5...@oco.net: Music overflows page:
> #'((space . N) (stretchability . 0)) and nothing more with spacings
> http://code.google.com/p/lilypond/issues/detail?id=1240
>
> Maybe this was known, but piano staves can overflow the page with no
> overrides -- for example:
>
> % In 2.13.24 this overflows the page by 41.4
> % (two and one-half systems off the bottom of the page)
> % 2.12.3 sets this on two pages
> %
> { <<
> \new Staff{
>   \clef bass
>   \repeat unfold 12 {s1 \break}
> }
> \new Staff {
>   \clef bass
>   \repeat unfold 12 {s1 \break}
> } >> }

Hm.  Initial skyline estimate does not take into account the systems
themselves and/or the clef?

-- 
David Kastrup


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


Re: Issue 1240 in lilypond: Music overflows page: #'((space . N) (stretchability . 0)) and nothing more with spacings

2010-09-27 Thread lilypond


Comment #5 on issue 1240 by k-ohara5...@oco.net: Music overflows page:  
#'((space . N) (stretchability . 0)) and nothing more with spacings

http://code.google.com/p/lilypond/issues/detail?id=1240

Maybe this was known, but piano staves can overflow the page with no  
overrides -- for example:


% In 2.13.24 this overflows the page by 41.4
% (two and one-half systems off the bottom of the page)
% 2.12.3 sets this on two pages
%
{ <<
\new Staff{
  \clef bass
  \repeat unfold 12 {s1 \break}
}
\new Staff {
  \clef bass
  \repeat unfold 12 {s1 \break}
} >> }


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


Re: Issue 1240 in lilypond: Music overflows page: #'((space . N) (stretchability . 0)) and nothing more with spacings

2010-09-21 Thread lilypond

Updates:
Labels: Patch

Comment #4 on issue 1240 by neziap: Music overflows page: #'((space . N)  
(stretchability . 0)) and nothing more with spacings

http://code.google.com/p/lilypond/issues/detail?id=1240

(No comment was entered for this change.)


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


Re: Issue 1240 in lilypond: Music overflows page: #'((space . N) (stretchability . 0)) and nothing more with spacings

2010-08-27 Thread lilypond

Updates:
Status: Started
Owner: joeneeman

Comment #3 on issue 1240 by joeneeman: Music overflows page: #'((space . N)  
(stretchability . 0)) and nothing more with spacings

http://code.google.com/p/lilypond/issues/detail?id=1240

Patch here:
http://codereview.appspot.com/2065041/

There are some pretty ugly hacks (like creating a dummy Paper_column in  
System::get_pure_bound in order to do a binary search on all paper  
columns), so I'm hoping someone has better suggestions...



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


Re: Issue 1240 in lilypond: Music overflows page: #'((space . N) (stretchability . 0)) and nothing more with spacings

2010-08-25 Thread lilypond


Comment #2 on issue 1240 by n.puttock: Music overflows page: #'((space . N)  
(stretchability . 0)) and nothing more with spacings

http://code.google.com/p/lilypond/issues/detail?id=1240

#'((space . N) (stretchability . 0)) is effectively the same as setting  
alignment-distances (i.e., fixed space between staves).


Here are two simpler snippets, both demonstrating the same problem (and  
identical overflows):


<<
  \new Staff \with {
\override VerticalAxisGroup #'next-staff-spacing =
#'((space . 20) (stretchability . 0))
  } \relative c'' {
\repeat "unfold" 42 { c4 c c c }
  }
  \new Staff \relative c' {
\repeat "unfold" 42 { c4 c c c }
  }


\score {
  <<
\relative c'' {
  \repeat "unfold" 42 { c4 c c c }
}
\relative c' {
  \repeat "unfold" 42 { c4 c c c }
}
  >>
  \layout {
\context {
  \Score
  \override NonMusicalPaperColumn #'line-break-system-details
  = #'((alignment-distances . (20)))
}
  }
}

-> warning: couldn't fit music on page: overflow is 11.898871

The extent estimate is far worse using alignment-distances though.

Attachments:
overflow.png  35.7 KB


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


Re: Issue 1240 in lilypond: Music overflows page: #'((space . N) (stretchability . 0)) and nothing more with spacings

2010-08-25 Thread lilypond


Comment #1 on issue 1240 by brownian.box: Music overflows page: #'((space .  
N) (stretchability . 0)) and nothing more with spacings

http://code.google.com/p/lilypond/issues/detail?id=1240


Actually 2.12 allows to specify
'minimum-Y-extent for staves
Sorry, 2.13 allows this as well, here are some workarounds, surely. I  
didn't mention that it's impossible with 2.13 .)



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


Issue 1240 in lilypond: Music overflows page: #'((space . N) (stretchability . 0)) and nothing more with spacings

2010-08-25 Thread lilypond

Status: Accepted
Owner: 
Labels: Type-Defect Priority-Medium

New issue 1240 by brownian.box: Music overflows page: #'((space . N)  
(stretchability . 0)) and nothing more with spacings

http://code.google.com/p/lilypond/issues/detail?id=1240

% --8< 
\version "2.13.31"

\score {
  \context ChoirStaff <<
\new Staff \with {
  \override VerticalAxisGroup #'next-staff-spacing =
#'((space . 18) (stretchability . 0))
} <<
  \new Voice {
\repeat "unfold" 42 { c''4 c'' c'' c'' }
  }
>>
%
\new Staff \with {
  \override VerticalAxisGroup #'next-staff-spacing =
  #'((space . 18) (stretchability . 0))
} <<
  \new Voice {
\repeat "unfold" 42 { c''4 c'' c'' c'' }
  }
>>
%
\new Staff \with {
  \override VerticalAxisGroup #'next-staff-spacing =
  #'((space . 18) (stretchability . 0))
} <<
  \new Voice {
\clef "treble_8"
\repeat "unfold" 42 { c'4 c' c' c' }
  }
>>
\new Staff <<
  \new Voice {
\clef "bass"
\repeat "unfold" 42 { c4 c c c }
  }
>>
  >>
}
% --8< 

This leads to:
% --8< 
$ LANG=C lilypond test.ly
GNU LilyPond 2.13.31
Processing `./test.ly'
Parsing...
Interpreting music... [8][16][24][32][40]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 or 2 pages...
Drawing systems...
warning: couldn't fit music on page: overflow is 147.300236
Layout output to `test.ps'...
Converting to `./test.pdf'...
success: Compilation successfully completed
% --8< 

Most recent "affected" version is 2.13.21, i have not tested with earlier  
versions, sorry.


Overflow value, obviously, depends on music (180 for page 2 and 350 for  
page 3 in real score).


Actually 2.12 allows to specify 'minimum-Y-extent for staves, so in some  
sense this is a regression.


But "i'm unsure", so "set it to Medium".

Please, take a look and reassign labels, THANKS.


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