Re: [NTG-context] How to add metapost 3rd party modules??
But it run into compiling error. For you convenience, append the sources for mpost and context. As for metauml, have a look at this example: http://www.ntg.nl/pipermail/ntg-context/2010/049511.html This works for me with the latest beta. For quick testing purposes just put the metauml (mp) files where your tex file is. Adam PS: The label offset problem is still present, so don't be surprised. ___ 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 ___
Re: [NTG-context] How to add metapost 3rd party modules????
Hi Aditya/All, Please ignore previous mail, it can works. Thanks a lot. BTW, i made the silly mistake. My emacs convert into `` in previous email. Best regards, Joshua On Wed, 20 Apr 2011, Joshua Lee wrote: Hi Aditya, Thanks for your reply, I just tested the sample from http://wiki.contextgarden.net/MetaObj_and_Labels It can not work as well. Best regards, Joshua On Tue, 19 Apr 2011, Aditya Mahajan wrote: On Wed, 20 Apr 2011, Joshua Lee wrote: 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 I don't know the internal details of metaUML, but it could be the same problem as with MetaObj. See: http://wiki.contextgarden.net/MetaObj_and_Labels Aditya ___ 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 ___ ___ 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 ___
[NTG-context] How to add metapost 3rd party modules
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? Thanks in advance. Br/JL -- Joshua Lee ___ 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 ___
Re: [NTG-context] How to add metapost 3rd party modules
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 ___
Re: [NTG-context] How to add metapost 3rd party modules??
On Wed, 20 Apr 2011, Joshua Lee wrote: 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 I don't know the internal details of metaUML, but it could be the same problem as with MetaObj. See: http://wiki.contextgarden.net/MetaObj_and_Labels Aditya ___ 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 ___