[Top][All Lists]
[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
- Re: updated margins-a4-letter.ly, (continued)
- Re: updated margins-a4-letter.ly, Patrick Horgan, 2008/10/04
- Re: updated margins-a4-letter.ly, Graham Percival, 2008/10/05
- Re: updated margins-a4-letter.ly, Neil Puttock, 2008/10/05
- Re: updated margins-a4-letter.ly, Patrick McCarty, 2008/10/05
- Re: updated margins-a4-letter.ly, Graham Percival, 2008/10/05
- Re: updated margins-a4-letter.ly, Patrick McCarty, 2008/10/05
- Re: updated margins-a4-letter.ly, Graham Percival, 2008/10/05
- Re: updated margins-a4-letter.ly, Reinhold Kainhofer, 2008/10/05
- Re: updated margins-a4-letter.ly, David Séverin, 2008/10/05
- Re: updated margins-a4-letter.ly, Reinhold Kainhofer, 2008/10/05
- Re: updated margins-a4-letter.ly,
Neil Puttock <=