Re: scheme: formula instead of value

2024-07-08 Thread David Kastrup
"K. Blum" writes: > Hi Valentin, hi Carl, > > yes, that does the trick. > That quoting science is what causes me headaches all the time... ;-) It's not really science. You just have to accept that LISP/Scheme does not have a programming language syntax. It has a data representation syntax (spe

Re: scheme: formula instead of value

2024-07-08 Thread K. Blum
Hi Valentin, hi Carl, yes, that does the trick. That quoting science is what causes me headaches all the time... ;-) Thanks for your immediate answers. Cheers, Klaus Am 08.07.2024 um 22:47 schrieb Valentin Petzel: Hello Klaus, as the expression is quoted it is not evaluated. Rather use quasi

Re: scheme: formula instead of value

2024-07-08 Thread Carl Sorensen
From: lilypond-user-bounces+carl.d.sorensen=gmail@gnu.org on behalf of K. Blum Date: Monday, July 8, 2024 at 2:40 PM To: lilypond-user@gnu.org , benbigno...@gmx.de Subject: scheme: formula instead of value Dear LilyPonders, in an \override statement, I want to use the result of a

Re: scheme: formula instead of value

2024-07-08 Thread Valentin Petzel
Hello Klaus, as the expression is quoted it is not evaluated. Rather use quasiquoting to allow evaluation of parts of the expression: `(baseline-skip . ,(* 0.5 4.0)) (important to have ` instead of ') Cheers, Valentin Am Montag, 8. Juli 2024, 22:39:10 MESZ schrieb K. Blum: > Dear LilyPonders,

scheme: formula instead of value

2024-07-08 Thread K. Blum
Dear LilyPonders, in an \override statement, I want to use the result of a mathematical computation instead of a simple value: % -- \version "2.24.3" \markup {   % \override #'(baseline-skip . 2)   % works   \override #'(baseline-skip . (* 0.5 4.0))   % does not work   \column {