From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5553 Path: main.gmane.org!not-for-mail From: "Frans Goddijn" Newsgroups: gmane.comp.tex.context Subject: Re: Strange StartPage in Metapost Date: Sun, 9 Sep 2001 14:00:02 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <001501c13927$6fc0d220$6501a8c0@lap> References: <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 1035396139 2642 80.91.224.250 (23 Oct 2002 18:02:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:02:19 +0000 (UTC) Original-To: "ConTeXt mailing list" Xref: main.gmane.org gmane.comp.tex.context:5553 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5553 Hello Patrick, I ran your file on my pc and first of all the \%output=pdf line didn't seem to work unless I changed it into \setupoutput[pdftex] Then, why is there ny \ before "showframe" in your file? I can't "read" the MPost commands so I can't figure out what you expected to see but I only get a thick vertical line on page 1 which is not there on page 2. Uncommenting the > %\setupbackgrounds[page][background=DemoFrame] does nothing. One question: I often see reference to "\input tufte" in mails and in some context files, but I don't have a file by that name on my pc. Is it something I should have of fill myself with random test lines? Groet! Frans ----- Original Message ----- From: Patrick Gundlach To: ConTeXt mailing list Sent: Sunday, September 09, 2001 1:13 PM Subject: Strange StartPage in Metapost > 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