[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add 6x9 Paper Size
From: |
Jay Anderson |
Subject: |
Re: Add 6x9 Paper Size |
Date: |
Fri, 30 Sep 2011 12:18:42 -0700 |
On Fri, Sep 30, 2011 at 10:47 AM, address@hidden
<address@hidden> wrote:
> On Sep 30, 2011, at 7:43 PM, Peekay Ex wrote:
>> http://code.google.com/p/lilypond/issues/detail?id=1949
Thanks
> #(set! paper-alist (cons '("6x9" cons (* 6 in) (* 9 in)) paper-alist))
> #(set-default-paper-size "6x9")
>
> Is a workaround that you can use without modifying paper.scm. But, of
> course, there's nothing wrong with modifying paper.scm!
Modifying paper.scm is annoying when installing a new version of
lilypond (Even though that's the recommended workaround in 4.1.2 of
the notation reference). Thanks for the workaround.
Here's what I ended up doing:
#(define (add-paper-size paper-def)
(set! paper-alist (cons paper-def paper-alist)))
#(define (set-custom-paper-size paper-def)
(add-paper-size paper-def)
(set-paper-size (car paper-def)))
\paper
{
#(set-custom-paper-size '("6x9" . (cons (* 6 in) (* 9 in))))
}
-----Jay