lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] Custom paper size


From: Jan Nieuwenhuizen
Subject: Re: [patch] Custom paper size
Date: Tue, 09 Aug 2005 17:26:55 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Bertalan Fodor writes:

> I've made a patch that enables me to define arbitrary paper sizes. The
> implementation could be more general, but that way it would have taken
> very much time for me, and I'm in a hurry :-) It works with PDF and
> PNG backends.

The idea is good, but this copy and paste job will not do

> +(define-public (postscript->pdf_customsize customwidth customheight name)
> +  (let* ((pdf-name (string-append (basename name ".ps") ".pdf"))

...

This switch

> +     (if (number? customwidth)

should be moved inside the postscript->pdf function, giving minimal
disruption.

Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]