From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52943 Path: news.gmane.org!not-for-mail From: Arno Trautmann Newsgroups: gmane.comp.tex.context Subject: Re: oldstyle numbers Date: Wed, 16 Sep 2009 12:25:12 +0200 Message-ID: <4AB0BD08.1010707@gmx.de> References: <4AB0B8F4.2080803@gmx.de> <84C03953-B07B-42FC-B5DF-2A2269C7B8E6@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0756773326==" X-Trace: ger.gmane.org 1253096857 21436 80.91.229.12 (16 Sep 2009 10:27:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Sep 2009 10:27:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 16 12:27:26 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MnrjR-0003MB-Lq for gctc-ntg-context-518@m.gmane.org; Wed, 16 Sep 2009 12:27:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D81FAC9AC7; Wed, 16 Sep 2009 12:27:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dlxFRUZdqD+t; Wed, 16 Sep 2009 12:27:16 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 49661C9AAA; Wed, 16 Sep 2009 12:27:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2EF72C9AAA for ; Wed, 16 Sep 2009 12:27:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ISwkd2ZFwMpl for ; Wed, 16 Sep 2009 12:27:11 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by balder.ntg.nl (Postfix) with SMTP id 97F1DC9A92 for ; Wed, 16 Sep 2009 12:27:10 +0200 (CEST) Original-Received: (qmail invoked by alias); 16 Sep 2009 10:27:10 -0000 Original-Received: from p4FD34C18.dip.t-dialin.net (EHLO [192.168.0.2]) [79.211.76.24] by mail.gmx.net (mp042) with SMTP; 16 Sep 2009 12:27:10 +0200 X-Authenticated: #8978720 X-Provags-ID: V01U2FsdGVkX1+oTxhH9amoxw/+ev/tL2XmHKpGmb8kkA4DqvvUIh ogqPYECwVqIul+ User-Agent: Thunderbird 2.0.0.22 (X11/20090719) In-Reply-To: <84C03953-B07B-42FC-B5DF-2A2269C7B8E6@googlemail.com> X-Enigmail-Version: 0.96.0 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:52943 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0756773326== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD7D22EA5F826C30DBA08FC2E" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD7D22EA5F826C30DBA08FC2E Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Wolfgang Schuster wrote: >=20 > Am 16.09.2009 um 12:07 schrieb Arno Trautmann: >=20 >> Hi, >> >> I=92m new to ConTeXt and try to compile a document using XeTeX. Loadin= g an >> otf font works fine, but I don=92t get it to use oldstyle numbers. goo= gle >> and contextgarden did give me some hints, but I didn=92t get it workin= g. I >> tried: >> >> \starttext >> \definetypeface[normalfont][rm][Xserif][Arno Pro] >> \stoptext >> >> and several versions of things like [features=3Doldstyle], [onum=3Dtru= e], >> \definefontfeature[mine] with oldstyle etc. but nothing worked. >> >> So what am I doing wrong? Is there a simple way for oldstyle numbers? = (I >> want them in the whole document, so I prefer a simple, global solution= =2E) >=20 > \definefontfeature[default][default][onum=3Dyes] > > \definetypeface[mainface][rm][Xserif][Arno Pro] >=20 > \setupodyfont[mainface] >=20 > \starttext > 0123456789 > \stoptext Thank you very much, that works fine! Just for future questions: Where could I have found this? (I prefer reading documentation than wasting people=92s time by asking =85) cheers, Arno --------------enigD7D22EA5F826C30DBA08FC2E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqwvQgACgkQcYXUw/rerZ5hFACgrzg9WLf2Xrm+a0nSO/NDlHtC 0aAAoLgIawuSxbffJr/uzTpGXoSCy5EM =1Hee -----END PGP SIGNATURE----- --------------enigD7D22EA5F826C30DBA08FC2E-- --===============0756773326== 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 ___________________________________________________________________________________ --===============0756773326==--