From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113099 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hans van der Meer via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Error: attempt to index a nil value Date: Wed, 13 Oct 2021 18:26:29 +0200 Message-ID: <2521552C-2B85-4C61-B076-4FC07B7EE5E8@ziggo.nl> References: <63EB8CF5-A235-4F94-8763-DF3E6EF06A02@telia.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Content-Type: multipart/mixed; boundary="===============2158344230053446311==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32883"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Hans van der Meer To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 13 18:27:08 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mah5v-0008IX-6C for gctc-ntg-context-518@m.gmane-mx.org; Wed, 13 Oct 2021 18:27:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4D086288A3C; Wed, 13 Oct 2021 18:26:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YqedTQ1wiLSM; Wed, 13 Oct 2021 18:26:34 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0FB32288A49; Wed, 13 Oct 2021 18:26:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4AAAC288A1D for ; Wed, 13 Oct 2021 18:26:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E8tSVTdn3G8w for ; Wed, 13 Oct 2021 18:26:31 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.54.42.167; helo=smtpq4.tb.mail.iss.as9143.net; envelope-from=havdmeer@ziggo.nl; receiver= Original-Received: from smtpq4.tb.mail.iss.as9143.net (smtpq4.tb.mail.iss.as9143.net [212.54.42.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 157FB2889F9 for ; Wed, 13 Oct 2021 18:26:30 +0200 (CEST) Original-Received: from [212.54.42.106] (helo=smtp2.tb.mail.iss.as9143.net) by smtpq4.tb.mail.iss.as9143.net with esmtp (Exim 4.90_1) (envelope-from ) id 1mah5K-0001DC-Bq for ntg-context@ntg.nl; Wed, 13 Oct 2021 18:26:30 +0200 Original-Received: from [192.168.178.20] ([84.106.134.200]) by smtp2.tb.mail.iss.as9143.net with ESMTPA id ah5JmY7AMAfFsah5KmMjGm; Wed, 13 Oct 2021 18:26:30 +0200 X-Env-Mailfrom: havdmeer@ziggo.nl X-Env-Rcptto: ntg-context@ntg.nl X-SourceIP: 84.106.134.200 X-CNFS-Analysis: v=2.4 cv=QrM9YX+d c=1 sm=1 tr=0 ts=616708b6 cx=a_exe a=wCstmS+ZHA3zSJXjQC+ubA==:117 a=wCstmS+ZHA3zSJXjQC+ubA==:17 a=MiNTnEJAAAAA:8 a=YEMqx4UAAAAA:8 a=ACQCx6kCAAAA:8 a=xtERp6CFAAAA:8 a=a3nu-2BBAAAA:8 a=dxwxStdFnFV0Cf0wwEQA:9 a=QEXdDO2ut3YA:10 a=jhuy1Kdf_bLUUtzZTikA:9 a=Bw3dSvYrRKSALpT-:21 a=_W_S_7VecoQA:10 a=LmrbSfiT3hecnSZifb5M:22 a=V0662LiR8DSfwiDagK97:22 a=Sab0UneHBzlWrQDlOuxD:22 a=ekCXXmE-vB8RPiJ3MEZb:22 X-Authenticated-Sender: havdmeer@ziggo.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ziggo.nl; s=202002corplgsmtpnl; t=1634142390; bh=94fMnNyF6a9PtGi8/G+BShi3rL62SLBt6Miukm5hGh8=; h=From:Subject:Date:References:To:In-Reply-To; b=fXglLkJ3ooie8ZUOc6KwQUNEFJOiOPvKgHIv45RYfww2xdngDfDpgsNZevw5irPpl 9JfeEAGP4oE0H7qt1n6VFMFQoeVcrO9IQA/EmvkPUyMUO7gGioSs2hNGbg5Bc5nNV8 y3PG0F3P6gJHKahoC8+Wwj/0hqJPvrM2sJP/VKEcMzU/QDKuQ5+cTVY3CdlDSXygBU fgjRY5GBzN9z4Moe4kE/s2pUII7Tmk7lZJIwMinGbtl2pA08UsvJh3C2sFWnvLziJO iRGFPDJSrGbGzA/k2kkR2USgQXs/2kxU5+lGN6LhEv8fZxBBvMutiiAZH0o7VaBvrM BqfLZGrfMIifg== In-Reply-To: <63EB8CF5-A235-4F94-8763-DF3E6EF06A02@telia.com> X-Mailer: Apple Mail (2.3608.120.23.2.7) X-CMAE-Envelope: MS4xfDQRIGykKU+LUJKfO04wByt+HvcwNCN0NQntCrE4xaOz7Yhmq0rxeJ3fKi9dpFdrtbuSiRUc8vUc54l4o8AOIf1Dmz++Tkg8DQDNk+0iDl1uEWaCREIq bAziSFe7CF/MZdgdh8SK8IjAjk1FEpq6YIYvaQR3ImRckRPzsoLN6irknzc81dfmiSF8KQUiIbQ9WQ== X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:113099 Archived-At: --===============2158344230053446311== Content-Type: multipart/alternative; boundary="Apple-Mail=_32291682-85D3-42F7-9221-1523CA9E2176" --Apple-Mail=_32291682-85D3-42F7-9221-1523CA9E2176 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > tex.print("\string\\latinmodern") should be at least double backslashes: = tex.print("\\string\\latinmodern") I would think met vriendelijke groet dr. Hans van der Meer > On 13 Oct 2021, at 18:01, Hans =C3=85berg via ntg-context = wrote: >=20 > 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 } >=20 > ? =E2=80=A6 >=20 >=20 > It is from this segment in the modified luatex-math.tex: >=20 > \ifdefined\directlua > \directlua { > if arguments["mtx:lucidabright"] then > tex.print("\string\\lucidabright") > else > tex.print("\string\\latinmodern") > end > } > \fi >=20 > Is there a workaround? =E2=80=94I may ditch this setup in favour of = using 'context' directly, so it is not so important if there is no fix. >=20 >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_32291682-85D3-42F7-9221-1523CA9E2176 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
 tex.print("\string\\latinmodern")

should be at least double backslashes: = tex.print("\\string\\latinmodern") I would think
met vriendelijke groet
dr. = Hans van der Meer


On 13 Oct 2021, at 18:01, Hans =C3=85berg via ntg-context = <ntg-context@ntg.nl> wrote:

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     }

? = =E2=80=A6


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

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

Is there a workaround? =E2=80=94= 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
_______________________________________________________________= ____________________

= --Apple-Mail=_32291682-85D3-42F7-9221-1523CA9E2176-- --===============2158344230053446311== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2158344230053446311==--