lilypond-devel
[Top][All Lists]
Advanced

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

Re: changing page numbers


From: Mats Bengtsson
Subject: Re: changing page numbers
Date: Mon, 23 Aug 2004 10:24:51 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

Will this patch also make it possible to reset the page numbering
between scores if you have have several \score in the same
.ly file? This would be convenient, for example, if you want
to typeset a number of instrumental part with a single call to
lilypond.

   /Mats

Pedro Kroger wrote:
Han-Wen Nienhuys  <address@hidden> writes:


address@hidden writes:

Since the old `pagenumber' parameter of \paper is gone for the PS
backend (why?), what shall be used instead to make lilypond start on,
say, page 2?  Looking into framework-ps.scm, function
`output-framework', I see that page-number is always initialized to
zero.  Looks like a bug...


patch appreciated.


I added the "initialpagenumber" parameter to make lilypond start on
other page numbers than 1. The code seems to be working so I commited
it to cvs. There is one catch, thought, the page number in the first
page is printed if this option is used.

Before I add this parameter to the doc, I'd like to know what you think
about the name. I prefer it better than "pagenumber".

The following code should work with lily cvs:

\bookpaper{
    initialpagenumber = 13
}

\score {
    \notes {
        \repeat unfold 1000 {c}
    }
}

Pedro


_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel

--
=============================================
        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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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