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
___________________________________________________________________________________

Reply via email to