From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67201 Path: news.gmane.org!not-for-mail From: Pontus Lurcock Newsgroups: gmane.comp.tex.context Subject: Re: Producing quotesingle glyph Date: Sun, 20 Mar 2011 11:41:22 +1300 Message-ID: <20110319224122.GW29732@rae.vm.bytemark.co.uk> References: <20110319002912.GS29732@rae.vm.bytemark.co.uk> <20110319082039.GA3139@khaled-laptop> 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: dough.gmane.org 1300574495 8484 80.91.229.12 (19 Mar 2011 22:41:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2011 22:41:35 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 19 23:41:31 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 1Q14pu-0000th-N7 for gctc-ntg-context-518@m.gmane.org; Sat, 19 Mar 2011 23:41:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DCECCCAB1D; Sat, 19 Mar 2011 23:41:23 +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 wMt5Jz63ZsQJ; Sat, 19 Mar 2011 23:41:20 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C1045CAB06; Sat, 19 Mar 2011 23:41:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6D53FCAB06 for ; Sat, 19 Mar 2011 23:41:19 +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 YYyeuANjmmVV for ; Sat, 19 Mar 2011 23:41:17 +0100 (CET) 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 8ECA4CAAFF for ; Sat, 19 Mar 2011 23:41:17 +0100 (CET) Original-Received: from rae.vm.bytemark.co.uk (rae.talvi.net [89.16.174.99]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2JMfM0g010262 for ; Sat, 19 Mar 2011 23:41:23 +0100 Original-Received: from pont by rae.vm.bytemark.co.uk with local (Exim 4.69) (envelope-from ) id 1Q14pm-00088j-QO for ntg-context@ntg.nl; Sat, 19 Mar 2011 22:41:22 +0000 Content-Disposition: inline In-Reply-To: <20110319082039.GA3139@khaled-laptop> User-Agent: Mutt/1.5.18 (2008-05-17) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.16.174.99; country=GB; latitude=54.0000; longitude=-2.0000; http://maps.google.com/maps?q=54.0000,-2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dElaFn23 - 942d73169d20 - 20110319 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:67201 Archived-At: Thanks, Mojca and Khaled! Taking trep out of the default features works nicely, but since in this case I want quote-replacement as the default and straight quotes only occasionally, I ended up with the following solution: \definefontfeature[default][liga=yes,kern=yes,tlig=yes,trep=yes,mode=node] \definefontfeature[notrep][liga=yes,kern=yes,tlig=yes,trep=no,mode=node] \def\realquotesingle{{\setfontfeature{notrep}'}} \starttext Straight quote: \realquotesingle Standard quote: ' \stoptext Will wikify later today in case anyone else ever needs this. Pont ___________________________________________________________________________________ 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 ___________________________________________________________________________________