|
From: | Simon Albrecht |
Subject: | Paper variables in scheme function |
Date: | Fri, 28 Mar 2014 19:42:27 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
Hello, I’m just creating a style sheet and want to create a scheme function which sets the paper margins. However it seems the paper variables aren’t bound and I don’t know why. A simple example would be: \version "2.19.3"
test = #(define-scheme-function (parser location num) (number?) #{ \paper { top-margin = #(* num paper-height) } #} )
\test 0.1
{ c'1 }
Regards, Simon |
[Prev in Thread] | Current Thread | [Next in Thread] |