From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82935 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Fwd: bug with overbar Date: Tue, 11 Jun 2013 21:03:36 +0200 Message-ID: References: <044F5274-487F-4259-B2E4-367D92E60A62@st.estfiles.de> <76698B28-8393-401A-9269-E8DC98A0D439@st.estfiles.de> <42FA1FA7-CE2C-4CEC-ADE6-6C09EB7B8DC6@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0472891963==" X-Trace: ger.gmane.org 1370977432 2720 80.91.229.3 (11 Jun 2013 19:03:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Jun 2013 19:03:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 11 21:03:54 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UmTrF-0007vQ-F6 for gctc-ntg-context-518@m.gmane.org; Tue, 11 Jun 2013 21:03:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BCA651021B; Tue, 11 Jun 2013 21:03:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZPZv6ghCZnze; Tue, 11 Jun 2013 21:03:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 07944101E4; Tue, 11 Jun 2013 21:03:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9372F101E4 for ; Tue, 11 Jun 2013 21:03:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id x-1RvAU4fbS2 for ; Tue, 11 Jun 2013 21:03:48 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 3C3FE101E0 for ; Tue, 11 Jun 2013 21:03:38 +0200 (CEST) Original-Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5BJ3bsP021115 for ; Tue, 11 Jun 2013 21:03:37 +0200 Original-Received: by mail-lb0-f173.google.com with SMTP id v1so2997736lbd.32 for ; Tue, 11 Jun 2013 12:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Sv0EFljZ/MbGTU64EFA8p4msLSL3VfYWTJhhvbxltGk=; b=DyNFWzYTTR60vpnOCvWImBp6tNRD6iOrR7WfVNUskwqY14yJgM5+uqCuFBnrYqPOPY 34pCIHulaHsYfEFN6rQnAmFAEaHncsFowqbBggTi9tXV/TH8exBvtttauUcn2XNJ/swj 5rohB+UsxvS+4/usTqUIY+0O0DJgUilC0FVCWe16leXl4CrpANdDM7JMKu0Eud9x4VAb 8f9YLRSRhtb/r6fOur9MRVcB4VNUR3wWXpOJha5+PDC4UvwKHGMl3wcPsB4y/Vr/3ZbK U5ERe03Q9fT6Bnc8DIcHQb1Xm/xJ3H7SguwOcT2rVa9F4qjdNfNyNijs4GJtSofmNhEX HFYQ== X-Received: by 10.112.14.106 with SMTP id o10mr9372975lbc.31.1370977416917; Tue, 11 Jun 2013 12:03:36 -0700 (PDT) Original-Received: by 10.114.172.134 with HTTP; Tue, 11 Jun 2013 12:03:36 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.217.173; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06JL73Bjt - 31808fc9fe4d - 20130611 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82935 Archived-At: --===============0472891963== Content-Type: multipart/alternative; boundary=001a11c36f16ee373704dee58d34 --001a11c36f16ee373704dee58d34 Content-Type: text/plain; charset=UTF-8 On Tue, Jun 11, 2013 at 6:31 PM, Steffen Wolfrum wrote: > > Am 10.06.2013 um 17:43 schrieb luigi scarso: > > > > > > > > > On Sun, Jun 9, 2013 at 4:33 PM, luigi scarso > wrote: > > > > > > > > On Sun, Jun 9, 2013 at 4:27 PM, Steffen Wolfrum > wrote: > > ... no. it should look this (see below): $\overline{U_A}$ > > > > it should be ok now with the latest standalone > > well, the minimal example works ok (see below). > but the real piece of code doesn not (see below, too). > > any idea why?? > > > thanks, steffen > ------- > > > > \usemodule[mathml] \starttext > > > \startbuffer > > > > > > U > A > > > > > > > \stopbuffer{\processxmlbuffer} > > This is ok: all the elements have MathML namespace Now, in the next example you declare the mml name space and the you use it only for and --- all the other nodes that are not in the mml namespace are skipped. But with you still declare the MathML namespace, so they are ok and then with U A you are again *outside* the MathML namespace so they are your private markup and context doesn't render as MathML --- after all they are your private markup. -- luigi --001a11c36f16ee373704dee58d34 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On T= ue, Jun 11, 2013 at 6:31 PM, Steffen Wolfrum <wolfrum@st.estfiles.de= > wrote:

Am 10.06.2013 um 17:43 schrieb luigi scarso:

>
>
>
> On Sun, Jun 9, 2013 at 4:33 PM, luigi scarso <luigi.scarso@gmail.com> wrote= :
>
>
>
> On Sun, Jun 9, 2013 at 4:27 PM, Steffen Wolfrum <context@st.estfiles.de> wr= ote:
> ... no. it should look this (see below): $\overline{U_A}$
>
> it should be ok now with the latest standalone

well, the minimal example works ok (see below).
but the real piece of code doesn not (see below, too).

any idea why??

=C2=A0
thanks, steffen
-------



\usemodule[mathml] \starttext


\startbuffer
<math xmlns=3D"http://www.w3.org/1998/Math/MathML">
<mrow>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <mover accent=3D"true">
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <mrow>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 <msub>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <mi>U</mi>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <mi>A</mi>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 </msub>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 </mrow>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <mo>&Over= Bar;</mo>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 </mover>
</mrow>
</math>
\stopbuffer{\processxmlbuffer}

This is ok: all the elements have MathM= L namespace

Now,=C2=A0 in the next example=C2= =A0 you declare the mml name space
and the you use it=C2=A0 = only for
<mml:math>and </mml:math>
--- all the other nodes that are not in the mml namespace are skipped= .
But with
<msubsup xmlns=3D&quo= t;http://w= ww.w3.org/1998/Math/MathML">
you still declare the MathML namespace, so they = are ok
and then=C2=A0 with
<mrow>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <mover accent=3D"true">
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <mrow>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 <msub>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <mi>U</mi>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <mi>A</mi>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 </msub>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 </mrow>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <mo>&Over= Bar;</mo>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 </mover>
</mrow>
you are again *outs= ide* the MathML namespace so they are your private markup
and context doesn't render as MathML --- after all t= hey are your private markup.





--
luigi
--001a11c36f16ee373704dee58d34-- --===============0472891963== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0472891963==--