> Am 19.05.2015 um 14:25 schrieb Pierre-François Bonnefoi <bonne...@unilim.fr>:
> 
> Thank you !
> 
> tex.hzize / 2^16 gives me the expected value !
> 
> This is a lot to learn  :)

Take a look into util-dim.la and search for the number.todimen function which 
can be used to convert scaled points into points.

\starttext

\startluacode

context(tex.hsize)
context.par()
context(number.topoints(tex.hsize))
context.par()
context(number.topoints(tex.hsize,"%0.5f"))

\stopluacode

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to