From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/33879 Path: news.gmane.org!not-for-mail From: nicola Newsgroups: gmane.comp.tex.context Subject: XeConTeXt and Euler Date: Sun, 18 Mar 2007 17:10:45 +0100 Organization: --- Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174234527 14283 80.91.229.12 (18 Mar 2007 16:15:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Mar 2007 16:15:27 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 18 17:15:24 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1HSy2U-00043B-Re for gctc-ntg-context-518@m.gmane.org; Sun, 18 Mar 2007 17:15:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 967DD1FE36; Sun, 18 Mar 2007 17:15:23 +0100 (CET) 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 30077-04; Sun, 18 Mar 2007 17:15:17 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E7C021FE31; Sun, 18 Mar 2007 17:15:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E46071FE31 for ; Sun, 18 Mar 2007 17:15:14 +0100 (CET) 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 31307-01-2 for ; Sun, 18 Mar 2007 17:15:11 +0100 (CET) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with ESMTP id D360E1FE2F for ; Sun, 18 Mar 2007 17:15:11 +0100 (CET) Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HSy29-0007uW-W4 for ntg-context@ntg.nl; Sun, 18 Mar 2007 17:15:02 +0100 Original-Received: from host40-5.pool8175.interbusiness.it ([81.75.5.40]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Mar 2007 17:15:01 +0100 Original-Received: from vitacolo by host40-5.pool8175.interbusiness.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Mar 2007 17:15:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host40-5.pool8175.interbusiness.it User-Agent: MT-NewsWatcher/3.5.2 (PPC Mac OS X) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:33879 Archived-At: Hi, I'm pretty new to ConTeXt, so please bear with me if the following has already been asked (I have not found any answer in the archives, though). My goal is to use an arbitrary text font together with the Euler math font. I am able to use a few combinations in ConTeXt, e.g. Palatino with Euler, without problems. But when I switch to XeConTeXt (to use my system's fonts), some Euler's math accents do not show up properly (\hat) or not at all (\acute, \grave, \bar, \breve, \dot, \ddot, \tilde, \check). I guess the problem is the different encoding (and possibly the use of virtual fonts), but I know that Euler works in XeTeX: is it possible to make it work in XeConTeXt? Below you find my sample code. Nicola %!TEX TS-program = XeConTeXt %!TEX encoding = UTF-8 Unicode \definetypeface[Charis][rm][Xserif][Charis SIL][default][encoding=uc] \definetypeface[Doulos][rm][Xserif][Doulos SIL][default][encoding=uc] \definetypeface[Gentium][rm][Xserif][Gentium][default][encoding=uc] \definetypeface[Charis][mm][math][euler][euler] % encoding??? \definetypeface[Doulos][mm][math][euler][euler] \definetypeface[Gentium][mm][math][euler][euler] \startbuffer Unicode text works fine here, but formulas do not: \startformula \breve x^n + \bar y^n = \hat z^n. \stopformula \stopbuffer \starttext \switchtobodyfont[Charis] \getbuffer \switchtobodyfont[Doulos] \getbuffer \switchtobodyfont[Gentium] \getbuffer \showmathcharacters \stoptext \end