ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <pg@levana.de>
Subject: Strange StartPage in Metapost
Date: Sun, 9 Sep 2001 13:13:56 +0200	[thread overview]
Message-ID: <01090913135600.03415@levana> (raw)

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	other threads:[~2001-09-09 11:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-09 11:13 Patrick Gundlach [this message]
2001-09-09 12:00 ` Frans Goddijn
2001-09-09 14:26   ` Patrick Gundlach
2001-09-09 15:30     ` Fun with MetaFun Frans Goddijn
2001-09-10 19:58 ` Strange StartPage in Metapost Hans Hagen
2001-09-12 22:27   ` Uwe Koloska
2001-09-15  9:15     ` Patrick Gundlach
2001-09-17  8:14     ` Hans Hagen
     [not found] <Your message of "Mon, 17 Sep 2001 10:14:35 +0200." <5.1.0.14.1.20010917101415.02f38ae8@server-1>
2001-09-17  9:27 ` Patrick Gundlach
2001-09-17 11:41   ` Hans Hagen
2001-09-18  0:07     ` Uwe Koloska

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01090913135600.03415@levana \
    --to=pg@levana.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).