25 Jul
2021
25 Jul
'21
7:46 a.m.
Axel Kielhorn schrieb am 25.07.2021 um 09:06:
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?
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