Testing for LMTX: \ifmode

Hi, I have a document that doesn’t work with LMTX right now. While testing LMTX I would like to exclude certain passages and work on them later. When I run the following: \doifmode{*mkiv}{mkiv} \doifmode{*contextlmtxmode}{contextlmtx} \doifmode{*lmtx}{lmtx} I always get „mkiv“. I’ve tried - pre LMTX context - LMTX --luatex - LMTX (2021.07.23) What is the recommended way to detect LMTX? Greetings Axel

Axel Kielhorn schrieb am 25.07.2021 um 09:06:
There is no mode value for LMTX, only MkIV is set. To check for LMTX you have to use \ifcase\contextlmtxmode but an additional for lmtx would be useful. \starttext \ifcase\contextlmtxmode \MKIV \else \MKIV\ + \LMTX \fi \stoptext Wolfgang

On 7/25/2021 9:46 AM, Wolfgang Schuster wrote:
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Axel Kielhorn
-
Hans Hagen
-
Wolfgang Schuster