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
___________________________________________________________________________________
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 via email to