Re: scheme: problem with variable and value

2024-09-20 Thread K. Blum
Hi Timothy, Am 20.09.2024 um 21:28 schrieb Timothy Lanfear: You need (markup #:override `(box-padding . ,myvalue) #:box text) thanks a lot, that does the trick! Cheers, Klaus

Re: scheme: problem with variable and value

2024-09-20 Thread Timothy Lanfear
On 20/09/2024 20:20, K. Blum wrote: \version "2.24.3" #(define-markup-command (dosomething layout props text) (markup?)    (let* ((myvalue 1)) (interpret-markup   layout props   ; (markup #:override '(box-padding . 1) #:box text))   ; works   (markup #:override '(box-padding .

scheme: problem with variable and value

2024-09-20 Thread K. Blum
Dear community, I try to use a variable instead of a simple hard-coded value (outside the MWE, this would be the result of a calculation): %--- \version "2.24.3" #(define-markup-command (dosomething layout props text) (markup?)    (let* ((myvalue 1)) (inter