27 Oct
2011
27 Oct
'11
12:32 p.m.
On 10/27/2011 11:53 AM, Wolfgang Schuster wrote:
With “tex.dimen[…]” you get the value in scaled points but util-dim.lua provides some functions to convert the value in points, centimeter etc.
\starttext \startluacode context.blackrule{ width = number.topoints(tex.dimen["textwidth"]/2) } \stopluacode \stoptext
Thank you Wolfgang, that's exactly what I was looking for! All best Thomas