From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5676 Path: main.gmane.org!not-for-mail From: Uwe Koloska Newsgroups: gmane.comp.tex.context Subject: Re: Strange StartPage in Metapost Date: Tue, 18 Sep 2001 02:07:27 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20010918000728.80B8B436A8@bilbo.auenland> References: <5.1.0.14.1.20010917101415.02f38ae8@server-1> <5.1.0.14.1.20010917133940.0236ea98@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035396253 3669 80.91.224.250 (23 Oct 2002 18:04:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:04:13 +0000 (UTC) Original-To: ConTeXt mailing list In-Reply-To: <5.1.0.14.1.20010917133940.0236ea98@server-1> Xref: main.gmane.org gmane.comp.tex.context:5676 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5676 Am Montag, 17. September 2001 13:41 hast du geschrieben: > At 11:27 AM 9/17/2001 +0200, Patrick Gundlach wrote: > >Hi, > > > > > i lost the graphic, what was the def? > > > >%output=pdf > > > >\startreusableMPgraphic{DemoFrame} > >StartPage ; > >pickup pencircle scaled 2pt ; > >Field[Text][Text] := Field[Text][Text] enlarged .5cm ; > >draw (llcorner Field[Text][Text] -- ulcorner Field[Text][Text]); > >StopPage ; > >\stopreusableMPgraphic > > > >\defineoverlay[DemoFrame][\reuseMPgraphic{DemoFrame}] The original posting has a typo in this line that results in the use of "DemoFrame" instead of defining an overlay: \defineoverlay[DemoFrame]{\reuseMPgraphic{DemoFrame}} And with this (wrong) line, the graphic doesn't has the height of the text field -- thus my question about the size. But now I know that the line Field[Text][Text] := Field[Text][Text] enlarged .5cm ; is wrong and doesn't do what I (and Patrick I suppose) thought it does ... > >\setupbackgrounds[page][background=DemoFrame] > > > >\starttext > >\dorecurse{10}{\input tufte \par} > >\stoptext > > so, what it shows is a vertical line, which is what i expect Uwe -- mailto:uwe.koloska@mailbox.tu-dresden.de http://rcswww.urz.tu-dresden.de/~koloska -- -- right now the web page is in german only but this will change as time goes by ;-)