Werner LEMBERG <w...@gnu.org> 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 depends on the output scale. > > 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?
Sure, it is quoted. > Isn't there a possibility to do the same on the top level? Of course you can quote. lookup-paper-name is responsible for looking up an entry in paper-alist and then evaluating it in a specified module (a paper or layout module, with the paper module having mm as 1 but the layout module working in staff spaces or something like that). -- David Kastrup