From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37577 Path: news.gmane.org!not-for-mail From: "Jeff Smith" Newsgroups: gmane.comp.tex.context Subject: Re: Visually replace one character by another one automatically Date: Tue, 27 Nov 2007 10:14:57 -0500 Message-ID: <2e8813a0711270714r4516dd4an402a9f4f805cbb52@mail.gmail.com> References: <2e8813a0711261907u6ff6c3adwaaebda5942cb2ceb@mail.gmail.com> <474BD2CB.6040202@elvenkind.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 1196176574 28463 80.91.229.12 (27 Nov 2007 15:16:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2007 15:16:14 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 27 16:16: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 1Ix2AD-0004eC-35 for gctc-ntg-context-518@m.gmane.org; Tue, 27 Nov 2007 16:15:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 23A211FC74; Tue, 27 Nov 2007 16:15:13 +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 27230-03-9; Tue, 27 Nov 2007 16:15:05 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6F1AA1FB30; Tue, 27 Nov 2007 16:15:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2B50E1FB30 for ; Tue, 27 Nov 2007 16:15:04 +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 27230-03-8 for ; Tue, 27 Nov 2007 16:15:00 +0100 (CET) Original-Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.184]) by ronja.ntg.nl (Postfix) with ESMTP id DD63A1FADB for ; Tue, 27 Nov 2007 16:14:59 +0100 (CET) Original-Received: by rv-out-0910.google.com with SMTP id k15so870809rvb for ; Tue, 27 Nov 2007 07:14:57 -0800 (PST) Original-Received: by 10.141.145.11 with SMTP id x11mr1942745rvn.1196176497880; Tue, 27 Nov 2007 07:14:57 -0800 (PST) Original-Received: by 10.140.202.9 with HTTP; Tue, 27 Nov 2007 07:14:57 -0800 (PST) In-Reply-To: <474BD2CB.6040202@elvenkind.com> 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:37577 Archived-At: 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? Thanks! Jeff ___________________________________________________________________________________ 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 ___________________________________________________________________________________