From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43759 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: Greek letters in math with XeTeX Date: Mon, 8 Sep 2008 03:37:12 +0200 Message-ID: <6faad9f00809071837r5623b5cas3b3e65b1bf823894@mail.gmail.com> References: <3eb5f5b10809071304u2f5f647bwadf26dd072fa6b8@mail.gmail.com> 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: ger.gmane.org 1220837934 381 80.91.229.12 (8 Sep 2008 01:38:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 01:38:54 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 08 03:39:48 2008 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 1KcVjI-0003vX-4t for gctc-ntg-context-518@m.gmane.org; Mon, 08 Sep 2008 03:39:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DC2EC1FD91; Mon, 8 Sep 2008 03:38:44 +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 00574-01-4; Mon, 8 Sep 2008 03:37:52 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DB9BB1FD1B; Mon, 8 Sep 2008 03:37:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ABECD1FD08 for ; Mon, 8 Sep 2008 03:37:48 +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 00514-01-3 for ; Mon, 8 Sep 2008 03:37:14 +0200 (CEST) Original-Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.156]) by ronja.ntg.nl (Postfix) with ESMTP id 2EB381FD7E for ; Mon, 8 Sep 2008 03:37:13 +0200 (CEST) Original-Received: by yx-out-1718.google.com with SMTP id 3so669123yxi.74 for ; Sun, 07 Sep 2008 18:37:12 -0700 (PDT) Original-Received: by 10.151.113.5 with SMTP id q5mr20487260ybm.37.1220837832150; Sun, 07 Sep 2008 18:37:12 -0700 (PDT) Original-Received: by 10.151.83.13 with HTTP; Sun, 7 Sep 2008 18:37:12 -0700 (PDT) In-Reply-To: <3eb5f5b10809071304u2f5f647bwadf26dd072fa6b8@mail.gmail.com> Content-Disposition: inline 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:43759 Archived-At: On Sun, Sep 7, 2008 at 10:04 PM, Flavien Lambert wrote: > (Sorry for the preceding message, I forgot the [NTG-context] for filters...) > > Dear all, I try to use Open Type fonts with ConTeXt and XeTeX (I recently > did the same with LaTeX using fontspec and mathspec packages). >From the web > site, I managed to use them for standard text as well as roman alphabet in > math. Unfortunately, greek letters stay printed with the Latin Modern font. > From examples of the web site, I tried the following lines but without > success. In a preceding post, there was a similar question but with the > luatex engine. > Thanks for your help ! > > \definetypeface[myface][rm][Xserif][GFS Didot] > \definetypeface[myface][mm][math][GFS Didot] No time for complete answer, but you need to define the whole [math][GFS Didot] repertoaire first. This has no effect until you define one. Someone needs to write "Unicode math support" for mkii, or you need to make your own virtual font. See this file for example: http://source.contextgarden.net/math-lbr.tex in a similar way that would need to be done for general typefaces without math. You might then be able to say something like \definetypeface[myface][mm][Xmath][GFS Didot], though I'm 100% sure that people would then start complaining very soon that they either: - want other math characters in their favorite font as well (like plus, minus, brackets, ...), not only Greek letters - complain that they don't get any symbol (no font has them all) Mojca ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________