Am 16.11.2010 um 21:06 schrieb Peter Davis:
Is there a way to place a box at some specified x and y position on the page, and then typeset one or more paragraphs of text into the box? I guess I'm thinking of something like LaTeX's minipage, but with the ability to specify absolute coordinates, rather than just position relative to the current baseline.
Use layers (untested): \definelayer[textbox][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=textbox] \def\starttextbox {\dosingleargument\dostarttextbox} \def\dostarttextbox[#1]% {\def\stoptextbox{\setlayerframed[textbox][#1]{\getbuffer[textbox]}}% \startbuffer[textbox][starttextbox][stoptextbox]} \starttext \starttextbox[x=2cm,y=4cm,width=8cm,frame=off] some text ... more text ... \stoptextbox \starttextbox[x=6cm,y=12cm,width=8cm,frame=off] another example ... \stoptextbox \stoptext Wolfgang