From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104741 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Atsuhito Kohda Newsgroups: gmane.comp.tex.context Subject: Re: XML/HTML output of Math Date: Fri, 9 Aug 2019 14:35:54 +0900 Message-ID: References: <8C4294E8-81E1-4BA4-928F-20AC20AFAF63@elvenkind.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2374018350173918798==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="93019"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 09 07:36:35 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 1hvxZr-000O0R-KS for gctc-ntg-context-518@m.gmane.org; Fri, 09 Aug 2019 07:36:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4B1301530D0; Fri, 9 Aug 2019 07:36:11 +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 ZbyJHcpEX6dV; Fri, 9 Aug 2019 07:36:09 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A461E153319; Fri, 9 Aug 2019 07:36:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5A0C11530F5 for ; Fri, 9 Aug 2019 07:36:08 +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 6KMfQ8TI0pLa for ; Fri, 9 Aug 2019 07:36:07 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.67; helo=mail-ot1-f67.google.com; envelope-from=atsu10.kohda@gmail.com; receiver= Original-Received: from mail-ot1-f67.google.com (mail-ot1-f67.google.com [209.85.210.67]) (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 582A81530D0 for ; Fri, 9 Aug 2019 07:36:07 +0200 (CEST) Original-Received: by mail-ot1-f67.google.com with SMTP id b7so77989576otl.11 for ; Thu, 08 Aug 2019 22:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=QJB67xPddMY4CGPoIGZN1rA2j8UiTvLUbxZQB4b8ee4=; b=ZtyCLYxeune11nYnQabcV+y8DO2/x0bR1dR831TCmeb72ljOPWYBNzWF8LKLGWeGPV 9G4MuVbFX6PQxfvisNlGz23WSEl8fPvk1xA+OZpsFUy8lbBbdYe9+EFlDfJuZ4mT0i+/ 12x90Wpt6B7UR6G5q+eJhBKIjY16tbJcikWwBcTJnQ0/Cy/2gkiLg4rELYDzIUTsFKm4 6ysw+3pdn2Fg4PmMGH5in37MvEPctdlwfSTaz5aNVeOaxDtqQJhBaNFv6ZavZQGq35/f VqdXAvsF6VieEAqqaDtBisNqLK1vaRdOADFO5720xXllZI/lUADJAD6Wf/jgeWXWUg+n lDEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=QJB67xPddMY4CGPoIGZN1rA2j8UiTvLUbxZQB4b8ee4=; b=dzuGrbi1qhfAR1W5N7MeOezt4oYgrO1whHSZBomCP6xKM0Aq0QMPIWaglQrT1pwNoO ptW9acT9+3zZ+Qs/3wtlI5SujUZ9b9EEhWA9oA/AosWLZCF6NO3B7gI7jvh3ZLN9ZGj2 iVia9tbtwng37VUOqTlC+jrHf9UpzeGaopvazOlhPwpFT/K/RlrTQvpnLgGiRGp+NaCZ Vt5Wm44shfHzBkSkCV1xE8bqVih26oExdkGhGyfQio66oKAi8Q1+q6w3VQnsAmBJP8Dk GijEo3mtMC75sWCtNbkrfjv4NM64FncvgUlIuceuqM7BgdWVkrUYTv+XYV9rcq0L4cNF BE2A== X-Gm-Message-State: APjAAAUTMmqZsVqs73yJh+A67ZY/MVXPWnkMzsyXjhg1ivzIW0ZiPYz/ zC9W+1zKgFTXHqXQx75jXdnM75pnEN5Wk6QOxNetM238 X-Google-Smtp-Source: APXvYqw5gZar8lGp/T86g/7Wsc1gN3/DWSZvQC4SsN20uZFGrMrS4yjq7ry4PUGNsxyOO4Gi42Nb0KeToxw7jIj3WmQ= X-Received: by 2002:a9d:7587:: with SMTP id s7mr14756250otk.26.1565328965126; Thu, 08 Aug 2019 22:36:05 -0700 (PDT) In-Reply-To: <8C4294E8-81E1-4BA4-928F-20AC20AFAF63@elvenkind.com> 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:104741 Archived-At: --===============2374018350173918798== Content-Type: multipart/alternative; boundary="000000000000ec4d99058fa88c24" --000000000000ec4d99058fa88c24 Content-Type: text/plain; charset="UTF-8" Dear Taco, thanks for your reply. > I opened the xhtml with firefox and the only problem I see > is the ignored \displaystyle (which is why the integral looks small). > Inline looks fine otherwise, no interchanging of limits. Hmm, I use firefox 68.0.1 of Ubuntu 19.04 and firefox 60.8.0 of Debian/unstable. I see the interchanging of limits with both firefoxes. BTW, it seems Chromium doesn't support MathML. If any Linux users could test the xhtml with firefox (or any browsers) I believe it would help us much. > Well, as fine as it can be in firefox, which is pretty bad. I'm not sure if I understand you correctly but I think MathJax might be much better than MathML. > ConTeXt outputs b_a^\int in display mode; the order of the objects > inside the generated is wrong, which is clearly a bug. > And it seems to do this for all large operators. I see. > I think this somehow triggered by the nested mode switch (\text{\math{}}) in the \vsym. > If I change that definition to the more simple: > \define[1]\vsym{{\textstyle\bi #1}} > it works ok. Whether that helps you ... It helps me to some extent but with the original definition, we can use \vI in both math mode (\math{\vI}) and text mode like "vector \vI". So if ConTeXt could convert the nested mode switch correctly it would be very nice. Thanks for your info. Best regards, Atsuhito Kohda > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --000000000000ec4d99058fa88c24 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Taco, thanks for your reply.

= > I opened the xhtml with firefox and the only problem I see
> is = the ignored \displaystyle (which is why the integral looks small).
> = Inline looks fine otherwise, no interchanging of limits.

Hmm, I use = firefox 68.0.1 of Ubuntu 19.04 and firefox 60.8.0
of Debian/unstable.=C2= =A0 I see the interchanging of limits with
both firefoxes.=C2=A0 BTW, it= seems Chromium doesn't support MathML.
If any Linux users could tes= t the xhtml with firefox (or any browsers)
I believe = it would help us much.

> Well, as fine as it c= an be in firefox, which is pretty bad.

I'm not sure if I underst= and you correctly but I think MathJax
might be much better than MathML.<= br>
> ConTeXt outputs b_a^\int in display mode; the order of the obje= cts
> inside the generated <msubsub> is wrong, which is clearly= a bug.
> And it seems to do this for all large operators.

I s= ee.

> I think this somehow triggered by the nested mode switch (\= text{\math{}}) in the \vsym.
> If I change that definition to the mor= e simple:

> =C2=A0 \define[1]\vsym{{\textstyle\bi #1}}

>= ; it works ok. Whether that helps you ...

It helps me to some extent= but with the original definition, we can
use \vI in both math mode (\ma= th{\vI}) and text mode like "vector \vI".
So if ConTeXt could = convert the nested mode switch correctly
it would be very nice.

T= hanks for your info.
Best regards,
Atsuhito Kohda



___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000ec4d99058fa88c24-- --===============2374018350173918798== 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== --===============2374018350173918798==--