X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fpage.scm;h=0a30acef4dd0471f837cb2d5acf2c9bb6fcffe71;hb=6e624bc354e691c7a0b9035e6cd9bee4257fe101;hp=3c81b7bd2e4fe419acf0335b60d048ea3adc7152;hpb=4908afe216a92f70fd6f8c8cd0db8a6aa0a10ec1;p=lilypond.git diff --git a/scm/page.scm b/scm/page.scm index 3c81b7bd2e..0a30acef4d 100644 --- a/scm/page.scm +++ b/scm/page.scm @@ -1,10 +1,19 @@ -;; -;; page.scm -- implement Page stuff. -;; -;; source file of the GNU LilyPond music typesetter -;; -;; (c) 2006 Han-Wen Nienhuys -;; +;;;; This file is part of LilyPond, the GNU music typesetter. +;;;; +;;;; Copyright (C) 2006--2011 Han-Wen Nienhuys +;;;; +;;;; LilyPond is free software: you can redistribute it and/or modify +;;;; it under the terms of the GNU General Public License as published by +;;;; the Free Software Foundation, either version 3 of the License, or +;;;; (at your option) any later version. +;;;; +;;;; LilyPond is distributed in the hope that it will be useful, +;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;;; GNU General Public License for more details. +;;;; +;;;; You should have received a copy of the GNU General Public License +;;;; along with LilyPond. If not, see . (define-module (scm page) @@ -14,7 +23,6 @@ page-prev page-printable-height layout->page-init - page-lines page-force page-penalty page-configuration @@ -61,7 +69,7 @@ (lambda (j) (module-define! page-module - (string->symbol (format "page-~a" j)) + (string->symbol (format #f "page-~a" j)) (lambda (pg) (page-property pg j)))) @@ -88,7 +96,7 @@ (define (annotate-top-space first-system layout header-stencil stencil) (let* ((top-margin (ly:output-def-lookup layout 'top-margin)) (sym (if (paper-system-title? first-system) - 'top-title-spacing + 'top-markup-spacing 'top-system-spacing)) (spacing-spec (ly:output-def-lookup layout sym)) (X-offset (ly:prob-property first-system 'X-offset 5)) @@ -238,7 +246,7 @@ (add-system (lambda (system) (let* ((stencil (paper-system-stencil system)) - (y (ly:prob-property system 'Y-offset)) + (y (ly:prob-property system 'Y-offset 0)) (is-title (paper-system-title? system))) (add-to-page stencil