From: "Jairo A. del Rio" <jairoadelrio6@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Bug(s)(?) in \processwords (Mark IV)
Date: Tue, 27 Oct 2020 08:54:27 -0500 [thread overview]
Message-ID: <CAKyqqaZ1054NVdi9PAEGiwOeiuYX1kVNXdPo8UkKUq+B+ZgS9A@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 628 bytes --]
The following:
\starttext
\unexpanded\def\lol#1%
{
\begingroup
\let\processword\inframed
\processwords{#1}%
\endgroup
}
\lol{nice $x^2$} %see what happens with the superscript
\stoptext
works with ConTeXt LMTX, but fails with ConTeXt MkIV:
...mtx/tex/texmf-context/tex/context/base/mkiv/attr-ini.lua:144: attempt to
call a nil value (upvalue 'currentattributes')
stack traceback:
...mtx/tex/texmf-context/tex/context/base/mkiv/attr-ini.lua:144: in
function <...mtx/tex/texmf-context/tex/context/base/mkiv/attr-ini.lua:142>
(...tail calls...)
In both cases, including inline math gives funny outputs.
Regards,
Jairo :)
[-- Attachment #1.2: Type: text/html, Size: 1334 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:[~2020-10-27 13:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAKyqqaZ1054NVdi9PAEGiwOeiuYX1kVNXdPo8UkKUq+B+ZgS9A@mail.gmail.com \
--to=jairoadelrio6@gmail.com \
--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).