Dear list,
I have the following sample:
\setupexternalfigures[location=default]
\starttext
\definelayer[abc][hoffset=1cm, voffset=5cm]
\setlayer[abc]{\externalfigure[cow.pdf][frame=on]}
\definelayer[xyz][hoffset=12cm, voffset=5cm]
\setlayer[xyz]{\externalfigure[spider.eps]}
\setupbackgrounds[page][background={abc, xyz}]
\null
\stoptext
Is therea way to set the voffset value of the xyz layer to the value of
voffset of the abc layer plus the half of the height of that layer?
I mean, something like: voffset = ( abc.voffset() + (abc.height()/2) )
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________