lilypond-user
[Top][All Lists]
Advanced

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

Re: updated margins-a4-letter.ly


From: Neil Puttock
Subject: Re: updated margins-a4-letter.ly
Date: Sun, 5 Oct 2008 21:52:29 +0100

2008/10/5 Reinhold Kainhofer <address@hidden>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am Sonntag, 5. Oktober 2008 schrieb Graham Percival:

>> In other words, does
>> #(set-default-paper-size ...)
>> set any variables other than paper-width and paper-height?  ie is
>> there a paper-size variable?  I couldn't see any in the definition
>> of set-default-paper-size in scm/paper.scm.  I'd love to fix this, but
>> I can't see how.
>
> Yes, it does. internal-set-paper-size sets the symbol 'papersizename in the
> default paper module to the name. You can easily extract it in scheme:
>
>  #(let* ((paper (ly:output-def-scope (eval '$defaultpaper (current-module))))
>         (size (eval 'papersizename paper)))
>  (ly:message "The current default paper size is: ~a" size))

You're always one step ahead, Reinhold. :)

Don't you think however, that set-default-paper-size should reset the
program option 'paper-size?

Regards,
Neil




reply via email to

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