ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer via ntg-context <ntg-context@ntg.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Cc: Hans van der Meer <havdmeer@ziggo.nl>
Subject: Re: Error: attempt to index a nil value
Date: Wed, 13 Oct 2021 18:26:29 +0200	[thread overview]
Message-ID: <2521552C-2B85-4C61-B076-4FC07B7EE5E8@ziggo.nl> (raw)
In-Reply-To: <63EB8CF5-A235-4F94-8763-DF3E6EF06A02@telia.com>


[-- Attachment #1.1: Type: text/plain, Size: 1728 bytes --]

>  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 Åberg 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     }
> 
> ? …
> 
> 
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 4180 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

  reply	other threads:[~2021-10-13 16:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-13 16:01 Hans Åberg via ntg-context
2021-10-13 16:26 ` Hans van der Meer via ntg-context [this message]
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

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=2521552C-2B85-4C61-B076-4FC07B7EE5E8@ziggo.nl \
    --to=ntg-context@ntg.nl \
    --cc=havdmeer@ziggo.nl \
    /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).