From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8782 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: address/text boxes Date: Tue, 23 Jul 2002 19:04:55 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020723190349.033cca30@server-1> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035399163 30493 80.91.224.250 (23 Oct 2002 18:52:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:52:43 +0000 (UTC) Cc: ntg-context Original-To: Wybo Dekker In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:8782 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8782 At 04:24 PM 7/23/2002 +0200, Wybo Dekker wrote: >On Tue, 23 Jul 2002, Wybo Dekker wrote: > > > On Tue, 23 Jul 2002, Hans Hagen wrote: > > > > > instead of > > > > > > \flushlayer[window] > > > > > > say > > > > > > \setupbackgrounds[page][background=window] > > > > That didn't work either. I tried: > > > > \setupoutput[pdftex] > > \setuppapersize[A4][A4] > > \setuppagenumbering[state=stop] > > \def\address#1{ > > \definelayer > > [window] > > [width=\textwidth,height=\textheight] > > \setlayerframed > > [window] > > [x=0cm,y=0cm] > > [align=right,frame=off,width=10cm,height=4cm] > > {#1} > > \setupbackgrounds[page][background=window] > > } > > > > \starttext > > \address{name\\street\\city} > > \stoptext > > > > so since x=y=0 I would expect the address label in the upper left corner > > of the paper. Instead, it appears at (25mm,47mm) > >sorry, it's even worse: there is no pdf-output at all! >(texexec did not warn me for that, so I was looking at an old pdf-file; > cont-en explicitly says: No pages of output.) ok, that is because backgrounds are processed in the otr, an dif there is no content, the otr is never called, so add: \null or \startstandardmakeup % no text \stopstandardmakeup to force a page Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------