Dear ConTeXt folks,

using the following example

        \starttext
        \startMPpage
        draw (0,0)--(10,10)--(15,5)--(20,10);
        draw (0,0)--(0,10)--(10,10)--(10,5)--(15,5)--(15,10)--(20,10) withcolor 
blue;
        \stopMPpage
        \stoptext

it looks like the bottom is not included in the resulting PDF file and
at the top there is too much room. (So it looks like the figure is moved
too far to the bottom.)

Using the examples from the Wiki [1] with circles works though.

I am using ConTeXt Standalone.

ConTeXt  ver: 2011.11.25 21:29 MKIV  fmt: 2011.11.25  int: english/english


Thanks,

Paul


[1] http://wiki.contextgarden.net/Mpgraphic

Attachment: test.pdf
Description: Adobe PDF document

\starttext
\startMPpage
draw (0,0)--(10,10)--(15,5)--(20,10);
draw (0,0)--(0,10)--(10,10)--(10,5)--(15,5)--(15,10)--(20,10) withcolor blue;
\stopMPpage

\startMPpage
 draw fullcircle scaled 2cm;
 dotlabel.bot(textext("(0,0)"),origin);
\stopMPpage

\startMPpage
 draw fullcircle scaled 2cm;
 drawarrow (0,0)--(1cm,0);
 label.bot(textext("$r$"),(5mm,0));
\stopMPpage
\stoptext

Attachment: signature.asc
Description: This is a digitally signed message part

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to