From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104535 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Duncan Hothersall Newsgroups: gmane.comp.tex.context Subject: mkiv MathML bug? Date: Thu, 27 Jun 2019 17:35:58 +0100 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5499581203553924772==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="64589"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 27 18:36:33 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hgXNx-000Gd1-0y for gctc-ntg-context-518@m.gmane.org; Thu, 27 Jun 2019 18:36:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 03EDC151E6A; Thu, 27 Jun 2019 18:36:19 +0200 (CEST) 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 6n4S-a1rlkxR; Thu, 27 Jun 2019 18:36:18 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 26F74151EE5; Thu, 27 Jun 2019 18:36:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2496B151EE2 for ; Thu, 27 Jun 2019 18:36:17 +0200 (CEST) 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 RY-tNgk3PeBd for ; Thu, 27 Jun 2019 18:36:16 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.43; helo=mail-io1-f43.google.com; envelope-from=dh@capdm.com; receiver= Original-Received: from mail-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) (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 06A09151E6A for ; Thu, 27 Jun 2019 18:36:15 +0200 (CEST) Original-Received: by mail-io1-f43.google.com with SMTP id u19so6095509ior.9 for ; Thu, 27 Jun 2019 09:36:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=capdm.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=bFzYSBSK5f7V+mRetphoSa1HvUxsKAIsPSb4V7KuaZg=; b=Acu7SjefTxqYKphcEJKdneDqTIzhXiCr8Txb9CWu9qJ5MpAHiNdV0fHSXjtkbQMYc4 2A8JvbajJrRXpJLkNgLS84krldnal/j8w53dre1XevXGMsi677y/J2gD9jqwXGkLoFYF 3Sp0/B/qykfeDtbTji1HwBH8YM7tzox3i3sXM= 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=bFzYSBSK5f7V+mRetphoSa1HvUxsKAIsPSb4V7KuaZg=; b=SuxR6HXxOrYsHAZKSCUwgugd4N4JYW4pWjqRu0TOo8C4OPax8DMqednsOj70IJflBK H9lnEYWygd3zG2TmAwbSTO3ypx7b7zQQTyrQGV4h6LOn+Xv9RlaL52M9J15AYQrrq9p3 Clxx4wwykNMDM6MM6qP34j2aGoCAE19Tq7n+rr7TobQqTnLVi1kBjoi7orlD85jiDFCb vSA3jvmmVPsQCXyrHug2jd08vCnsvu6kqqvKQfOPsowN9/M3WPESjg0OypZ32YnZR58U 3UygPoTB/Nuwmmj/V/ZI3+a0Tye+jEhN8R0DUQe49Ive03Hv7hJlRGONI6TMqvcSDoAh OLGQ== X-Gm-Message-State: APjAAAWSF0cz+UJ0UNAIQy9BLVUmu7T/naRzXAw83tLVNaT1/8tZcqkM Cs/1SbkOKMjbLaivIXj7IENjhRfRmZMiLRkkGeqYCLoes9t8xw== X-Google-Smtp-Source: APXvYqymfCSew6d3pcTkk1zr7M27JDcd1T0u3tYRXhhOwwLAhYC5cDR1ZWHyZ2CUszD/WPCt8/bsJI6sgSnTSj++okM= X-Received: by 2002:a6b:b206:: with SMTP id b6mr6168775iof.286.1561653373873; Thu, 27 Jun 2019 09:36:13 -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.org gmane.comp.tex.context:104535 Archived-At: --===============5499581203553924772== Content-Type: multipart/alternative; boundary="0000000000009ce1b7058c50c2db" --0000000000009ce1b7058c50c2db Content-Type: text/plain; charset="UTF-8" I'm not sure this is something more general in the MathML module or if it's specific to the vertical bar in this particular context, but here is a minimal example showing that the "=0" at the end of the equation is disappearing: \usemodule[mathml] \starttext \xmlprocessdata{}{ A B | C = 0 }{} \stoptext And here is a workaround using instead of for the vertical bar which makes the "=0" magically reappear again: \usemodule[mathml] \starttext \xmlprocessdata{}{ A B | C = 0 }{} \stoptext Flagged up mainly in case it is a bigger problem than just vertical bars in this specific context. Thanks, Duncan --0000000000009ce1b7058c50c2db Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm not sure this is something more general in the Mat= hML module or if it's specific to the vertical bar in this particular c= ontext, but here is a minimal example showing that the "=3D0" at = the end of the equation is disappearing:

\usemodule[math= ml]
\starttext
\xmlprocessdata{}{<imath>
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 <math xmlns=3D'http://www.w3.org/1998/Math/MathML'>
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 <mi>A</mi>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 <mfenced open=3D"(" close=3D")" separators=3D&qu= ot;">
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <mi>B</= mi>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <mo>|</mo><= br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <mi>C</mi>
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 </mfenced>
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 <mo>=3D</mo>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 <mn>0</mn>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 </math>
= =C2=A0 =C2=A0 =C2=A0 </imath>}{}
\stoptext

= And here is a workaround using <mtext> instead of <mo> for the = vertical bar which makes the "=3D0" magically reappear again:




--0000000000009ce1b7058c50c2db-- --===============5499581203553924772== 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== --===============5499581203553924772==--