Re: 'mm' scaling value on top-level

2021-09-29 Thread David Kastrup
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

Re: 'mm' scaling value on top-level

2021-09-29 Thread Werner LEMBERG
>> 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

Re: 'mm' scaling value on top-level

2021-09-28 Thread Werner LEMBERG
> 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

Re: 'mm' scaling value on top-level

2021-09-28 Thread David Kastrup
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

Re: 'mm' scaling value on top-level

2021-09-28 Thread Aaron Hill
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

Re: 'mm' scaling value on top-level

2021-09-28 Thread Werner LEMBERG
>> #(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

Re: 'mm' scaling value on top-level

2021-09-28 Thread David Kastrup
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 >> >>

Re: 'mm' scaling value on top-level

2021-09-28 Thread David Kastrup
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