From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44829 Path: news.gmane.org!not-for-mail From: "Jeff Smith" Newsgroups: gmane.comp.tex.context Subject: Re: XeTeX old style numerals Date: Sat, 18 Oct 2008 17:19:45 -0400 Message-ID: <2e8813a0810181419r1a389ff5g5f7f9b55bf24704b@mail.gmail.com> References: <6faad9f00809191157u67b00f5fx2f205b4fa53d85a2@mail.gmail.com> <48D4D532.4090205@wxs.nl> <115224fb0810140507u368c3a5fx32e105a4899e4332@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 1224364866 11752 80.91.229.12 (18 Oct 2008 21:21:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2008 21:21:06 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 18 23:21:58 2008 connect(): Connection refused 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 1KrJFC-000108-Hs for gctc-ntg-context-518@m.gmane.org; Sat, 18 Oct 2008 23:21:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7FB201FB77; Sat, 18 Oct 2008 23:20:46 +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 07503-06; Sat, 18 Oct 2008 23:19:55 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 732921FB49; Sat, 18 Oct 2008 23:19:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E36B61FB39 for ; Sat, 18 Oct 2008 23:19:53 +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 07755-04-6 for ; Sat, 18 Oct 2008 23:19:47 +0200 (CEST) Original-Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by ronja.ntg.nl (Postfix) with ESMTP id CA31B1FA4C for ; Sat, 18 Oct 2008 23:19:46 +0200 (CEST) Original-Received: by gxk9 with SMTP id 9so2450433gxk.2 for ; Sat, 18 Oct 2008 14:19:46 -0700 (PDT) Original-Received: by 10.151.51.18 with SMTP id d18mr8245181ybk.192.1224364785986; Sat, 18 Oct 2008 14:19:45 -0700 (PDT) Original-Received: by 10.150.144.21 with HTTP; Sat, 18 Oct 2008 14:19:45 -0700 (PDT) In-Reply-To: <115224fb0810140507u368c3a5fx32e105a4899e4332@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:44829 Archived-At: Hi all! It's been a while! I haven't been able to use ConTeXt since last spring, when my laptop was stolen. I got a shiny new one a week ago (don't look at me -- it's the insurance company's fault!) and now that I'm FINALLY back to ConTeXt, I understand that a lot of time has passed since then and that much must have changed. So I would like to follow-up on this below. By the way, I've installed the minimals and it works flawlessly. It was a real pleasure to have ConTeXt set up and work in 5min. :-) (It wasn't you guys' fault before, but mine). That being said, I still use mkii and XeTeX. The typescripts quoted below work for me also, but I would like to know again how to, or just if I still can, combine this with \definefontfeature. The thing is, I need more than oldstyle or smallcaps. I need frac=yes for one document, and dlig=yes for another (those are the historical ligatures contained in my font). When I try to use my own set of features, something seems to stop working: the trep feature. I get all the ugly apostrophes. I made a dummy document using the typescript definition quoted below, changed the font (I use Garamond Premier Pro) and I added the following to use instead of default: \definefontfeature[bodyfeatures][method=node,script=latn,language=dflt,liga=yes,onum=yes,kern=yes,trep=yes,dlig=yes] I get the onum and dlig working with this, but, like I said, the trep doesn't work. If I am not mistaken, it's this feature that makes the apostrophe look like the comma. Am I right? Can anyone help? Thanks a lot in advance! It's very nice to be back to ConTeXt! Jeff On Tue, Oct 14, 2008 at 08:07, Wolfgang Schuster wrote: > The better way (works for MkII and MkIV): > > \starttypescript [serif] [minion-pro] > \setups[font:fallback:serif] > \definefontsynonym [Serif] [MinionPro-Regular] [features=default] > \definefontsynonym [SerifBold] [MinionPro-Bold] [features=default] > \definefontsynonym [SerifItalic] [MinionPro-Italic] [features=default] > \definefontsynonym [SerifBoldItalic] [MinionPro-BoldItalic] [features=default] > \stoptypescript > > \starttypescript [serif] [minion-pro-os] > \setups[font:fallback:serif] > \definefontsynonym [Serif] [MinionPro-Regular] > [features=oldstyle] > \definefontsynonym [SerifBold] [MinionPro-Bold] > [features=oldstyle] > \definefontsynonym [SerifItalic] [MinionPro-Italic] > [features=oldstyle] > \definefontsynonym [SerifBoldItalic] [MinionPro-BoldItalic] > [features=oldstyle] > \stoptypescript > > \starttypescript [serif] [minion-pro,minion-pro-os] > \definefontsynonym [MinionPro-Regular] [file:MinionPro-Regular] > [features=default] > \definefontsynonym [MinionPro-Bold] [file:MinionPro-Bold] > [features=default] > \definefontsynonym [MinionPro-Italic] [file:MinionPro-It] > [features=default] > \definefontsynonym [MinionPro-BoldItalic] [file:MinionPro-BoldIt] > [features=default] > \stoptypescript > > \starttypescript [minion-pro,minion-pro-os] > \definetypeface [minion-pro] [rm] [serif] [\typescriptone] [default] > \stoptypescript > > %\usetypescript[minion-pro] > \usetypescript[minion-pro-os] > \setupbodyfont[minion-pro] > > 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 > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 ___________________________________________________________________________________