From: Shiv Shankar Dayal <shivshankar.dayal@gmail.com>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: installing metauml in context
Date: Sat, 15 May 2010 03:34:18 +0530 [thread overview]
Message-ID: <AANLkTil5odmMnIg6qMu0fEMxckzdd28LQaSwG68AF8kL@mail.gmail.com> (raw)
In-Reply-To: <4BEDC747.4010906@wxs.nl>
Hi,
>> I am running ConTeXt mark IV. I need to use metauml for my work.
>> However, I could not get it installed. Please help. The install file
>> which comes with it does not work for context.
>
> more info needed .. test file and so
>
> Hans
Sorry about this. Following is from a file for which I took the code from
mailing list itself.
\chapter{Diameter Finite State Machine}
The state machine of the diameter base protocol implementation will observer
following state machine.
\startMPinclusions
input metauml;
\stopMPinclusions
\startuseMPgraphic{xx}
save A;
save B;
Class.A("Point")
("+x: int",
"+y: int") ();
Class.B("Circle")
("radius: int")
("+getRadius(): int",
"+setRadius(r: int):void");
topToBottom(45)(A, B);
drawObjects(A, B);
clink(aggregationUni)(A, B);
\stopuseMPgraphic
\placefigure[here][fig:xx]{xx}{\useMPgraphic{xx}}
This is included in starttext block.
For verbosity I am also giving you some errors.
Isolated expression.
<to be read again>
(
<*> save A; save B; Class.A(
"Point") ("+x: int", "+y: int") (); Class.B("Ci...
! Extra tokens will be flushed.
<to be read again>
(
<*> save A; save B; Class.A(
"Point") ("+x: int", "+y: int") (); Class.B("Ci...
>> Class.B
! Isolated expression.
Best regards,
Shiv Shankar Dayal
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-05-14 22:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-14 21:43 Shiv Shankar Dayal
2010-05-14 21:57 ` Hans Hagen
2010-05-14 22:04 ` Shiv Shankar Dayal [this message]
2010-05-14 22:40 ` luigi scarso
2010-05-14 22:43 ` luigi scarso
2010-05-15 3:08 ` Shiv Shankar Dayal
2010-05-15 8:55 ` Hans Hagen
2010-05-17 18:49 ` Shiv Shankar Dayal
2010-05-17 21:12 ` Hans Hagen
2010-07-09 18:39 ` Kevin D. Robbins
2010-05-15 6:31 ` Taco Hoekwater
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=AANLkTil5odmMnIg6qMu0fEMxckzdd28LQaSwG68AF8kL@mail.gmail.com \
--to=shivshankar.dayal@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.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).