- backup /usr/share/texmf-texlive/metapost/metauml
- download metauml here
- extract and copy everything under metauml/inputs to /usr/share/texmf-texlive/metapost/metauml
- run "sudo texhash" to refresh texmf database, so that new version will be recognized
Now try the following diagram, it should compile fine.
1 input metauml;
2 beginfig(1);
3
4 Component.C("ComponentAAA")();
5 drawObject(C);
6
7 endfig;
8 end
2 beginfig(1);
3
4 Component.C("ComponentAAA")();
5 drawObject(C);
6
7 endfig;
8 end
No comments:
Post a Comment