From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37578 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Visually replace one character by another one automatically Date: Tue, 27 Nov 2007 16:23:14 +0100 Message-ID: <474C3662.6070100@wxs.nl> References: <2e8813a0711261907u6ff6c3adwaaebda5942cb2ceb@mail.gmail.com> <474BD2CB.6040202@elvenkind.com> <2e8813a0711270714r4516dd4an402a9f4f805cbb52@mail.gmail.com> 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 1196177062 30431 80.91.229.12 (27 Nov 2007 15:24:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2007 15:24:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 27 16:24:18 2007 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 1Ix2ID-00087L-Vy for gctc-ntg-context-518@m.gmane.org; Tue, 27 Nov 2007 16:24:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1F2461FDFA; Tue, 27 Nov 2007 16:23:42 +0100 (CET) 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 01858-01-4; Tue, 27 Nov 2007 16:23:34 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 142C41FDE2; Tue, 27 Nov 2007 16:23:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6170B1FC14 for ; Tue, 27 Nov 2007 16:23:31 +0100 (CET) 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 28214-02-3 for ; Tue, 27 Nov 2007 16:23:28 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id A2FD01FDE7 for ; Tue, 27 Nov 2007 16:23:26 +0100 (CET) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.7b8) with ESMTP id 168 for ; Tue, 27 Nov 2007 16:23:25 +0100 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <2e8813a0711270714r4516dd4an402a9f4f805cbb52@mail.gmail.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-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:37578 Archived-At: Jeff Smith wrote: > On Nov 27, 2007 3:18 AM, Taco Hoekwater wrote: >> This should happen automatically already. Context (well, TeX, really) >> is even smarter than that: If you type 'hello', it will automatically >> visualise that as 'hello'. If this does not happen, something is not >> right with your input, and you'd better post a small example. > > Indeed, your answer made me check back old documents I had printed. > The comma apostrophe was there! When you don't think about those > things, you never realize them... > > So I checked back a bit, and what is wrong then is not my input per > se, but my current document setup, which I don't know how to solve. > > Two weeks ago, I asked about OpenType features. Mojca and Wolfgang > thus gave examples of \definefontfeature. So, since I wanted to try > out the historical ligatures in my font (dlig) alongside oldstyle > nombers, I used the following, based on what I was told: > > \definefontfeature > [myfeatures] > [method=node,script=latn,language=dflt,liga=yes,onum=yes,kern=yes,dlig=yes] > > It turns out this is the culprit. When I comment that out, the comma > apostrophes are back. :-) > > This makes me very happy because after all I won't use the historical > ligatures. Therefore, I can use the oldstyle feature set and > everything works well. > > That is not to say that wouldn't like to know how to solve what > happened though. For the sake of it (and some eventual document's > where this will be crucial), I would like to know what do I need to > add to \definefontfeature for the apostrophe magic to work? tlig=yes trep=yes ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________