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 <[EMAIL PROTECTED]>
To: ConTeXt mailing list <[EMAIL PROTECTED]>
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

Reply via email to