X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fpage.scm;h=f65c9559d3ca7510e695638c0c0ae3c949245bd9;hb=aa049c284313d3c358c5f4c1980944dcdf1d2130;hp=3c81b7bd2e4fe419acf0335b60d048ea3adc7152;hpb=4908afe216a92f70fd6f8c8cd0db8a6aa0a10ec1;p=lilypond.git diff --git a/scm/page.scm b/scm/page.scm index 3c81b7bd2e..f65c9559d3 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 @@ -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