From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64985 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Fontfeature: smcp Date: Fri, 7 Jan 2011 12:23:06 +0100 Message-ID: References: <84197ABD-EA31-4E98-A838-498E0B6B3A8F@boede.nl> <455DA504-8DB0-4658-9478-43DC1E51561B@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1294399403 21530 80.91.229.12 (7 Jan 2011 11:23:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 Jan 2011 11:23:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 07 12:23:14 2011 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.69) (envelope-from ) id 1PbAPa-0004bE-4O for gctc-ntg-context-518@m.gmane.org; Fri, 07 Jan 2011 12:23:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 61DA6CA9ED; Fri, 7 Jan 2011 12:23:13 +0100 (CET) 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 eKf2AX+oXgub; Fri, 7 Jan 2011 12:23:11 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0832ECA9E5; Fri, 7 Jan 2011 12:23:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 09AA2CA9E5 for ; Fri, 7 Jan 2011 12:23:10 +0100 (CET) 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 3tPp-Z7MUwHW for ; Fri, 7 Jan 2011 12:23:07 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id B87DFCA9E4 for ; Fri, 7 Jan 2011 12:23:07 +0100 (CET) Original-Received: from mars.digitpaint.nl (mars.digitpaint.nl [83.98.197.63]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p07BN7LV016444 for ; Fri, 7 Jan 2011 12:23:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mars.digitpaint.nl (Postfix) with ESMTP id 91F4416F0B9 for ; Fri, 7 Jan 2011 12:23:06 +0100 (CET) Original-Received: from mars.digitpaint.nl ([127.0.0.1]) by localhost (mail.digitpaint.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NuS4vKkogjAz for ; Fri, 7 Jan 2011 12:23:06 +0100 (CET) Original-Received: from [192.168.1.198] (a83-161-249-79.adsl.xs4all.nl [83.161.249.79]) by mars.digitpaint.nl (Postfix) with ESMTPA id 53DB116EF9A for ; Fri, 7 Jan 2011 12:23:06 +0100 (CET) In-Reply-To: <455DA504-8DB0-4658-9478-43DC1E51561B@gmail.com> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=83.98.197.63; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06DQzn7wQ - 1b1128591682 - 20110107 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:64985 Archived-At: Hi Wolfgang, thanks for your help!. Still no avail... My script looks now like \definefontfeature[smcp][default][smcp=yes] \starttypescript [sans] [seravek] [name] \definefontsynonym [Seravek-Roman] [file:Seravek-Regular] [features=default] \stoptypescript \starttypescript [sans] [seravek] \definefontsynonym [Sans] [Seravek-Roman] [features=default] \definefontsynonym [SansCaps] [Seravek-Roman] [features=smcp] \stoptypescript \starttypescript [Seravek] \definetypeface [Seravek] [ss] [sans][seravek][default] \definetypeface [Seravek] [mm] [math][palatino][default] \stoptypescript %\def\sc{\addff{smcp}} \starttext {\sc Smallcaps: \fontname\font. Amsterdam, 1234567890} \stoptext This gives no smallcaps wether the \def is active or not. Strange thing is, that is works with lm and pagella (tested). Willi On 7 Jan 2011, at 11:22, Wolfgang Schuster wrote: > > Am 06.01.2011 um 23:02 schrieb Willi Egger: > >> Hm, has something change in the way a font feature should be implemented? >> >> \definefontsynonym [SansRegularCaps] [Sans] [ features=smallcaps] > > \definefontsynonym [SansCaps] [Sans] [features=smallcaps] > >> >> If I add \def\sc{\addff{smcp} I get still no smallcaps. > > You need \definefonfeature[smcp][smcp=yes] to enable a feature with \addff or \addfs. > > 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________