Re: [NTG-context] Compile a file embedding modules with the lmtx engine
Hi Pablo, It seems to be working, thanks for your help. Fabrice Le ven. 3 avr. 2020 à 22:22, Pablo Rodriguez a écrit : > On 4/3/20 7:21 PM, Fabrice Couvreur wrote: > > > > I reinstalled context and lmtx, followed your instructions because I got > > the same error message but now I get another error message; my editor is > > Emacs. > > > > Running `LmtX' on `ESSAI' with > > ``/home/viserion/LMTX/tex/texmf-linux-64/bin/mtxrun --autogenerate > > --script context --autopdf ESSAI'' > > mtxrun | unknown script 'context.lua' or 'mtx-context.lua' > > Hi Fabrice, > > from the shell, run "~/LMTX/tex/texmf-linux-64/bin/mtxrun --generate" > before. > > After that, it should compile your document fine. > > Pablo > -- > http://www.ousia.tk > > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Compile a file embedding modules with the lmtx engine
On 4/3/20 7:21 PM, Fabrice Couvreur wrote: > > I reinstalled context and lmtx, followed your instructions because I got > the same error message but now I get another error message; my editor is > Emacs. > > Running `LmtX' on `ESSAI' with > ``/home/viserion/LMTX/tex/texmf-linux-64/bin/mtxrun --autogenerate > --script context --autopdf ESSAI'' > mtxrun | unknown script 'context.lua' or 'mtx-context.lua' Hi Fabrice, from the shell, run "~/LMTX/tex/texmf-linux-64/bin/mtxrun --generate" before. After that, it should compile your document fine. Pablo -- http://www.ousia.tk ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Compile a file embedding modules with the lmtx engine
I reinstalled context and lmtx, followed your instructions because I got the same error message but now I get another error message; my editor is Emacs. Thank you. Fabrice Running `LmtX' on `ESSAI' with ``/home/viserion/LMTX/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf ESSAI'' mtxrun | unknown script 'context.lua' or 'mtx-context.lua' TeX Output exited abnormally with code 1 at Fri Apr 3 19:15:18 Le ven. 3 avr. 2020 à 15:07, Pablo Rodriguez a écrit : > On 4/3/20 2:18 PM, Fabrice Couvreur wrote: > > Hi, > > > > I did the installation then I copied the files and finally I did mtxrun > > --generate > > The file does not compile and I get a file where it says ERROR. > > > > viserion@archlinux ~]$ cd /home/viserion/data/context/tex/texmf-modules/ > > [viserion@archlinux texmf-modules]$ ls > > doc fonts ls-R metapost scripts source tex VERSION > > Hi Fabrice, > > I have just installed both LMTX and the ConTeXt Suite brand new. I moved > the tex/texmf-modules contents form the Suite to LMTX tex/temxf-modules. > > Your file was compiled perfectly fine. I removed the contents of > tex/texmf-modules and I got these errors: > > system > jobfiles > unknown tex file > > '/home/ousia/64ctx/tex/texmf-modules/tex/context/pgf/frontendlayer/t-tikz.tex' > modules > 'tikz' is loaded > > tex error > tex error on line 2 in file ./a.tex: ! Undefined > control sequence > > \syst_helpers_triple_empty_two_nop \usetikzlibrary > > l.2 \usetikzlibrary > [calc] > > If you get a similar error, I would do the following: > > 1. Remove tex/texmf-cache/luatex-cache. > 2. Run "mtxrun --generate". > 3. Compile the document. > > I hope this helps, > > Pablo > -- > http://www.ousia.tk > > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Compile a file embedding modules with the lmtx engine
On 4/3/20 2:18 PM, Fabrice Couvreur wrote: > Hi, > > I did the installation then I copied the files and finally I did mtxrun > --generate > The file does not compile and I get a file where it says ERROR. > > viserion@archlinux ~]$ cd /home/viserion/data/context/tex/texmf-modules/ > [viserion@archlinux texmf-modules]$ ls > doc fonts ls-R metapost scripts source tex VERSION Hi Fabrice, I have just installed both LMTX and the ConTeXt Suite brand new. I moved the tex/texmf-modules contents form the Suite to LMTX tex/temxf-modules. Your file was compiled perfectly fine. I removed the contents of tex/texmf-modules and I got these errors: system > jobfiles > unknown tex file '/home/ousia/64ctx/tex/texmf-modules/tex/context/pgf/frontendlayer/t-tikz.tex' modules > 'tikz' is loaded tex error > tex error on line 2 in file ./a.tex: ! Undefined control sequence \syst_helpers_triple_empty_two_nop \usetikzlibrary l.2 \usetikzlibrary [calc] If you get a similar error, I would do the following: 1. Remove tex/texmf-cache/luatex-cache. 2. Run "mtxrun --generate". 3. Compile the document. I hope this helps, Pablo -- http://www.ousia.tk ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Compile a file embedding modules with the lmtx engine
Hi, I did the installation then I copied the files and finally I did mtxrun --generate The file does not compile and I get a file where it says ERROR. viserion@archlinux ~]$ cd /home/viserion/data/context/tex/texmf-modules/ [viserion@archlinux texmf-modules]$ ls doc fonts ls-R metapost scripts source tex VERSION [viserion@archlinux texmf-modules]$ Fabrice Le ven. 3 avr. 2020 à 13:10, Pablo Rodriguez a écrit : > On 4/3/20 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? > > Hi Fabrice, > > do you have any modules installed in your LMTX distribution? > > As far as I know (sorry if I’ missing something), the user should > install the modules manually for LMTX. > > Your sample compiles for me, but I copied the tex/texmf-modules > directory from the ConTeXt Suite to the LMTX distribution. > > I hope this helps, > > Pablo > -- > http://www.ousia.tk > > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Compile a file embedding modules with the lmtx engine
On 4/3/20 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? Hi Fabrice, do you have any modules installed in your LMTX distribution? As far as I know (sorry if I’ missing something), the user should install the modules manually for LMTX. Your sample compiles for me, but I copied the tex/texmf-modules directory from the ConTeXt Suite to the LMTX distribution. I hope this helps, Pablo -- http://www.ousia.tk ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Compile a file embedding modules with the lmtx engine
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 - ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Compile a file embedding modules with the lmtx engine
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 ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___