From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20503 Path: news.gmane.org!not-for-mail From: Duncan Hothersall Newsgroups: gmane.comp.tex.context Subject: Re: Accents in MathML Date: Thu, 26 May 2005 16:06:01 +0100 Message-ID: <4295E5D9.3040603@capdm.com> References: <20050526100002.E69D8127D0@ronja.ntg.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1117119997 28242 80.91.229.2 (26 May 2005 15:06:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 May 2005 15:06:37 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu May 26 17:06:33 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DbJuC-0004fO-Ec for gctc-ntg-context-518@m.gmane.org; Thu, 26 May 2005 17:04:16 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F41A2127D0; Thu, 26 May 2005 17:06:11 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15693-04-4; Thu, 26 May 2005 17:06:07 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3712012791; Thu, 26 May 2005 17:06:07 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 20AD012791 for ; Thu, 26 May 2005 17:06:06 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15693-04-3 for ; Thu, 26 May 2005 17:06:05 +0200 (CEST) Original-Received: from liszt-05.ednet.co.uk (liszt-05.ednet.co.uk [212.20.226.26]) by ronja.ntg.nl (Postfix) with ESMTP id 3510712784 for ; Thu, 26 May 2005 17:06:04 +0200 (CEST) Original-Received: from [192.168.254.41] (unknown [212.20.255.162]) by liszt-05.ednet.co.uk (Postfix) with ESMTP id 8537C12ED3F for ; Thu, 26 May 2005 16:06:04 +0100 (BST) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: <20050526100002.E69D8127D0@ronja.ntg.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20503 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20503 I said: > Interestingly, if I forget about unicode and use é instead of =E9= , > then no matter what I put in the preamble I get the e with a guillemot > superimposed. So whatever is mapping =E9 incorrectly seems also to be > mapping é incorrectly. Further testing suggests that my problem is this: Between \startXMLdata and \stopXMLdata, where MathML is being parsed directly by ConTeXt, I get the wrong results for accented characters within elements. For example, I get an e character with a guillemot superimposed on top when I want an e with an acute accent. It doesn't seem to matter whether the markup is unicode =E9, the entity é, or the command \eacute. Similar problems happen with other accents I have tried. In the case of =F1 the accent is almost right but comes out too big (looks like the maths version of the accent?). The following is my local test file, using unicode and comparing running text to in MathML: -- \mainlanguage[es]\enableregime[utf]\useencoding[uc] \usemodule[mathml]\setupoutput[pdftex] \starttext Situaci=F3n ni=F1os vol=FAmenes s=ED inter=E9s: \startXMLdata Situaci=F3n ni=F1os vol=FAmeness=ED inter=E9s\stopXMLdata \stoptext -- The following is a non-unicode test file that will process on Live and exhibits the same errors in the MathML accent rendering. It uses entity references instead of unicode in the MathML, but because they map to the same thing the output is the same: -- \mainlanguage[es]\enableregime[utf]\useencoding[uc] \usemodule[mathml]\setupoutput[pdftex] \starttext \startXMLdata Situación niños volúmenessí interés\stopXMLdata \stoptext -- I have a feeling I have made this more complex than it needed to be, but can anyone shed light on how to fix it? Thanks, Duncan PS Apologies for the nonsense Spanish content - it's just random words with accents.