Thanks for taking the trouble for what was really simple, but seems
undocumented (?)
It does, and then all the offsets etc, seem to work in pixels as well.
eg.
\definelayer [topmatter] % name of the layer
[x= 0 px, y=20 px, % from upper left corner of paper
width=\paperwidth, height=\paperheight] % let the layer cover the full paper
Ian
On 24 February 2011 09:47, luigi scarso
Morning all, Quick question. I want to design a screen document at 1024 by 768 pixels, so ideally work in pixels as units, and not mm / cm. I know pdfs are scalable and about \setuppapersize[S6][S6], but I'd
On Thu, Feb 24, 2011 at 10:40 AM, Ian Lawrence
wrote: prefer to work in pixels (I have swfs / images to embed, and these come in x by y pixels). Anyone have an easy answer? \definepapersize[Screen][width=1024px,height=768px] \setuppapersize[Screen][Screen]
You should check if it's ok, I'm not sure. -- luigi
___________________________________________________________________________________ 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
___________________________________________________________________________________