From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50195 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Opentype features Date: Mon, 11 May 2009 08:30:35 +0200 Message-ID: <54EF7CEC-7820-4093-A175-C1C6617EACFE@gmail.com> References: <9028d48b0905100552h65692d3fw8fcbe59eebad1aa8@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242023564 13545 80.91.229.12 (11 May 2009 06:32:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2009 06:32:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 11 08:32:36 2009 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 1M3P40-0005kC-63 for gctc-ntg-context-518@m.gmane.org; Mon, 11 May 2009 08:32:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 98FD61FE2A; Mon, 11 May 2009 08:32:35 +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 10174-05; Mon, 11 May 2009 08:31:29 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 54BCD1FD7E; Mon, 11 May 2009 08:31:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 538E81FD7E for ; Mon, 11 May 2009 08:31:26 +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 10175-05 for ; Mon, 11 May 2009 08:31:07 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by ronja.ntg.nl (Postfix) with ESMTP id A3D5C1FD55 for ; Mon, 11 May 2009 08:31:07 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by filter3-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4AIMR0J004334 for ; Sun, 10 May 2009 20:22:28 +0200 Original-Received: by fg-out-1718.google.com with SMTP id l27so515177fgb.8 for ; Sun, 10 May 2009 23:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=G93ylTAtusyczsIscW1zyW5iU4NwI6dpEZT7/+2RzpM=; b=jLZlU1qDaH/Fiy7GS4vNwCYg3Bsko7OmgrV60tmFSeVgh5yOUO1WaGMwmumBFtIFSf ASG1f1DsDgUzC9rp3aCPoDHR/4yjdCinrkQ+QwLr935bHPdjVAOMcfNmGkJ/dx+5M+JX Slv9zWxPXJ9Q0ugrKMfAnQs1t1AoTlLO+sHck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=FT5gsG9F1M0dWCFS8qWk0TICSYBUwesBMH/gjHyBEEDe608X1c+90+VrnZuIVDdMqI Gct487lcgpZ0YpjXbf7s1wj31wHHH6HxHnIXkhQXkf7cIFisFuTzxxsMuQ1GdOr3d/Sm ovWG57Skx62EVjFYM66wvN6rkG+nnylJIWb0I= Original-Received: by 10.86.68.10 with SMTP id q10mr6014637fga.78.1242023464577; Sun, 10 May 2009 23:31:04 -0700 (PDT) Original-Received: from ?10.66.76.87? ([82.113.106.84]) by mx.google.com with ESMTPS id e20sm3676542fga.15.2009.05.10.23.31.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 10 May 2009 23:31:03 -0700 (PDT) In-Reply-To: <9028d48b0905100552h65692d3fw8fcbe59eebad1aa8@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.157; 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: 222693022 - 3bdc00494c60 - 20090511 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50195 Archived-At: Am 10.05.2009 um 14:52 schrieb Arun Dev: > Hello, > > I am using Context Mark II + XeTeX. I would like to know the > following things. > > 1. How to use opentype font features. I tried the following code but > it is not working. > > \definefontfeature[myfontfea][+onum] > \definetypeface[Libertine][rm][Xserif][Linux Libertine O][default] > [features=myfontfea] > \setupbodyfont[Libertine,12pt] \definefontfeature[default][default][onum=yes] \definetypeface[Libertine][rm][Xserif][Linux Libertine O][default] \setupbodyfont[Libertine] > 2. Is there an eqivalent code to the following XeLaTeX code. > > \defaultfontfeatures{Scale=MatchLowercase} Only when you port the fontspec package to ConTeXt. > 3. How to use Cambria Math font to typeset math. MkII (XeTeX): Write the code to use OpenType math fonts and send it to Hans. MkIV (LuaTeX): \definetypeface[Libertine][mm][math][cambria][default] Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________