ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Martin 'golodhrim' Scholz" <scholz.m82@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: metaobj
Date: Mon, 15 Nov 2010 18:49:32 +0000 (UTC)	[thread overview]
Message-ID: <slrnie305q.cnd.scholz.m82@lorien.mittelerde.lan> (raw)
In-Reply-To: <slrnie28qp.cnd.scholz.m82@lorien.mittelerde.lan>

In article <slrnie28qp.cnd.scholz.m82@lorien.mittelerde.lan>, Martin 'golodhrim' Scholz wrote:
> Hi everybody,
>    again a question by me, I found out that metaobj is included in
>    ConTeXt minimals and now try to figure out how to input this in a
>    ConTeXt document so I can use it in a 
>      \startuseMPgraphic{name}
>        METAOBJ code
>      \stopuseMPgraphic
>    environment.
>    Thanks everybody for your help...

first of all here is a minimal example:

\starttext
 
\startMPinclusions
input metaobj;
\stopMPinclusions
 
\startuseMPgraphic{commutativediagram}
  newCircle.m(btex M etex) "framed(false)";
  newCircle.n(btex M' etex) "framed(false)";
  newCircle.o(btex M'' etex) "framed(false)";
  newMatrix.mat(2,2)(m,n,nb,o) "hsep(1cm)", "vsep(2cm)";
  mcline.mat(1,1,1,2) "nodesepA(3pt)";
  mcline.mat(1,2,2,2) "nodesepA(3pt)";
  mcline.mat(1,1,2,2) "nodesepA(3pt)";
  mat.c=origin;
  drawObj(mat);
\stopuseMPgraphic
\useMPgraphic{commutativediagram}
\stoptext

what I don't understand is that this examples builds and runs fine under
mkii but not under mkiv, what did I do wrong, where is my error in this
code so it will not build?

Greetings
-- 
Martin 'golodhrim' Scholz
Auf dem Sattler 4
34516 Ederbringhausen
Germany
Phone: +49 6454 799623
mobile: +49 176 63301749
Fax: +49 6454 7990138
e-Mail: scholz.m82@googlemail.com

Boling's postulate:
	If you're feeling good, don't worry.  You'll get over it.

___________________________________________________________________________________
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	other threads:[~2010-11-15 18:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-15 12:11 metaobj Martin 'golodhrim' Scholz
2010-11-15 18:49 ` Martin 'golodhrim' Scholz [this message]

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=slrnie305q.cnd.scholz.m82@lorien.mittelerde.lan \
    --to=scholz.m82@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /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).