ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Bad argument #1 to 'prehypenchar'
Date: Mon, 14 Sep 2020 23:30:21 -0400 (EDT)	[thread overview]
Message-ID: <nycvar.YAK.7.78.908.2009142324450.970788@nqv-guvaxcnq> (raw)

The following MWE gives an error with LMTX 2020.09.05


\usemodule[vim]
\definevimtyping[MATLABCODE][syntax=matlab]

\starttext
\startMATLABCODE
  saveas(gcf(), "output/same-sigma.png")
\stopMATLABCODE
\stoptext

The error message is:

callback error: ...metatex/texmf-context/tex/context/base/mkiv/lang-ini.lua:509: bad argument #1 to 'prehyphenchar' (luatex.lang expected, got no value)
stack traceback:
        [C]: in function 'lang.prehyphenchar'
        ...metatex/texmf-context/tex/context/base/mkiv/lang-ini.lua:509: in field 'prehyphenchar'
        ...metatex/texmf-context/tex/context/base/mkiv/typo-brk.lua:171: in local 'method'
        ...metatex/texmf-context/tex/context/base/mkiv/typo-brk.lua:392: in upvalue 'typesetters_breakpoints_handler'
        [string "local tonut  = nodes.tonut..."]:16: in function <[string "local tonut  = nodes.tonut..."]:11>
        (...tail calls...)
        ...metatex/texmf-context/tex/context/base/mkiv/node-pro.lua:88: in function <...metatex/texmf-context/tex/context/base/mkiv/node-pro.lua:79>

1 >>  \SYNBOL{}saveas(gcf(), \SYN[String]{"output/same-sigma.png"})\SYNEOL{}
2     
mtx-context     | fatal error: return code: 256

Any idea what is going on?

Thanks,
Aditya
___________________________________________________________________________________
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:[~2020-09-15  3:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-15  3:30 Aditya Mahajan [this message]
2020-09-15  6:50 ` Wolfgang Schuster
2020-09-15 19:19   ` Aditya Mahajan
2020-09-15 19:43     ` Wolfgang Schuster
2020-09-15 19:51       ` Aditya Mahajan
2020-09-15 20:13         ` Hans Hagen

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=nycvar.YAK.7.78.908.2009142324450.970788@nqv-guvaxcnq \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.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).