lilypond-user
[Top][All Lists]
Advanced

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

Re: Re : contribute paper.scm


From: Valentin Villenave
Subject: Re: Re : contribute paper.scm
Date: Sat, 31 May 2008 23:04:17 +0200

2008/5/31  <address@hidden>:

> Here you are :-)

Sorry, I should have checked the patch before sending it.

I'm not sure why the following has been modified:

 (define-safe-public (set-global-staff-size sz)
   "Set the default staff size, where SZ is thought to be in PT."
   (let* ((current-mod (current-module))
-        (parser (eval 'parser current-mod))
-        (pap (ly:parser-lookup parser '$defaultpaper))
+        (pap (eval '$defaultpaper current-mod))
         (in-layout? (or (module-defined? current-mod 'is-paper)
                         (module-defined? current-mod 'is-layout)))


Anyway, here's a cleaner patch.

Cheers,
Valentin

Attachment: 0001-Implementation-of-paper-sizes.patch
Description: Binary data


reply via email to

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