lilypond-user
[Top][All Lists]
Advanced

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

How to initialize first page number to something other than 1?


From: Rick Hansen (aka RickH)
Subject: How to initialize first page number to something other than 1?
Date: Wed, 27 Sep 2006 11:15:57 -0700 (PDT)

It appears that the "first-page-number" property is not working, here is an
example:  Note that the first page number in the odd/even mirrored footers
always comes out as 1, even with setting first-page-number to 4. (v2.9.18)

Is this still broken?  (there are some old bug reports on it but those go
back to v2.4.)

Thanks for any info on this.



%EXAMPLE BEGIN


\version "2.9.18"
\include "english.ly"

#(set-default-paper-size "letter" 'portrait)

\paper {
   paper-height = 11.0\in
   paper-width = 8.5\in
   line-width = 7.7\in
   left-margin = 0.4\in
   top-margin = 0.25\in
   bottom-margin = 0.25\in
   page-top-space = 0.0\in
   foot-separation = 0.0\in
   head-separation = 0.0\in
   after-title-space = 0.0\in
   between-title-space = 0.0\in
   horizontal-shift = 0.0\in
   annotate-spacing = ##f
   between-system-padding = #1
   between-system-space = #30
   first-page-number = #4
   printfirst-page-number = ##f
   print-page-number = ##f
   oddFooterMarkup = \markup { \fill-line { \hspace #0 { \bold \fromproperty
#'page:page-number-string } } }
   evenFooterMarkup = \markup { \fill-line { { \bold \fromproperty
#'page:page-number-string } \hspace #0 } }
}

   \new Staff \with {
   }
   {
         \clef "treble"
         \key ef \major
         \time 4/4
         \relative c'' {
            %1
            af8. g16 f8. ef16 f4. g8
            \noBreak
            |
            %2
            bf8. af16 g8. f16 af4. bf8
            \noBreak
            |
            %3
            ef8. d16 c8. bf16 c2
            \pageBreak
            |
            %4
            r2 r4 d4
            \noBreak
            |
            %5
            f8. ef16 d8. c16 d4 ef
            \noBreak
            |
         }
   }

   \layout {
         ragged-right = ##t
         ragged-last = ##t
           ragged-bottom = ##t
           ragged-last-bottom = ##t
                indent = 0.0\in
}



%EXAMPLE END


-- 
View this message in context: 
http://www.nabble.com/How-to-initialize-first-page-number-to-something-other-than-1--tf2346452.html#a6532338
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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