On Fri, Sep 30, 2011 at 10:47 AM, [email protected]
<[email protected]> 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
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond