From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109442 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Philippe Rey Newsgroups: gmane.comp.tex.context Subject: LMTX, mathcases and noalign Date: Fri, 13 Nov 2020 16:21:40 +0100 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_9F8E6278-8088-44E7-B9F9-ACF321F90021" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38106"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 13 16:28:41 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 1kdb0D-0009nP-81 for gctc-ntg-context-518@m.gmane-mx.org; Fri, 13 Nov 2020 16:28:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0E2431A975A; Fri, 13 Nov 2020 16:28:13 +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 tWzuBIDXTfGB; Fri, 13 Nov 2020 16:28:12 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2248C1A98F8; Fri, 13 Nov 2020 16:28:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 624641A975A for ; Fri, 13 Nov 2020 16:28: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 2pwcwXvXO3lp for ; Fri, 13 Nov 2020 16:28:10 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=138.195.33.47; helo=smtp3.ecp.fr; envelope-from=jean-philippe.rey@centralesupelec.fr; receiver= X-Greylist: delayed 389 seconds by postgrey-1.36 at zapf.ntg.nl; Fri, 13 Nov 2020 16:28:10 CET Original-Received: from smtp3.ecp.fr (smtp3.ecp.fr [138.195.33.47]) by zapf.ntg.nl (Postfix) with ESMTP id 9816B1A9733 for ; Fri, 13 Nov 2020 16:28:10 +0100 (CET) Original-Received: from [192.168.0.46] (box.vacherie.jprey.fr [78.219.134.10]) (Authenticated sender: jprey) by smtp3.ecp.fr (Postfix) with ESMTPSA id C71E761CD8; Fri, 13 Nov 2020 16:21:40 +0100 (CET) X-Mailer: Apple Mail (2.3608.120.23.2.4) 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:109442 Archived-At: --Apple-Mail=_9F8E6278-8088-44E7-B9F9-ACF321F90021 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Dear list, I am trying to switch from MKIV to LMTX. I've just found a discrepancy = with the following code which puts space between two lines in a math = alignment. This minimum breaking example uses \startcases, but the same = problem arises with other alignment macros. \starttext \startformula \startcases \NC 1 \NC if not null \NR \noalign{\vskip2ex} \NC 0 \NC if null \NR \stopcases \stopformula \stoptext This snippet works fine with MKIV but breaks in LMTX (see attached log = file). Is this a bug in LMTX or is there another way to insert space = between two lines? I've already tried different other solutions, but none seems really = appropriate: - \intertext produces a vertical space of at least 3 lines and I haven't = been able to make it smaller; - adding an empty line (\NC \NR) produces a smaller space but I am = unable to reduce its height below a minimum value (roughly a line); - adding a \vrule to the above or below line works fine but it needs = some calculation depending on the content of the line. Thank you for your help, --=20 Jean-Philippe Rey jean-philippe.rey@centralesupelec.fr 91192 Gif-sur-Yvette Cedex - France Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51 --Apple-Mail=_9F8E6278-8088-44E7-B9F9-ACF321F90021 Content-Disposition: attachment; filename=noalign-mfe.log Content-Type: application/octet-stream; x-unix-mode=0644; name="noalign-mfe.log" Content-Transfer-Encoding: 7bit open source > level 1, order 1, name 'cont-yes.mkiv' system > system > ConTeXt ver: 2020.11.08 12:42 LMTX fmt: 2020.11.13 int: english/english system > system > 'cont-new.mkiv' loaded open source > level 2, order 2, name '/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv' system > beware: some patches loaded from cont-new.mkiv close source > level 2, order 2, name '/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv' system > files > jobname 'noalign-mfe', input './noalign-mfe', result 'noalign-mfe' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 2, order 3, name './noalign-mfe.tex' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded tex error > tex error on line 5 in file ./noalign-mfe.tex: Misplaced \crcr \math_cases_NR [#1][#2]->\strc_formulas_place_number_nested {#1}{#2}\crcr \dodirectdoubleempty ...\expandafter \syst_helpers_direct_double_empty_one_yes \else \expandafter \syst_helpers_direct_double_empty_one_nop \fi #1 #2