From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/110883 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Typing within doifmode leads to error Date: Fri, 19 Mar 2021 04:58:51 +0100 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1779080334476324124==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26167"; mail-complaints-to="usenet@ciao.gmane.io" To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 19 04:59:42 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lN6IY-0006hg-8S for gctc-ntg-context-518@m.gmane-mx.org; Fri, 19 Mar 2021 04:59:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7F5712814D6; Fri, 19 Mar 2021 04:59:11 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3ms4FWdjuxIh; Fri, 19 Mar 2021 04:59:10 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2CD02281A79; Fri, 19 Mar 2021 04:59:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B96F72817D1 for ; Fri, 19 Mar 2021 04:59:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8xPN7gHOvRFS for ; Fri, 19 Mar 2021 04:59:08 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.180; helo=mail-lj1-f180.google.com; envelope-from=christoph.reller@gmail.com; receiver= Original-Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 1CC662814D6 for ; Fri, 19 Mar 2021 04:59:08 +0100 (CET) Original-Received: by mail-lj1-f180.google.com with SMTP id s17so10264522ljc.5 for ; Thu, 18 Mar 2021 20:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=7GxMgImESkbcEplftSPAV9XqX2sLvOoRF1VemhUoEQc=; b=Yz5dB2JxfH2Idu6XCOjJ4xoo+UurAUp7FnA7+JK5njLz2NCUFLHFpuo8KSKLKCbKe5 7++vtpD22TYSk76dioCNulUNJcfYLq1snRG+W1O5frTkUMzeDRrSC4GsaDY/4Jz3VYIk BCJfvtvAPwu674Pg7mfIYjEdNgcVRe1exsEBxSqvP0C05S3n88fvp+HFmbb7yhmlZVgV uuerSp2mPhX2DxVNgGZppNIpRNaKq0r48Zh3MeS9MKjMoSEC9ojIB2e3LTYTufMLjs15 m9KxbiDqtPqEwKmn47Sd4Vg4mhCyeCartQvjvsdYA5QLxieSrt6KmhJDR/8KDN1SLZhs R7SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7GxMgImESkbcEplftSPAV9XqX2sLvOoRF1VemhUoEQc=; b=efkO/YFUexnnDyEz4GrBoVH/bSYMfYPTSUWIJhSpWM8JgExs5czh35VmZkXOqIK4Jq OqaUiKfCXaKxbt+VjGAd3HkkkwKuQNkBkoEeTthxtzKv5L7kbf/HziAVY5zWDnC1HTP5 MR5cxVaSBI6zoblrztkb6TTGFyxa7YMhub4sr8WlJMz0rJdw0Bgfmeehbpj8OnjbjlKV XrzyoeO81Hqk7XsoYA4erByYFGtDrIbhKIDdABD7wL/G80GWb1L/CtfWAtbAmpPo3Ncj ZyMdvKKK3TtzJ24z3XteJXksltf1NC+v8I3z86HvLWsOf+XCSgFriDZaMnKwPceQq+u/ 1cYQ== X-Gm-Message-State: AOAM530j+nY6T2YziWIRz8B0RclpUVIEatxj8B0deOv0oSwrbF+xHOlR eURH2DFcqFy6VeIdLV2b/Iv6SFdmNq/pzBfINP/3mwPf/6k= X-Google-Smtp-Source: ABdhPJyaPdgysRFPq7ha7wfk+0pOLJdWrR9mPgN5U2Zf/0Kqlvgezz1jhDhk+u6+9NWsn27V0S78jcQRSehMtvm6vxs= X-Received: by 2002:a2e:95d2:: with SMTP id y18mr7740421ljh.353.1616126347008; Thu, 18 Mar 2021 20:59:07 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:110883 Archived-At: --===============1779080334476324124== Content-Type: multipart/alternative; boundary="000000000000d35e8c05bddbbc93" --000000000000d35e8c05bddbbc93 Content-Type: text/plain; charset="UTF-8" Hi, Consider the following MWE: \definetyping[T] \definemode[mode][yes] \starttext \doifmode{mode}{% \startT Bla \stopT} \stoptext Compilation with the currently latest ConTeXt LMTX (ver: 2021.03.17 17:46 LMTX fmt: 2021.3.18) fails with: tex error > runaway error: end of file encountered mtx-context | fatal error: return code: 1 Compilation is successful if I replace doifmode{mode}{...} by \startmode[mode]...\stopmode. Is there anything I'm missing? (This could be a bug.) Cheers, Christoph Reller --000000000000d35e8c05bddbbc93 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Consider the followi= ng MWE:

\definetyping[T]
\definemode[mode][yes]=
\starttext
\doifmode{mode}{%
=C2=A0 \startT
=C2=A0 =C2=A0 Bla<= br>=C2=A0 \stopT}
\stoptext

Compilation wit= h the currently latest ConTeXt LMTX (ver: 2021.03.17 17:46 LMTX =C2=A0fmt: = 2021.3.18) fails with:

tex error =C2=A0 =C2=A0 =C2= =A0 > runaway error: end of file encountered
mtx-context =C2=A0 =C2= =A0 | fatal error: return code: 1

Compilation = is successful if I replace doifmode{mode}{...} by \startmode[mode]...\stopm= ode.

Is there anything I'm=C2=A0missing? (This= could be a bug.)

Cheers,

Christoph Reller
--000000000000d35e8c05bddbbc93-- --===============1779080334476324124== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1779080334476324124==--