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)
that's why wolfgangs suggested \startmode solution is the way to go
(also in the past)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________