From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5551 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: Strange StartPage in Metapost Date: Sun, 9 Sep 2001 13:13:56 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <01090913135600.03415@levana> 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 1035396137 2632 80.91.224.250 (23 Oct 2002 18:02:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:02:17 +0000 (UTC) Original-To: ConTeXt mailing list Xref: main.gmane.org gmane.comp.tex.context:5551 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5551 Hi out there in the deep Cyberscpace ;-), --------------------------------myfile.tex---------- \%output=pdf showframe \setupcolors[state=start] \setuppapersize[S6][S6] \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}} %\setupbackgrounds[page][background=DemoFrame] \starttext \dorecurse{10}{\input tufte \par} \stoptext ------------------------------end---------- when I texexec this, I get strange results. In my opinion, only the \input tufte should be typeset (and, of course the \showframe). But as you might see, the DemoFrame also gets typeset. But I did not connect the overlay to the background. Only when I comment out the line with \defineoverlay, the mpgraphic is not drawn. So there are two problems here: 1) why is this graphic drawn (even though I have not put it in the background)? 2) why is this placed on an incorrect place? (It seems that the page starts at the upper left corner of the text field, so the vertical line is shifted to the right and down.) This is pdfeTeX, Version 3.14159-14h-released-20010417-2.1 (Web2C 7.3.3.1) entering extended mode (./startpage.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2001.7.11 fmt: 2001.9.9 int: english mes: english Randomizer initialized to 931223677.This is MetaPost, Version 0.641 (Web2C 7.3.1) (startpage-mpgraph.mp [1] ) -- Viele Grüße, Patrick Gundlach