Hi, The attached file runs without errors for me in mkiv (latest beta, 2010.05.14 15:26 MKIV). However, note the following: 1. I had to add loading of 8r-base.map for the rptmr font 2. The placement of the text strings is wrong (probably related) Best wishes, Taco Shiv Shankar Dayal wrote: > 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. > > ( > <*> save A; save B; Class.A( > "Point") ("+x: int", "+y: int") (); Class.B("Ci... > > ! Extra tokens will be flushed. > > ( > <*> 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 > ___________________________________________________________________________________