Hi Mojca, Thanks for you reply. It can found the metauml module after regenerating the database with luatools --generate But it run into compiling error. For you convenience, append the sources for mpost and context. joshua@josh-dev ~/tmp $ cat activity.tex \startMPinclusions input metauml; \stopMPinclusions \startMPpage Activity.A("Learn MetaUML -", "the MetaPost UML library"); drawObject(A); \stopMPpage \stoptext joshua@josh-dev ~/tmp $ cat activity.mp input metauml; beginfig(1); Activity.A("Learn MetaUML -", "the MetaPost UML library"); drawObject(A); endfig; end activity.mp works with mpost, but activity.tex failed to compile with context. Any suggestions? Best regards, Joshua On Tue, 19 Apr 2011, Mojca Miklavec wrote:
On Tue, Apr 19, 2011 at 15:12, Joshua Lee wrote:
Hi All, I would like to use metauml modules with context, but context can not find it from ~/texmf/metapost/metauml directory. What the context search path for the 3rd party metapost modules?
The search path is defined inside texmf/web2c/texmfcnf.lua (variable MPINPUTS).
Did you run luatools --generate or mktexlsr (depending on the mark you use)?
It works here, but only after I regenerate the database (which should not be the case - files in ~/texmf should be searched automatically without being present in the database).
Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- Joshua Lee Alpha Networks(Chengdu) Co., LTD Shanghai Branch TEL: (86-21)61609650 EXT: 8020 FAX: (86-21)61609650 EXT: 8041 ADD: Suite 301, No.10, 198 Lane, Zhangheng Road, ZJ Hi-Tech Park, Shanghai, China 201204