Re: [NTG-context] Testing for LMTX: \ifmode

2021-07-25 Thread Axel Kielhorn
> Am 25.07.2021 um 12:17 schrieb Hans Hagen : > > On 7/25/2021 9:46 AM, Wolfgang Schuster wrote: > >> 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. > i'll add an lmtx mode Thanks!

Re: [NTG-context] Testing for LMTX: \ifmode

2021-07-25 Thread Hans Hagen
On 7/25/2021 9:46 AM, Wolfgang Schuster wrote: 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. i'll add an lmtx mode -

Re: [NTG-context] Testing for LMTX: \ifmode

2021-07-25 Thread Wolfgang Schuster
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}

[NTG-context] Testing for LMTX: \ifmode

2021-07-25 Thread Axel Kielhorn
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 -

Re: [NTG-context] Testing for LMTX

2020-11-27 Thread Jean-Philippe Rey
Pablo, Jairo, Thank you very much. > Le 26 nov. 2020 à 21:01, Pablo Rodriguez a écrit : > > On 11/26/20 8:06 PM, Jean-Philippe Rey wrote: >> [...] >> Do you know a way to distinguish between LMTX and MkIV ? > > Hi Jean-Philippe, > > I guess this is what you are looking for: > > \starttext

Re: [NTG-context] Testing for LMTX

2020-11-26 Thread Pablo Rodriguez
On 11/26/20 8:06 PM, Jean-Philippe Rey wrote: > [...] > Do you know a way to distinguish between LMTX and MkIV ? Hi Jean-Philippe, I guess this is what you are looking for: \starttext \startTEXpage[offset=1em] \startlmtxmode LMTX\stoplmtxmode \startmkivmode MkIV\stopmkivmode

Re: [NTG-context] Testing for LMTX

2020-11-26 Thread Jairo A. del Rio
Hi I'm not sure whether or not there's a better way, but a bit of grepping allows you to find the following conditional: \starttext \ifcase\contextlmtxmode MKIV %Whatever you want in MkIV \else LMTX %Whatever you want in LMTX \fi \stoptext Best regards, Jairo El jue, 26 de nov. de 2020 a

[NTG-context] Testing for LMTX

2020-11-26 Thread Jean-Philippe Rey
Dear list, I would like to determine if LMTX is being used. Mimicking system modes I tried \startmode[*lmtx] . . . \stopmode however, LMTX doesn't define this mode but apparently defines *mkiv. Do you know a way to distinguish between LMTX and MkIV ? Thank you, -- Jean-Philippe Rey