From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44830 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: XeTeX old style numerals Date: Sat, 18 Oct 2008 23:56:13 +0200 Message-ID: <6faad9f00810181456x1da5b284q7bc2c85b49ffa83f@mail.gmail.com> References: <6faad9f00809191157u67b00f5fx2f205b4fa53d85a2@mail.gmail.com> <48D4D532.4090205@wxs.nl> <115224fb0810140507u368c3a5fx32e105a4899e4332@mail.gmail.com> <2e8813a0810181419r1a389ff5g5f7f9b55bf24704b@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 1224367112 17861 80.91.229.12 (18 Oct 2008 21:58:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2008 21:58:32 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 18 23:59:00 2008 connect(): Connection refused 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 1KrJp3-0002Q0-9k for gctc-ntg-context-518@m.gmane.org; Sat, 18 Oct 2008 23:58:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 38D7D1FB7F; Sat, 18 Oct 2008 23:57:50 +0200 (CEST) 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 10708-02-10; Sat, 18 Oct 2008 23:56:50 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5DB931FB3C; Sat, 18 Oct 2008 23:56:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1D0B11FB30 for ; Sat, 18 Oct 2008 23:56:49 +0200 (CEST) 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 10708-02-9 for ; Sat, 18 Oct 2008 23:56:15 +0200 (CEST) Original-Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.247]) by ronja.ntg.nl (Postfix) with ESMTP id AFB341FB3C for ; Sat, 18 Oct 2008 23:56:14 +0200 (CEST) Original-Received: by rv-out-0708.google.com with SMTP id f25so1046548rvb.14 for ; Sat, 18 Oct 2008 14:56:13 -0700 (PDT) Original-Received: by 10.142.239.13 with SMTP id m13mr2201529wfh.298.1224366973068; Sat, 18 Oct 2008 14:56:13 -0700 (PDT) Original-Received: by 10.143.159.5 with HTTP; Sat, 18 Oct 2008 14:56:13 -0700 (PDT) In-Reply-To: <2e8813a0810181419r1a389ff5g5f7f9b55bf24704b@mail.gmail.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:44830 Archived-At: On Sat, Oct 18, 2008 at 11:19 PM, Jeff Smith wrote: > > \definefontfeature[bodyfeatures][method=node,script=latn,language=dflt,liga=yes,onum=yes,kern=yes,trep=yes,dlig=yes] > > I get the onum and dlig working with this, but, like I said, the trep > doesn't work. If I am not mistaken, it's this feature that makes the > apostrophe look like the comma. Am I right? Short answer: tlig, not trep. Long answer: See the folder fonts/misc/xetex/fontmapping. Hans invented tlig and trep as a short word for tex ligatures and tex replacements. That's still a bit unstable area of ConTeXt, but at the beginning it indeed included all the replacements and all the ligatures of Knuthian TeX. But that was too much for my taste (many useless conversions like `?, `! and all the quotation marks, as well as some really nasty ones as a side effect: it kept converting grave accent into quotation mark for example). With some consensus we decided to keep only three of them: endash, emdash and apostrophe. In LuaTeX these might still be split (tlig for endash and emdash and trep for apostrophe). In XeTeX it seemed to much overhaul to split three replacements into (three :) files, so I made only a single one: tlig.[map|tec] You can use it as "mapping=tlig" in plain XeTeX. What ConTeXt does is a conversion from "tlig=yes" into "mapping=tlig". trep used to map to tex-text (so did tlig) a while ago, now I guess that it doesn't do anything at all. I find it a bit unlucky situation that the behaviour is a bit different, but introducing a new file trep.map with only a single replacement would be even more weird & confusing to me. Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________