Re: NR 4.3.6 Explicit Breaks

2009-02-16 Thread -Eluze


i forgot to ask why you would change the layout that Lilypond offers?
before tweaking around with line margins and width and others i would
definitely look at the natural results of Lilypond!
hth
Eluze

-- 
View this message in context: 
http://www.nabble.com/NR-4.3.6-Explicit-Breaks-tp21949123p22033232.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: NR 4.3.6 Explicit Breaks

2009-02-15 Thread Robin Bannister
Chip wrote: 
Lily still breaks lines where it wants to. 


You are fighting something very powerful and don't know it. 

All that blank space on those pages! 
It is reasonable to think that saying \pageBreak means that you 
are quite happy with whatever blank space is needed to skip the rest 
of the current page. 
But the default page breaking algorithm doesn't see it the same way; 
it abhors that bare expanse, and tries to make your meagre snippets stretch 
all the way down to the bottom, i.e. it takes charge of the line breaking. 

What makes this confusing is that it seems to behave very erratically: 
some pages are stretched a lot, others hardly at all; just changing between 
A4 and Letter can make a big difference. 



Three alternatives: 

A 
In \paper, add 
 page-spacing-weight = #0
which tells the default algorithm to let the blank space stay blank. 
But have you noticed how _long_ it takes to do what it does? 

B 
Replace the default algorithm with something less ambitious. 
In \paper, add

 #(define page-breaking ly:minimal-breaking)
This runs more quickly. 

C 
The third way is different. 
Put each \score inside a \bookpart block (making \pageBreak redundant). 
This runs quickly too, BUT 
you may notice there are no page numbers (issue 715). 
In \paper, add the workaround 
 print-first-page-number = ##t
 

Then you can get rid of ragged-right and line-break-permission. 


Cheers,
Robin



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


Re: NR 4.3.6 Explicit Breaks

2009-02-15 Thread -Eluze


Chip-5 wrote:
 
 
 I've been messing around with the various ragged-... settings 
 trying to get the staffs all the same length with the last staff to end 
 at it natural length. 
 
did you also try *ragged-last* - to me this seems what you are looking for;
you can put it in a layout block inside a \score, so each score can be
designed differently!
hth
Eluze
-- 
View this message in context: 
http://www.nabble.com/NR-4.3.6-Explicit-Breaks-tp21949123p22023874.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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