From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42504 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Using fontfeatures ... Date: Wed, 16 Jul 2008 15:29:30 +0200 Message-ID: <5A85171F-66DF-4CD9-8095-C63D26E92A78@boede.nl> References: <1BBEED62-9197-4331-A1BB-6CA8E1828AD3@boede.nl> <115224fb0807160556t2a5f3513p11722e6eceda14c6@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1216215072 11240 80.91.229.12 (16 Jul 2008 13:31:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jul 2008 13:31:12 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 16 15:32:00 2008 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 1KJ76t-0007gj-7J for gctc-ntg-context-518@m.gmane.org; Wed, 16 Jul 2008 15:31:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 103351FDCE; Wed, 16 Jul 2008 15:31:04 +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 11456-03-5; Wed, 16 Jul 2008 15:30:09 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6B6011FCE9; Wed, 16 Jul 2008 15:30:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3DC471FC7A for ; Wed, 16 Jul 2008 15:30:07 +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 11027-02-5 for ; Wed, 16 Jul 2008 15:29:32 +0200 (CEST) Original-Received: from mail.7values.nl (pluto.digitpaint.nl [83.98.197.3]) by ronja.ntg.nl (Postfix) with ESMTP id 854061FD70 for ; Wed, 16 Jul 2008 15:29:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by mail.7values.nl (Postfix) with ESMTP id 5B77B7E07 for ; Wed, 16 Jul 2008 15:29:32 +0200 (CEST) Original-Received: from mail.7values.nl ([127.0.0.1]) by localhost (pluto [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28271-01-6 for ; Wed, 16 Jul 2008 15:29:32 +0200 (CEST) Original-Received: from [192.168.0.17] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by mail.7values.nl (Postfix) with ESMTP id 2340F7E01 for ; Wed, 16 Jul 2008 15:29:32 +0200 (CEST) In-Reply-To: <115224fb0807160556t2a5f3513p11722e6eceda14c6@mail.gmail.com> X-Mailer: Apple Mail (2.753.1) 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:42504 Archived-At: Hi Wolfgang, Thanks for your reply. I tried your suggestions, but unfortunately none of the versions gives oldstyle nor small caps. ;-( Kind regards Willi On Jul 16, 2008, at 2:56 PM, Wolfgang Schuster wrote: > On Wed, Jul 16, 2008 at 2:48 PM, Willi Egger wrote: >> Hi, >> >> I am trying to use fontfeatures contained in my new otf-font Seravek. >> >> I am getting Seravek in the file but no way to activate the oldstyle >> figures and the small caps. :-( >> >> Can someone give m a clue? >> >> Willi >> >> >> I got until now the following typescript: >> >> >> % \definefontfeature >> % [OldstyleFigures] >> % >> [language=nld,script=latn,mode=node,calt=no,clig=yes,rlig=yes,onum=ye >> s] >> >> \starttypescript [sans] [seravek] >> \definefontsynonym [SeravekBasic-Roman] [file:SeravekBasic- >> Regular] [features=default] >> \definefontsynonym [SeravekBasic-Bold] [file:SeravekBasic- >> Bold] [features=default] >> \definefontsynonym [SeravekBasic-Italic] [file:SeravekBasic- >> RegularItalic][features=default] >> \definefontsynonym [SeravekBasic-Bold-Italic][file:SeravekBasic- >> BoldItalic] [features=default] >> \stoptypescript >> >> \starttypescript [sans] [seravek] [name] >> \definefontsynonym [Sans] [SeravekBasic-Roman] >> [features=default] >> \definefontsynonym [SansItalic] [SeravekBasic-Italic] >> [features=default] >> \definefontsynonym [SansBold] [SeravekBasic-Bold] >> [features=default] >> \definefontsynonym [SansBoldItalic] [SeravekBasic-Bold-Italic] >> [features=default] >> \definefontsynonym [SansRegularCaps] [Sans] >> [features=smallcaps] >> % \definefontsynonym [SansBoldCaps] >> [SansBold] [features=smallcaps] >> % \definefontsynonym [SansItalicCaps] >> [SansItalic] [features=smallcaps] >> % \definefontsynonym [SansBoldItalicCaps] >> [SansBoldItalic] [features=smallcaps] >> \stoptypescript >> >> \starttypescript [Seravek] >> \definetypeface [Seravek] [ss] [sans][seravek][default] >> \definetypeface [Seravek] [mm] [math] [modern][default] >> \stoptypescript >> >> >> I tried this with the following test-code: >> >> \setupoutput[pdftex] >> \enableregime[utf] >> >> % \definefontfeature >> % [OldstyleFigures] >> % >> [language=nld,script=latn,mode=node,calt=no,clig=yes,rlig=yes,onum=ye >> s] >> \definefontfeature[default] >> [method=node,script=latn,language=dflt,liga=yes,onum=yes,kern=yes] >> >> \usetypescriptfile[seravek] >> \usetypescript[Seravek] >> \setupbodyfont[Seravek,12pt] >> >> >> % \def\sc{\setfontfeature{smcp}} >> % \def\os{\setfontfeature{onum}} > > \def\sc{\setfontfeature{smallcaps}} > \def\os{\setfontfeature{oldstyle}} > > or > > \def\sc{\setfontfeature{smallcaps}} > \def\os{\setfontfeature{OldstyleFigures}} > >> \starttext >> Hello World! {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9 >> \blank >> {\sc Hello World!} >> \blank >> {\bf Hello World! {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9} >> \blank >> {\it Hello World! {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9} >> \blank >> \bi Hello World {\sc ABC abc} {\os 123} 1 2 3 4 5 6 7 8 9! >> \stoptext > > 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 ___________________________________________________________________________________