ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Max Chernoff via ntg-context <ntg-context@ntg.nl>
To: Alan Braslau <alan.braslau@icloud.com>,
	Max Chernoff via ntg-context <ntg-context@ntg.nl>
Cc: Max Chernoff <mseven@telus.net>, oinos@gmx.es
Subject: Re: issues with current latest
Date: Fri, 14 Oct 2022 16:33:12 -0600	[thread overview]
Message-ID: <935a3e35de728e5a0ad5a0ed4b6b5ff27461ed26.camel@telus.net> (raw)
In-Reply-To: <20221014162001.0266c0eb@boo.my.domain>

Hi Alan,

On Fri, 2022-10-14 at 16:20 -0600, Alan Braslau wrote:
> On Fri, 14 Oct 2022 15:38:52 -0600
> Max Chernoff via ntg-context <ntg-context@ntg.nl> wrote:
> 
> 
>    $ context --luatex test.tex
>    mtx-context     | redirect luametatex -> luatex: luatex --luaonly "/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context --luatex test.tex --redirected
>    mtxrun          | unknown script 'mtx-context.lua' or
> 'mtx-mtx-context.lua'
> 
> This happens when the luatex cache is cleared and the context format is not rebuilt properly.

Do you know how to rebuild the format? I've tried the following to no
avail:

   $ mtxrun --generate
   [snip]
   
   $ context --make
   [snip]
   
   $ context --luatex --make
   mtx-context     | redirect luametatex -> luatex: luatex --luaonly "/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context --luatex --make --redirected
   mtxrun          | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'
   
   $ TEXINPUTS="$(dirname $(mtxrun --findfile 'cont-en.mkiv' | head -1))" luatex -ini cont-en.mkiv
   warning: /opt/context/tex/texmf/web2c/texmf.cnf:49: (kpathsea) No cnf value on line: OSFONTDIR =.
   This is LuaTeX, Version 1.15.1 (TeX Live 2023/dev)  (INITEX)
    system commands enabled.
   (/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv
   (/opt/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
   (/opt/context/tex/texmf-context/tex/context/base/mkiv/syst-ini.mkiv)
   (/opt/context/tex/texmf-context/tex/context/base/mkiv/norm-ctx.mkiv)
   (/opt/context/tex/texmf-context/tex/context/base/mkiv/syst-pln.mkiv)
   (/opt/context/tex/texmf-context/tex/context/base/mkiv/syst-mes.mkiv)
   (/opt/context/tex/texmf-context/tex/context/base/mkiv/luat-cod.mkiv[\directlua]
   :1: attempt to call a nil value (field 'registercode')
   stack traceback:
   	[\directlua]:1: in main chunk.
   \registerctxluafile ...ua.registercode("#1","#2")}
                                                     
   l.73 \registerctxluafile{luat-cod}{}
                                     
   ? x
    181 words of node memory still in use:
      1 dir, 22 glue_spec nodes
      avail lists: 2:3
   No pages of output.
   Transcript written on cont-en.log.

   $ fmtutil --all
   bash: fmtutil: command not found...
   
   $ context --make cont-en.mkiv
   [snip]
   
Not sure what else to try.

Thanks,
-- Max
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2022-10-14 22:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-14 14:24 Pablo Rodriguez via ntg-context
2022-10-14 14:34 ` Alain Delmotte via ntg-context
2022-10-14 20:24   ` Pablo Rodriguez via ntg-context
2022-10-14 21:38     ` Max Chernoff via ntg-context
2022-10-14 22:20       ` Alan Braslau via ntg-context
2022-10-14 22:33         ` Max Chernoff via ntg-context [this message]
2022-10-14 22:38           ` Alan Braslau via ntg-context
2022-10-14 22:46             ` Max Chernoff via ntg-context
2022-10-15  7:34               ` Hans Hagen via ntg-context
2022-10-15  7:35           ` Hans Hagen via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=935a3e35de728e5a0ad5a0ed4b6b5ff27461ed26.camel@telus.net \
    --to=ntg-context@ntg.nl \
    --cc=alan.braslau@icloud.com \
    --cc=mseven@telus.net \
    --cc=oinos@gmx.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).