X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fpaper.scm;h=bd88e11c79126e588119a9207b68aec3f796c523;hb=2f84bbe9a6dc6ca2d9a49eae0bf094744e47f11d;hp=fb753ba0cc5e42579f656253862c58640ecc73e2;hpb=71e0343fdf2a1936b07db0a5892155351c72d553;p=lilypond.git diff --git a/scm/paper.scm b/scm/paper.scm index fb753ba0cc..bd88e11c79 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,6 +15,9 @@ ;;;; 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 @@ -163,10 +166,15 @@ ("c1" . (cons (* 648 mm) (* 917 mm))) ("c0" . (cons (* 917 mm) (* 1297 mm))) ;; Below are North American paper sizes + ("junior-legal" . (cons (* 8.0 in) (* 5.0 in))) ("legal" . (cons (* 8.5 in) (* 14.0 in))) ("letter" . (cons (* 8.5 in) (* 11.0 in))) ;; Ledger (17x11) is a 90 degree rotation of Tabloid + ("17x11" . (cons (* 17.0 in) (* 11.0 in))) + ("ledger" . (cons (* 17.0 in) (* 11.0 in))) + ;; Tabloid (11x17) ("11x17" . (cons (* 11.0 in) (* 17.0 in))) + ("tabloid" . (cons (* 11.0 in) (* 17.0 in))) ;; government-letter by IEEE Printer Working Group, for children's writing ("government-letter" . (cons (* 8 in) (* 10.5 in))) ("government-legal" . (cons (* 8.5 in) (* 13.0 in))) @@ -225,8 +233,8 @@ ;; F4 used in southeast Asia and Australia ("f4" . (cons (* 210 mm) (* 330 mm))) ;; Used for very small @lilypond examples in the Documentation - ;; based on c9 envelope size but landscape not portrait - ("c9landscape" . (cons (* 57 mm) (* 40 mm))) + ;; based on a8 size but landscape not portrait + ("a8landscape" . (cons (* 74 mm) (* 52 mm))) )) ;; todo: take dimension arguments.