From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/524 Path: main.gmane.org!not-for-mail From: "Gilbert van den Dobbelsteen" Newsgroups: gmane.comp.tex.context Subject: Re: Page Layout Date: Mon, 7 Jun 1999 11:50:55 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <00d101beb0cb$3cf82e60$0c01a8c1@worf.login-bv.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391376 24713 80.91.224.250 (23 Oct 2002 16:42:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:42:56 +0000 (UTC) Original-To: , "David Arnold" Xref: main.gmane.org gmane.comp.tex.context:524 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:524 >Is there such a thing available in Context? Not really, and Context doesn't show all boxes (like edges), so what I usually do is this: \def\BOX#1#2{\framed[width=#1,height=#2]{}} And then: \setuptexttexts [edge] [\BOX\leftedgewidth,\textheight] [\BOX\rightedgewidth,\textheight] This shows some boxes on places where you want it. If this clobbers your usual stuff, you can use overlays and backgrounds to do so. It is not exactly the same as \showlayout etc, but it gets the job done: \defineoverlay[BACKFRAME][{\BOX\overlaywidth\overlayheight}] \setupbackgrounds [text] [leftedge] [background=BACKFRAME] This also shows the offset if you had one. The \showlayout macro creates a solid filled box, which clobbers all backgrounds, I don't know if this is a bug or a feature, but sometimes I do not want to have the backgrounds clobbered, especially if I use offsetted backgrounds. So ok, there is no in-the-box solution, but as usual, you can roll your own. Happy experimenting, Gilbert.