ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: installing metauml in context
Date: Sat, 15 May 2010 08:31:08 +0200	[thread overview]
Message-ID: <4BEE3FAC.1010205@elvenkind.com> (raw)
In-Reply-To: <AANLkTil5odmMnIg6qMu0fEMxckzdd28LQaSwG68AF8kL@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2314 bytes --]


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.
> <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
> ___________________________________________________________________________________


[-- Attachment #2: meta.tex --]
[-- Type: application/x-tex, Size: 632 bytes --]

[-- Attachment #3: meta.pdf --]
[-- Type: application/pdf, Size: 21411 bytes --]

[-- Attachment #4: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

      parent reply	other threads:[~2010-05-15  6:31 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
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 [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=4BEE3FAC.1010205@elvenkind.com \
    --to=taco@elvenkind.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).