2008/10/5 Reinhold Kainhofer <[EMAIL PROTECTED]>: > -----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 _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
