From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62577 Path: news.gmane.org!not-for-mail From: Michael Murphy Newsgroups: gmane.comp.tex.context Subject: Re: \setfontfeature-problem Date: Wed, 13 Oct 2010 14:29:00 +0200 Message-ID: <4CB5A60C.6020409@uni-ulm.de> References: <790B5740-B112-4661-BE4A-F88902369977@rz-online.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1286972976 32573 80.91.229.12 (13 Oct 2010 12:29:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 12:29:36 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 13 14:29:31 2010 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 1P60SV-0001Cu-Ri for gctc-ntg-context-518@m.gmane.org; Wed, 13 Oct 2010 14:29:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A1ABACA708; Wed, 13 Oct 2010 14:29:26 +0200 (CEST) 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 fI4FiZuOjaEA; Wed, 13 Oct 2010 14:29:26 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 80741CA620; Wed, 13 Oct 2010 14:29:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7A8C5CA620 for ; Wed, 13 Oct 2010 14:29:19 +0200 (CEST) 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 8gCzPxcz39XG for ; Wed, 13 Oct 2010 14:29:04 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 7D241CA60F for ; Wed, 13 Oct 2010 14:29:04 +0200 (CEST) Original-Received: from mail.uni-ulm.de (mail.uni-ulm.de [134.60.1.11]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9DCT3oA028046 for ; Wed, 13 Oct 2010 14:29:03 +0200 Original-Received: from [134.60.83.35] (karneol3.physik.uni-ulm.de [134.60.83.35]) by mail.uni-ulm.de (8.14.3/8.14.2) with ESMTP id o9DCT2T2012898 for ; Wed, 13 Oct 2010 14:29:02 +0200 (MEST) User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-GB; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 In-Reply-To: <790B5740-B112-4661-BE4A-F88902369977@rz-online.de> X-DCC-sonic.net-Metrics: poseidon 1117; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=134.60.1.11; country=DE; region=01; city=Albert; latitude=47.5833; longitude=8.1167; http://maps.google.com/maps?q=47.5833,8.1167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dDict3v0 - 30920053786e - 20101013 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:62577 Archived-At: On 13/10/10 12:48, Andreas Harder wrote: > Hi all, > > please have a look at my example: > > \definefontfeature[default][default][mode=3Dnode,onum=3Dyes] > \definefontfeature[sc][default][smcp=3Dyes] > > \def\sc{\groupedcommand{\setfontfeature{sc}}{}} > > \setupbodyfont[palatino] > > \starttext > \startTEXpage[offset=3D1ex] > {\sc Abc} 0369 \crlf > \sc{Abc} 0369 > \stopTEXpage > \startTEXpage[offset=3D1ex] > 0369 {\sc Abc} 0369 \crlf > 0369 \sc{Abc} 0369 > \stopTEXpage > \stoptext > > It seems that if a line starts with \sc{=85} the onum-option is ignored. = Is there a solution? > \setfontfeature deletes all other features; try \addfontfeaturetoset or = \addfontfeaturetofont instead (not sure what the difference is). -- = Michael Murphy ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________