Werner LEMBERG writes:
>>> OK, thanks for the pointer. But I wonder what exactly the problem
>>> is: The paper size strings passed to `set-default-paper-size` *do*
>>> contain the 'mm' variable, see `paper-alist`. Is the expansion of
>>> 'mm' delayed? Isn't there a possibility to do the same o
>> OK, thanks for the pointer. But I wonder what exactly the problem
>> is: The paper size strings passed to `set-default-paper-size` *do*
>> contain the 'mm' variable, see `paper-alist`. Is the expansion of
>> 'mm' delayed? Isn't there a possibility to do the same on the top
>> level?
>
> You
> The paper size strings passed to `set-default-paper-size` *do*
> contain the 'mm' variable, see `paper-alist`. Is the expansion of
> 'mm' delayed? Isn't there a possibility to do the same on the top
> level?
I mean, passing numerical values plus a dimension scaling variable
like 'mm' to `set
Werner LEMBERG writes:
>>> #(set-default-paper-size (cons (* 100 mm) (* 50 mm)))
>>> ```
>>>
>>> doesn't work;
>>>
>>> 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 de
On 2021-09-28 9:21 am, Werner LEMBERG wrote:
OK, thanks for the pointer. But I wonder what exactly the problem is:
The paper size strings passed to `set-default-paper-size` *do* contain
the 'mm' variable, see `paper-alist`. Is the expansion of 'mm'
delayed? Isn't there a possibility to do the
>> #(set-default-paper-size (cons (* 100 mm) (* 50 mm)))
>> ```
>>
>> doesn't work;
>>
>> 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.
OK, t
David Kastrup writes:
> Werner LEMBERG 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
>>
>>
Werner LEMBERG 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