Re: [NTG-context] luametatex segmentation fault
On 1/12/2020 1:23 PM, Ramón Casares wrote: On Sun, 12 Jan 2020 12:00:55 +0100 Hans Hagen wrote: On 1/12/2020 8:22 AM, Ramón Casares wrote: ~/context/tex/texmf-linux-64/bin/luametatex --ini lmtx.tex so what is that call? luametatex --ini lmtx.tex what in that tex file? $ cat $(~/context/tex/texmf-linux-64/bin/mtxrun --locate lmtx.tex) \input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \pdfoutput=1 you should initialize a couple of file relates callbacks in a lua file that is then passed as extra argument but even then, \pdfoutput won't work because there is no backend and therefore there are no \pdf frontend commands but if you want to play with plain, you can use a lot of plain commands in context so best use lmtx.tex : \starttext ... \stoptext with context lmtx unless you want to start with defining a backend and all kind of font related code 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 ___
Re: [NTG-context] luametatex segmentation fault
On Sun, 12 Jan 2020 12:42:50 +0100 Hans Hagen wrote: > On 1/12/2020 8:22 AM, Ramón Casares wrote: > > ~/context/tex/texmf-linux-64/bin/luametatex --ini lmtx.tex > > next version will say: > > >luametatex --ini whatever.tex > This is LuaMetaTeX, Version 2.03.9 (INITEX) > startup error : missing find_data_file callback > OK. I will try then. I am still in 2.03.7. $ cd ~/context/ $ ./install.sh $ ~/context/tex/texmf-linux-64/bin/luametatex --ini plain.tex This is LuaMetaTeX, Version 2.03.7 (INITEX) Segmentation fault > -- > > - >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 ___
Re: [NTG-context] luametatex segmentation fault
On Sun, 12 Jan 2020 12:00:55 +0100 Hans Hagen wrote: > On 1/12/2020 8:22 AM, Ramón Casares wrote: > > ~/context/tex/texmf-linux-64/bin/luametatex --ini lmtx.tex > > so what is that call? > > luametatex --ini lmtx.tex > > what in that tex file? $ cat $(~/context/tex/texmf-linux-64/bin/mtxrun --locate lmtx.tex) \input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \pdfoutput=1 \everyjob \expandafter {% \the\everyjob \input luatex-basics.tex\relax \input luatex-fonts.tex\relax \input luatex-mplib.tex\relax } \edef\fmtversion{\fmtversion+lmtx} However, it also breaks with file plain.tex. ~/context/tex/texmf-linux-64/bin/luametatex --ini plain.tex This is LuaMetaTeX, Version 2.03.7 (INITEX) Segmentation fault > > 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 ___
Re: [NTG-context] luametatex segmentation fault
On 1/12/2020 8:22 AM, Ramón Casares wrote: ~/context/tex/texmf-linux-64/bin/luametatex --ini lmtx.tex next version will say: >luametatex --ini whatever.tex This is LuaMetaTeX, Version 2.03.9 (INITEX) startup error : missing find_data_file callback -- - 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 ___
Re: [NTG-context] luametatex segmentation fault
On 1/12/2020 8:22 AM, Ramón Casares wrote: ~/context/tex/texmf-linux-64/bin/luametatex --ini lmtx.tex so what is that call? luametatex --ini lmtx.tex what in that tex file? 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 ___
Re: [NTG-context] luametatex segmentation fault
On Sat, 11 Jan 2020 22:14:21 +0100 Hans Hagen wrote: > On 1/11/2020 3:27 PM, Ramón Casares wrote: > > Hi list, > > > > I am new to LMTX, so before going any further > > I wanted to compile my plain TeX documents with LMTX. > > I am aware that LMTX is experimental, so perhaps > > what I am doing is impossible for the moment > > or worse, it is not even in your plans. > > In any case, this is how I got a segmentation fault > > when I was trying to make the plain format for LMTX > > in my Debian 10 Buster OS on linux-64 PC. > > > > > > $ cd ~/context/ > > $ ./install.sh > > $ ~/context/tex/texmf-linux-64/bin/luametatex --ini lmtx.tex > > does > > mtxrun --generate > context --make > > crash too? No, cont-en.fmt was generated, and I can compile ConTeXt documents. > > This is LuaMetaTeX, Version 2.03.7 (INITEX) > > Segmentation fault > > $ cd ~/context/tex/texmf-cache > > $ rm -R * > > $ cd ~/context/ > > $ ~/context/tex/texmf-linux-64/bin/mtxrun --generate > > $ ~/context/tex/texmf-linux-64/bin/context --make > > $ ~/context/tex/texmf-linux-64/bin/luametatex --ini lmtx.tex > > This is LuaMetaTeX, Version 2.03.7 (INITEX) > > Segmentation fault > > $ ~/context/tex/texmf-linux-64/bin/luametatex --ini plain.tex > > This is LuaMetaTeX, Version 2.03.7 (INITEX) > > Segmentation fault > > $ cat $(~/context/tex/texmf-linux-64/bin/mtxrun --locate lmtx.tex) > > \input plain > > > > \directlua {tex.enableprimitives('', tex.extraprimitives())} > > > > \pdfoutput=1 > > > > \everyjob \expandafter {% > > \the\everyjob > > \input luatex-basics.tex\relax > > \input luatex-fonts.tex\relax > > \input luatex-mplib.tex\relax > > } > > > > \edef\fmtversion{\fmtversion+lmtx} > > > > > > Best regards, > > Ramón Casares > > ___ > > 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 > > ___ > > > > > -- > > - >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 ___
Re: [NTG-context] luametatex segmentation fault
On 1/11/2020 3:27 PM, Ramón Casares wrote: Hi list, I am new to LMTX, so before going any further I wanted to compile my plain TeX documents with LMTX. I am aware that LMTX is experimental, so perhaps what I am doing is impossible for the moment or worse, it is not even in your plans. In any case, this is how I got a segmentation fault when I was trying to make the plain format for LMTX in my Debian 10 Buster OS on linux-64 PC. $ cd ~/context/ $ ./install.sh $ ~/context/tex/texmf-linux-64/bin/luametatex --ini lmtx.tex does mtxrun --generate context --make crash too? This is LuaMetaTeX, Version 2.03.7 (INITEX) Segmentation fault $ cd ~/context/tex/texmf-cache $ rm -R * $ cd ~/context/ $ ~/context/tex/texmf-linux-64/bin/mtxrun --generate $ ~/context/tex/texmf-linux-64/bin/context --make $ ~/context/tex/texmf-linux-64/bin/luametatex --ini lmtx.tex This is LuaMetaTeX, Version 2.03.7 (INITEX) Segmentation fault $ ~/context/tex/texmf-linux-64/bin/luametatex --ini plain.tex This is LuaMetaTeX, Version 2.03.7 (INITEX) Segmentation fault $ cat $(~/context/tex/texmf-linux-64/bin/mtxrun --locate lmtx.tex) \input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \pdfoutput=1 \everyjob \expandafter {% \the\everyjob \input luatex-basics.tex\relax \input luatex-fonts.tex\relax \input luatex-mplib.tex\relax } \edef\fmtversion{\fmtversion+lmtx} Best regards, Ramón Casares ___ 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 ___ -- - 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 ___