On 8/17/21 9:30 AM, Hans Hagen via ntg-context wrote:
On 8/17/2021 5:56 AM, Pablo Rodriguez via ntg-context wrote:
[...] I don’t get the layer in the TEXpage.
How could I get it with the TEXpage dimensions? only by first boxing (using framed or so) and then taking those dimensions
Many thanks for your reply, Hans. I’m afraid I don’t know how to make the commands work: \setupexternalfigures[location=default] \definelayer[hi] [x=.5\dimexpr\framedwidth\relax, y=.5\dimexpr\framedheight\relax] \setupbackgrounds[page][background={foreground, hi}] \starttext \startTEXpage \framed[frame=off, offset=none] {\setlayer[hi]{\color[red]{hi}} \externalfigure[cow-brown]\framedheight} \stopTEXpage \stoptext In this case, \getfiguredimensions would work, but I don’t know how to deal with a pure text box. BTW, is there a way to have TEXpages numbered? "pagestate=start" seems not to work here. Many thanks for your help, Pablo -- http://www.ousia.tk