From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id D813C26556 for ; Tue, 12 Mar 2024 11:24:14 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 6A1564840C1 for ; Tue, 12 Mar 2024 11:23:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=xs4all.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z_6FFFBzrwpR for ; Tue, 12 Mar 2024 11:23:22 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id DECFF484218 for ; Tue, 12 Mar 2024 11:22:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id A8B79483DC9 for ; Tue, 12 Mar 2024 11:22:06 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id izEd4zH8z3we for ; Tue, 12 Mar 2024 11:22:06 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=195.121.94.186; helo=ewsoutbound.kpnmail.nl; envelope-from=j.hagen@xs4all.nl; receiver= Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.186]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 4FBC9483DC6 for ; Tue, 12 Mar 2024 11:22:06 +0100 (CET) X-KPN-MessageId: 2f75b37a-e05a-11ee-9a83-00505699b430 Received: from smtp.kpnmail.nl (unknown [10.31.155.8]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id 2f75b37a-e05a-11ee-9a83-00505699b430; Tue, 12 Mar 2024 11:20:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=xs4all01; h=content-type:from:to:subject:mime-version:date:message-id; bh=yuBblqqUCajgDqH3JiTdZI1dVunFLZ336fvueJLp/jE=; b=evi9zeUNauRjR4WQBoTfwTGdZb9lhFqfsxdhpVdiBSLS7hRgH1aBPBRNsbI16a3z9dnhFJYCPqUGZ c9qRsNKFSTf03/Nm2uJDsPv1BpfhDLTqIHudQAPLQXEAYcdF7tyBzwTHXNj34/SqNYBXtcIG3Gc1pK H3TUY2eYS1cLiypgQy4El3Xm96XQS8Fwi0krIAK+1jPBU2W8eK8vTPpuCURJ6aaAeS1HrFj8bt1GYt 6Ok0B8kWz6z9OZeeNp+kji/1xfxuaxGSwtshB/wJYNH4hvp0oB5iaAd/N2EOf6fDleteEdBdbbcBD2 R6HRj+k1EzIho/CrFFEUKsZQ420/RWg== X-KPN-MID: 33|pBCVd3VOdDIFOeSXvT09hSiF+eztved6qkCf2D7Aru3m9gdF9yafeonh4B/62t7 9ahMGK2sG7Y5D3CjENUhnyQ== X-KPN-VerifiedSender: Yes X-CMASSUN: 33|YR7syKyeAig6Zp72QxNgbvQKwhXxPiqzCiypPSWl56RadgzuMeuw6/A66xFvYeI w0FdwkqYw1ovKBRps71rT/A== X-Originating-IP: 213.125.29.162 Received: from [10.100.1.105] (d57d1da2.static.ziggozakelijk.nl [213.125.29.162]) by smtp.xs4all.nl (Halon) with ESMTPSA id 5fe6c24c-e05a-11ee-895e-00505699d6e5; Tue, 12 Mar 2024 11:22:05 +0100 (CET) Message-ID: <617925a2-f289-413d-ac44-ff66f6721936@xs4all.nl> Date: Tue, 12 Mar 2024 11:22:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ntg-context@ntg.nl References: <153cd0cd34e1aa344a2ea6132ecf04586a64dbdf.camel@telus.net> From: Hans Hagen In-Reply-To: <153cd0cd34e1aa344a2ea6132ecf04586a64dbdf.camel@telus.net> Message-ID-Hash: ZAKOEG3OKU23VD2DQMGISO36M3GYIHF3 X-Message-ID-Hash: ZAKOEG3OKU23VD2DQMGISO36M3GYIHF3 X-MailFrom: j.hagen@xs4all.nl X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit On 3/12/2024 8:57 AM, Max Chernoff wrote: > Hi all, > > Often I want to include a sentence/paragraph in the middle of a long > multipart formula. With the old \startalign/\stopalign formulas, I could > use \intertext{...} to do this, but this doesn't work with the new > \alignhere/\breakhere formulas. I've managed to find a "solution" for > this, although I'd prefer something a bit less hacky. Any ideas? > > Also, is there a way to highlight an equation across an \alignhere? Once > again, I've found a "solution", but like before, it's pretty hacky. > > Example files are attached. maybe \starttexdefinition protected newintertext #1 \leftparbox [global] { \vadjust pre \bgroup \forgetall \vskip.5\strutdp % needs to be more clever in the end \dontleavehmode\vtop\bgroup #1 \egroup \egroup } \breakhere \stoptexdefinition but i need to discuss it with Mikael as we might integrate something better and then it needs to be documented (in the upcoming manual) as well Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________