lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'mm' scaling value on top-level


From: David Kastrup
Subject: Re: 'mm' scaling value on top-level
Date: Tue, 28 Sep 2021 15:55:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Werner LEMBERG <wl@gnu.org> writes:

> Using it with
>
> ```
> #(set-default-paper-size (cons 100 50)))
> ```
>
> works like a charm.  However, code like
>
> ```
> #(set-default-paper-size (cons (* 100 mm) (* 50 mm)))
> ```
>
> doesn't work; I get the error message
>
> ```
> error: GUILE signaled an error for the expression beginning here
> #
>  (set-default-paper-size (cons (* 100 mm) (* 50 mm)))
> Unbound variable: mm
> ```
>
> What must I do to make 'mm' and similar dimension scale values
> available at the top level?

Why would you not use it in the paper block?  mm is not a constant, it
depends on the output scale.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]