Hans Hagen schrieb am 09.06.2021 um 00:08:
On 6/8/2021 11:44 PM, Wolfgang Schuster wrote:
Rik Kabel schrieb am 08.06.2021 um 23:01:
Yes, that works. Of course, to say that you can never be sure if
such combinations will work is not a welcome statement about the
state of ConTeXt.
More recent LMTX releases also now break older documents that worked
(with LMTX and MkIV) before. If there is an error in what was
previously written that is only noticed because of tighter
enforcement, that is one thing, but an undocumented change to
supported behaviour is less to be desired. And that it works with
dimensions but not on/off/yes/no is very strange and suggests some
other problem may be lurking.
Just because it did work doesn't mean it was intended to be used in
this case. The different behavior between keywords and dimensions is
a result of the different ways how the are implemented and the way
TeX (the engine) works when it reads arguments.
and, also in mkiv \dofmode is unexpandable so cannot act as keyword
(it might not crash but also doesn't work)
Here is a short example which demonstrates the differences between
LuaTeX (eTeX, pdfTeX etc.) and LuaMetaTeX.
\starttext
\def\one{first}
\def\two{second}
\def\foo{one}
\protected\def\bar{two}
\csname\foo\endcsname
\csname\bar\endcsname
\stoptext
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________