lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Unwanted new page at end of score


From: Peter Gentry
Subject: RE: Unwanted new page at end of score
Date: Sat, 19 Jan 2013 09:48:18 -0000

Thanks for your reply James. The trouble is the issue dosen't appear without the whole score.
 
My problem was that the last but one page had space at the bottom of the page for another line of score but this had been shunted onto a new page. When I tried to control matters with \pageBreak or \pageTurn I enterd the problem of herding cats as far as the page layouts was concerned.
 
After much puzzlement I finally got some sense by using only \pageTurn in the music files. Is there any way of changing spacing between lines of music at arbitray places in the music data. I seem to be stuck with setting spacing globally for all movememnts.
 
By the way I have found that changing "padding" is the easiest way to control the vertical spacing - but would like to do it "on the fly" as it where.


From: james [mailto:address@hidden
Sent: Wednesday, January 16, 2013 9:03 PM
To: Peter Gentry
Cc: address@hidden
Subject: Re: Unwanted new page at end of score


On Jan 16, 2013, at 12:45 PM, Peter Gentry wrote:

I cannot suppress a page break which looks unnecessary - what am I doing wrong?.

I have included the example in the attached file which I hope does not contain too much unnecessary data.

I would welcome helpful advice on presenting such information to the list.

regards
Peter Gentry

<Last page spacing issue.xml>____________________________________


Out of curiosity, I decided to see what was in the file, yeah, I'm avoiding work I should be doing…
I'd say this looks like a debug report, for some reason sent as an .xml file created by microsoft word so as to make it readable across systems. It even includes an image of what the output is. 
The code included will not compile as-is. If you include code, even in an attached file, please make sure that it can compile on its own, independent of any other settings. Ideally, the code would contain just enough information to make the problem apparent. This goes under the heading, Creating Tiny Examples. (Note the bit that says you should include which version you're using.) 
In this case, you would need a file that includes enough information to show that the music is on two pages. Or at the very least, what overrides you've set to try and reduce the number of pages. 
The best I can make of this is this:
\paper {
annotate-spacing = ##t
two-sided = ##t
top-margin = 10\mm
bottom-margin = 10\mm 
inner-margin = 20 \mm
outer-margin = 15 \mm
binding-offset = 5 \mm
first-page-number = #1
blank-after-score-page-force = #100 % no change in output whatever value is specified here
page-breaking = #ly:page-turn-breaking 
ragged-bottom = ##t 
indent = 5\mm
print-page-number = ##t
print-first-page-number = ##f
oddHeaderMarkup = \markup \null
evenHeaderMarkup = \markup \null
oddFooterMarkup = \markup {
\fill-line {
\null \fontsize #2 \fromproperty #'header:mycustomtext 
\on-the-fly #print-page-number-check-first
\fontsize #2 \fromproperty #'page:page-number-string
} % end of fill line 
} % end of markup block
evenFooterMarkup = \oddFooterMarkup
} % end of paper block

\score {
   {
      \mark \default d''8 \f [ bes'8 bes'8 bes'8 ] c''8 [ bes'8 d''8 bes'8 ] | % 236
      ees''8 [ g''8 ees''8 c''8 ] d''8 [ c''8 e''8 c''8 ] | % 237
      f''8 [ c''8 a''8 f''8 ] g''8 [ f''8 a''8 f''8 ] | % 238
      bes''8 [ f''8 bes''8 f''8 ] c''8 [ f''8 d''8 f''8 ] | % 239
      ees''4 r4 r2 | % 240
      f''2 \p ( e''4 ees''4 ) | % 241
      d''4 r4 r2 | % 242
      r8 f''8 [ f''8 f''8 ] f''8 [ ees''8 d''8 c''8 ] | % 243
      bes''8 r4. r2 | % 244
      f'2 ( e'4 ees'4 | % 245
      d'4 ) r4 r2 | % 246
      r8 f''8 [ f''8 f''8 ] f''8 [ ees''8 d''8 c''8 ] | % 247
      bes'4 r4 r2 | % 248
      f''2 ( e''4 ees''4 ) | % 249
      d''4 r4 r2 | % 250
      d''2 ( des''4 c''4 ) | % 251
      bes'4 r4 r2 | % 252
      r8 f''8 \pp [ f''8 f''8 ] g''8 [ f''8 a''8 f''8 ] | % 253
      bes''4 r4 r2 \bar "|."
   }
}

I don't know if this truly is what you were hoping to show, but this is the best I could make of it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]