From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42649 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: OpenType beginners question Date: Mon, 21 Jul 2008 10:38:39 +0200 Message-ID: <115224fb0807210138p549de975jaf1a403c57198d45@mail.gmail.com> References: <000801c8eb08$79b91ea0$6d2b5be0$@de> 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 1216631568 19195 80.91.229.12 (21 Jul 2008 09:12:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jul 2008 09:12:48 +0000 (UTC) To: ud@mucschach.de, "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 21 11:13:37 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 1KKrSb-00069m-1v for gctc-ntg-context-518@m.gmane.org; Mon, 21 Jul 2008 11:13:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E3C9F1FD55; Mon, 21 Jul 2008 11:12:39 +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 23309-02-4; Mon, 21 Jul 2008 11:12:01 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6748A1FD08; Mon, 21 Jul 2008 10:39:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1BD6B1FCF6 for ; Mon, 21 Jul 2008 10:39:31 +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 13718-03-14 for ; Mon, 21 Jul 2008 10:38:52 +0200 (CEST) Original-Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by ronja.ntg.nl (Postfix) with ESMTP id 4A79C1FD7B for ; Mon, 21 Jul 2008 10:38:40 +0200 (CEST) Original-Received: by an-out-0708.google.com with SMTP id c8so340688ana.14 for ; Mon, 21 Jul 2008 01:38:39 -0700 (PDT) Original-Received: by 10.100.242.20 with SMTP id p20mr1640224anh.14.1216629519604; Mon, 21 Jul 2008 01:38:39 -0700 (PDT) Original-Received: by 10.100.109.20 with HTTP; Mon, 21 Jul 2008 01:38:39 -0700 (PDT) In-Reply-To: <000801c8eb08$79b91ea0$6d2b5be0$@de> 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:42649 Archived-At: On Mon, Jul 21, 2008 at 10:05 AM, Ulrich Dirr wrote: > Hi, > > I've adapted the complete luatex/markiv typescript example at > http://wiki.contextgarden.net/Mark_IV#Opentype_features > for FF Kievit Pro I. It works quiet nice out of the box (aaah, nomore > fiddling with font installation!). > > \starttypescript [sans] [kievit] > > \definefontsynonym [KievitProRegular] [name:KievitPro-Regular] [features=default] > \definefontsynonym [KievitProMedium] [name:KievitPro-Medium] [features=default] > \definefontsynonym [KievitProExtraBold] [name:KievitPro-ExtraBold] [features=default] > > \definefontsynonym [KievitProItalic] [name:KievitPro-Italic] [features=default] > \definefontsynonym [KievitProMediumItalic] [name:KievitPro-MediumItalic] [features=default] > \definefontsynonym [KievitProExtraBoldItalic] [name:KievitPro-ExtraBoldItalic] [features=default] > > \stoptypescript > > \starttypescript [sans] [kievit] > > \definefontsynonym [Sans] [KievitProRegular] [features=default] > \definefontsynonym [SansItalic] [KievitProItalic] [features=default] > \definefontsynonym [SansBold] [KievitProMedium] [features=default] > \definefontsynonym [SansSlanted] [SansItalic] [features=default] > \definefontsynonym [SansBoldSlanted] [SansBoldItalic] [features=default] > \definefontsynonym [SansCaps] [Sans] [features=smallcaps] > > \stoptypescript > > \definetypeface[kievit][rm][sans][kievit][default] > \definetypeface[kievit][ss][sans][kievit][default] > \definetypeface[kievit][tt][mono][modern] [default][rscale=1.12] > \definetypeface[kievit][mm][math][iwona] [default][rscale=1.02] > > \setupbodyfont[kievit,ss,10pt] > > Now \bf \it works perfectly well but \sc doesn't. Do I need some extra > definition? Place this at the top of your typescript \definefontfeature[latin-smallcaps][smallcaps][script=latn] and replace "smallcaps" in the following line with "latin-smallcaps". \definefontsynonym [SansCaps] [Sans] [features=smallcaps] Regards, 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 ___________________________________________________________________________________