From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109528 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: LMTX MkIV difference in expansion Date: Thu, 19 Nov 2020 15:20:53 -0500 Message-ID: <7ca4ce38-e876-72d8-b64e-121e33823799@rik.users.panix.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6471646443687795966==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39124"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.4.3 To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 19 21:21:30 2020 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 1kfqQs-000A3N-88 for gctc-ntg-context-518@m.gmane-mx.org; Thu, 19 Nov 2020 21:21:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 993BC1A9D41; Thu, 19 Nov 2020 21:21:01 +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 jOc_wnDyVLft; Thu, 19 Nov 2020 21:21:00 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C65BC1A9FE1; Thu, 19 Nov 2020 21:21:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D859A1A9FE1 for ; Thu, 19 Nov 2020 21:20:59 +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 dKDLAqAUzqMd for ; Thu, 19 Nov 2020 21:20:59 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=166.84.1.89; helo=mailbackend.panix.com; envelope-from=context@rik.users.panix.com; receiver= Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 2EFD01A7B45 for ; Thu, 19 Nov 2020 21:20:58 +0100 (CET) Original-Received: from [192.168.0.13] (cpe-24-194-28-156.nycap.res.rr.com [24.194.28.156]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4CcWK410yZzWNm for ; Thu, 19 Nov 2020 15:20:56 -0500 (EST) Content-Language: en-US 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:109528 Archived-At: This is a multi-part message in MIME format. --===============6471646443687795966== Content-Type: multipart/alternative; boundary="------------A4A78338DE10E9A73EAEA787" Content-Language: en-US This is a multi-part message in MIME format. --------------A4A78338DE10E9A73EAEA787 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Another LMTX/MkIV difference, this time with expansion: \define\Align{yes} \starttext \startalignment[\Align]     This works with MkIV but fails with LMTX, complaining: {\tt     tex error on line 3 in file G:/expand.mkvi: The file ended     when scanning an argument.} \blank    It works in both when \tex{def} or \tex{defineexpandable} is    used instead of \tex{define}. \blank    What changed? \stopalignment \stoptext It may well be that I have been abusing some laxity in MkIV and that LMTX is a bit stricter in what it accepts, but I would like to know if this is an expected difference. -- Rik --------------A4A78338DE10E9A73EAEA787 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Another LMTX/MkIV difference, this time with expansion:

\define\Align{yes}
\starttext
\startalignment[\Align]
    This works with MkIV but fails with LMTX, complaining: {\tt
    tex error on line 3 in file G:/expand.mkvi: The file ended
    when scanning an argument.}
\blank
   It works in both when \tex{def} or \tex{defineexpandable} is
   used instead of \tex{define}.
\blank
   What changed?
\stopalignment
\stoptext

It may well be that I have been abusing some laxity in MkIV and that LMTX is a bit stricter in what it accepts, but I would like to know if this is an expected difference.

--
Rik

--------------A4A78338DE10E9A73EAEA787-- --===============6471646443687795966== 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== --===============6471646443687795966==--