[NTG-context] Compile a file embedding modules with the lmtx engine

Hans Hagen j.hagen at xs4all.nl
Fri Apr 3 13:04:14 CEST 2020


On 4/3/2020 12:38 PM, Fabrice Couvreur wrote:
> Hi,
> I'm sorry but I didn't necessarily follow all the threads. I use to make 
> my graphics Metapost or Metafun, but I also sometimes use TiKz. This 
> file compiles with context but not with lmtx because the modules are not 
> recognized. I am willing to use only lmtx which seems to be the future 
> of ConteXt, but how do I do that ?
> Thank you.
> Fabrice
> 
> 
> \usemodule[tikz]
> \usetikzlibrary[calc]
> 
> \starttext
> 
> \startlinecorrection[blank]
>    \startmidaligned
>      \starttikzpicture
>         \draw[fill=orange!30e,draw=orange] (0,0) rectangle (5,5);
>       \stoptikzpicture
>       \stopmidaligned
>      \stoplinecorrection
> 
> \stoptext
you can put additional modules in texmf-local or texmf-modules (after 
installation run mtxrun --generate)

at some point the installer will deal with modules but that has to wait 
till we have set up the new repository infrastructure which will happen 
when there's is time

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list