From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35655 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: XeTeX typescripts in ver: 2007.07.24 Date: Thu, 02 Aug 2007 10:27:28 +0200 Message-ID: <46B19570.8020909@elvenkind.com> References: <09BB8B1B-A1D9-48D9-B2F0-0B87BA24A2B1@mac.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: sea.gmane.org 1186043273 17573 80.91.229.12 (2 Aug 2007 08:27:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Aug 2007 08:27:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 02 10:27:44 2007 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 1IGW23-0005cc-Up for gctc-ntg-context-518@m.gmane.org; Thu, 02 Aug 2007 10:27:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 446EE1FE00; Thu, 2 Aug 2007 10:27:43 +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 13232-01; Thu, 2 Aug 2007 10:27:35 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 577781FDF3; Thu, 2 Aug 2007 10:27:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 47B8F1FDF3 for ; Thu, 2 Aug 2007 10:27:33 +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 11370-03-5 for ; Thu, 2 Aug 2007 10:27:31 +0200 (CEST) Original-Received: from lochside.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by ronja.ntg.nl (Postfix) with ESMTP id 0EB461FD8C for ; Thu, 2 Aug 2007 10:27:31 +0200 (CEST) Original-Received: from localhost (glenfiddich.elvenkind.com [127.0.0.1]) by lochside.elvenkind.com (Postfix) with ESMTP id CC2B972BDE for ; Thu, 2 Aug 2007 10:27:30 +0200 (CEST) X-Virus-Scanned: by amavisd-new at elvenkind.net Original-Received: from lochside.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S415+wXdz5vB for ; Thu, 2 Aug 2007 10:27:28 +0200 (CEST) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by lochside.elvenkind.com (Postfix) with ESMTP id E1FD172B92 for ; Thu, 2 Aug 2007 10:27:28 +0200 (CEST) User-Agent: Thunderbird 2.0.0.0 (X11/20070522) In-Reply-To: <09BB8B1B-A1D9-48D9-B2F0-0B87BA24A2B1@mac.com> 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:35655 Archived-At: Michael Green wrote: > In ver: 2007.01.12, a typescript like this works fine: > > \starttypescript[serif][minion][uc] > \definefontsynonym [MinionRegular] ['Minion Pro:mapping=tex-text; > +onum;'] [encoding=uc] > \stoptypescript > > We get Minion Pro, mapping TeX markup to unicode characters and old- > style numbers. > This seems not to work in ver: 2007.07.24: the font can't be found The main problem is the explicit ":" in the definition above. The latest context parses the string for the appearance of "name:" and "file:", and for that it checks for explicit colons. This change was introduced when ConTeXT started supporting the new XeTeX way of specifying a (non-installed) OpenType font by its filename. Either this: [name:Minion Pro\xetexcolon mapping=tex-text;+onum;] or this: ['Minion Pro\xetexcolon mapping=tex-text;+onum;'] should work (I defined \xetexcolon in type-xtx.tex). Yes, this is a backward incompatible change. But: the syntax with inlined feature specifications will be removed in the near future anyway (to be replaced by separately defined "font features"), so IMO there is not much point in spending time now on fixing the current behaviour. All the best, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________