2004-08-22 Pedro Kroger <kroeger@pedrokroeger.net>
+ * Documentation/user/changing-defaults.itely (Page layout):
+ description of firstpagenumber. Moved @refbugs about rightmargin
+ to the end of the section (it was looking like the documentation
+ after the refbugs was part of the bug comment).
+
* scm/framework-ps.scm (output-framework): set the first
- postscript page number to initialpagenumber
+ postscript page number to firstpagenumber
* scm/page-layout.scm (ly:optimal-page-breaks): print the first
- page number according to initialpagenumber
+ page number according to firstpagenumber
- * scm/paper.scm (set-paper-dimensions): added initialpagenumber
+ * scm/paper.scm (set-paper-dimensions): added firstpagenumber
parameter
2004-08-22 Han-Wen Nienhuys <hanwen@xs4all.nl>
@cindex \bookpaper
@table @code
+@item firstpagenumber
+ The value of the page number of the first page. Default is 1.
@item hsize
The width of the page
@item vsize
@}
@end example
-
-@refbugs
-
-The option rightmargin is defined but doesn't set the right margin
-yet. The value for the right margin has to be defined adjusting the
-values of the leftmargin and linewidth.
-
-The default page header puts the page number and the @code{instrument}
-field from the @code{\header} block on a line.
-
-
-
-
@cindex copyright
@cindex tagline
this boolean controls whether a pagenumber is printed.
@end table
-
-
The page layout itself is done by two functions:
@code{page-music-height} and @code{page-make-stencil}. The former
tells the line-breaking algorithm how much space can be spent on a
Examples: @inputfileref{input/test/,page-breaks.ly}
+@refbugs
+
+The option rightmargin is defined but doesn't set the right margin
+yet. The value for the right margin has to be defined adjusting the
+values of the leftmargin and linewidth.
+
+The default page header puts the page number and the @code{instrument}
+field from the @code{\header} block on a line.
+
(define-public (output-framework outputter book scopes fields basename)
(let* ((bookpaper (ly:paper-book-book-paper book))
(pages (ly:paper-book-pages book))
- (page-number (1- (ly:output-def-lookup bookpaper 'initialpagenumber)))
+ (page-number (1- (ly:output-def-lookup bookpaper 'firstpagenumber)))
(page-count (length pages)))
(for-each
(lambda (x)
CURRENT-BEST is the best result sofar, or #f."
(let* ((this-page-num (if (null? best-paths)
- (ly:output-def-lookup bookpaper 'initialpagenumber)
+ (ly:output-def-lookup bookpaper 'firstpagenumber)
(1+ (node-page-number (car best-paths)))))
(prev-penalty (if (null? best-paths)
0.0
(module-define! m 'headsep (* 4 mm))
(module-define! m 'footsep (* 4 mm))
(module-define! m 'leftmargin #f)
- (module-define! m 'initialpagenumber 1)
+ (module-define! m 'firstpagenumber 1)
(module-define! m 'rightmargin (* 10 mm))))
(define (internal-set-paper-size module name)