From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50193 Path: news.gmane.org!not-for-mail From: Arun Dev Newsgroups: gmane.comp.tex.context Subject: Opentype features Date: Sun, 10 May 2009 18:22:09 +0530 Message-ID: <9028d48b0905100552h65692d3fw8fcbe59eebad1aa8@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1615090133==" X-Trace: ger.gmane.org 1242021849 10012 80.91.229.12 (11 May 2009 06:04:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2009 06:04:09 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon May 11 08:04:01 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 1M3OcJ-0006AP-2M for gctc-ntg-context-518@m.gmane.org; Mon, 11 May 2009 08:03:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9935A1FBD0; Mon, 11 May 2009 08:03:56 +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 10173-04-4; Mon, 11 May 2009 08:02:54 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0468D1FDE0; Mon, 11 May 2009 08:02:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D179A1FC51 for ; Sun, 10 May 2009 14:52:23 +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 25152-05 for ; Sun, 10 May 2009 14:52:12 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by ronja.ntg.nl (Postfix) with ESMTP id CF5401FC45 for ; Sun, 10 May 2009 14:52:12 +0200 (CEST) Original-Received: from mail-qy0-f103.google.com (mail-qy0-f103.google.com [209.85.221.103]) by filter1-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4ACqAqY023581 for ; Sun, 10 May 2009 14:52:11 +0200 Original-Received: by qyk1 with SMTP id 1so3382100qyk.16 for ; Sun, 10 May 2009 05:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=sigqfzF11oOWqzmeVVQbMgZI1vRL6syIJ6UD6J1NEC0=; b=aQplTwJUtNNmkW0v5aNWi7cMfyyl8uL/+w3df0WAMRGZz6oUxpB4n1Ms3AMI3knPlu Dwp0+2J1aQfN6jQR1y7klYapei8aVvCi/sDbGlA30OAJsbPwF/kRd5USSD+fB8SM8SmJ EGICR+yNsdWiZAbCQjfvrKivgo6WHXRjdNX1M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=DP3lq2t2nxiRaLR/p87pKklp7u1A+8AyD3y3322NQ7dlaY10H6v55MhSqT0SSKYncn pz4+5Zh76sVGTqwzTNylWtCYpR5c9YSlDj07sqvXeiZEZmMZCAEVySiHwbKnAp96WOfQ mKAgfzA3QnSvkOMiChSiRV+cvXi8qU7uoQm38= Original-Received: by 10.220.95.135 with SMTP id d7mr8091133vcn.8.1241959929519; Sun, 10 May 2009 05:52:09 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.221.103; 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: 222428154 - f42c4b5d82cc - 20090510 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Mon, 11 May 2009 08:02:52 +0200 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:50193 Archived-At: --===============1615090133== Content-Type: multipart/alternative; boundary=0016e645b9f06c9ebc04698e5409 --0016e645b9f06c9ebc04698e5409 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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] 2. Is there an eqivalent code to the following XeLaTeX code. \defaultfontfeatures{Scale=MatchLowercase} 3. How to use Cambria Math font to typeset math. --0016e645b9f06c9ebc04698e5409 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 I= am using Context Mark II + XeTeX. I would like to know the following thing= s.

1. How to use opentype font features. I tried the following code = but it is not working.
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
\definefontfeature[myfontfea][+onum]
=C2=A0= \definetypeface[Libertine][rm][Xserif][Linux Libertine O][default][feature= s=3Dmyfontfea]
=C2=A0 \setupbodyfont[Libertine,12pt]

2. Is there an eqivalent code to the follo= wing XeLaTeX code.
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \defaultfontfeatures{Scale=3DMatchLowercase}
3. How to use Cambria Math font to typeset math.


--0016e645b9f06c9ebc04698e5409-- --===============1615090133== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1615090133==--