ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Error: attempt to index a nil value
@ 2021-10-13 16:01 Hans Åberg via ntg-context
  2021-10-13 16:26 ` Hans van der Meer via ntg-context
  2021-10-13 16:37 ` Hans Hagen via ntg-context
  0 siblings, 2 replies; 10+ messages in thread
From: Hans Åberg via ntg-context @ 2021-10-13 16:01 UTC (permalink / raw)
  To: NTG-ConTeXt; +Cc: Hans Åberg

I was suggested a long ago to hack the file
 /usr/local/texlive/2021/texmf-dist/tex/generic/context/luatex/luatex-math.tex
and use LuaTeX directly, now using Version 1.13.2 (TeX Live 2021), but I get this error:
(./luaotfload.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/ltluatex.tex))
(./luatex-math-modified.tex[\directlua]:1: attempt to index a nil value (global
'arguments')
stack traceback:
	[\directlua]:1: in main chunk.
l.132     }

? …


It is from this segment in the modified luatex-math.tex:

\ifdefined\directlua
   \directlua {
       if arguments["mtx:lucidabright"] then
           tex.print("\string\\lucidabright")
       else
           tex.print("\string\\latinmodern")
       end
   }
\fi

Is there a workaround? —I may ditch this setup in favour of using 'context' directly, so it is not so important if there is no fix.


___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-10-13 21:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13 16:01 Error: attempt to index a nil value Hans Åberg via ntg-context
2021-10-13 16:26 ` Hans van der Meer via ntg-context
2021-10-13 16:39   ` Hans Åberg via ntg-context
2021-10-13 16:37 ` Hans Hagen via ntg-context
2021-10-13 16:54   ` Hans Åberg via ntg-context
2021-10-13 20:34     ` Hans Hagen via ntg-context
2021-10-13 21:22       ` Hans Åberg via ntg-context
2021-10-13 17:02   ` Hans Åberg via ntg-context
2021-10-13 20:28     ` Hans Hagen via ntg-context
2021-10-13 21:13       ` Hans Åberg via ntg-context

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).