X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fpaper.scm;h=b036ceb179b2139ebfabfadbd9917e8575f8dac4;hb=579b35c864e72d90ef9f212ff8d0623b78a6233a;hp=bc6e2e19448189648db604614c3c3a11e54c598a;hpb=f2fbf0dd215c8af6a30aae6c9634f3b92333b0ab;p=lilypond.git diff --git a/scm/paper.scm b/scm/paper.scm index bc6e2e1944..b036ceb179 100644 --- a/scm/paper.scm +++ b/scm/paper.scm @@ -1,6 +1,6 @@ ;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; Copyright (C) 2004--2011 Han-Wen Nienhuys +;;;; Copyright (C) 2004--2012 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 @@ -15,11 +15,16 @@ ;;;; You should have received a copy of the GNU General Public License ;;;; along with LilyPond. If not, see . +; for define-safe-public when byte-compiling using Guile V2 +(use-modules (scm safe-utility-defs)) + (define-public (set-paper-dimension-variables mod) (module-define! mod 'dimension-variables '(blot-diameter bottom-margin cm + footnote-footer-padding + footnote-padding horizontal-shift in indent @@ -222,6 +227,9 @@ ("pa10" . (cons (* 26 mm) (* 35 mm))) ;; F4 used in southeast Asia and Australia ("f4" . (cons (* 210 mm) (* 330 mm))) + ;; Used for very small @lilypond examples in the Documentation + ;; based on a8 size but landscape not portrait + ("a8landscape" . (cons (* 74 mm) (* 52 mm))) )) ;; todo: take dimension arguments.