set-global-staff-size from inside Scheme function

2014-05-16 Thread Urs Liska
Hi, I have been there already, but I can't find the corresponding email, and I don't recall if they actually contained a solution or only an explanation of the cause of the issue. So I have to start nes. For the creation of music examples in a book I have written a function \compileScore

Re: set-global-staff-size from inside Scheme function

2014-05-16 Thread Jan-Peter Voigt
Hi Urs, this constellation compiles, if you wrap the scheme-call to set-global-staff-size into a void-function. But if it is called, when the book is already opened, the staff-size is already initialized and can't be changed (for this book). It probably works, if you place #(set-global-staff-size

Re: set-global-staff-size from inside Scheme function

2014-05-16 Thread Urs Liska
Am 16.05.2014 10:54, schrieb Jan-Peter Voigt: Hi Urs, this constellation compiles, if you wrap the scheme-call to set-global-staff-size into a void-function. But if it is called, when the book is already opened, the staff-size is already initialized and can't be changed (for this book). It

Re: set-global-staff-size from inside Scheme function

2014-05-16 Thread Phil Burfitt
- Original Message - From: Urs Liska u...@openlilylib.org To: lilypond-user lilypond-user@gnu.org Sent: Friday, May 16, 2014 9:42 AM Subject: set-global-staff-size from inside Scheme function Hi, I have been there already, but I can't find the corresponding email, and I don't recall

Re: set-global-staff-size from inside Scheme function

2014-05-16 Thread Jan-Peter Voigt
Hi Urs, the last statement the include returns is not music: #(ly:set-option 'preview #t) so the parser complains. Those warnings can be avoided with void-functions, which wrap the statement. (A bit in a hurry, so no example for noew ;) ) Cheers, Jan-Peter Am 16.05.2014 12:05, schrieb Urs