[NTG-context] luametatex segmentation fault

Hans Hagen j.hagen at xs4all.nl
Sun Jan 12 14:19:32 CET 2020


On 1/12/2020 1:23 PM, Ramón Casares wrote:
> On Sun, 12 Jan 2020 12:00:55 +0100
> Hans Hagen <j.hagen at xs4all.nl> 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?
> 
> <pre>
> $ 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
-----------------------------------------------------------------


More information about the ntg-context mailing list