From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20182 Path: news.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: Two hyphens do not give en dash Date: Mon, 2 May 2005 20:33:17 +0100 Message-ID: <20050502203317.26436@mail.comp.lancs.ac.uk> References: <98D0564335EC4848A87BEDEFF4EA056B55BE@posti.kpatents.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1115062096 32721 80.91.229.2 (2 May 2005 19:28:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 May 2005 19:28:16 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon May 02 21:28:09 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DSgZV-0007os-Uh for gctc-ntg-context-518@m.gmane.org; Mon, 02 May 2005 21:27:14 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 80F2012802; Mon, 2 May 2005 21:33:27 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11300-04; Mon, 2 May 2005 21:33:24 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 52EF6127E3; Mon, 2 May 2005 21:33:23 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E3577127E3 for ; Mon, 2 May 2005 21:33:21 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11393-02 for ; Mon, 2 May 2005 21:33:21 +0200 (CEST) Original-Received: from mail.comp.lancs.ac.uk (mail.comp.lancs.ac.uk [148.88.3.45]) by ronja.ntg.nl (Postfix) with ESMTP id 1BE13127DE for ; Mon, 2 May 2005 21:33:21 +0200 (CEST) Original-Received: from [192.168.31.106] (localhost [127.0.0.1]) by mail.comp.lancs.ac.uk (8.12.10/8.12.10) with ESMTP id j42JXI69018900 for ; Mon, 2 May 2005 20:33:18 +0100 (BST) Original-To: "mailing list for ConTeXt users" In-Reply-To: <98D0564335EC4848A87BEDEFF4EA056B55BE@posti.kpatents.com> X-Mailer: CTM PowerMail version 5.1 build 4340 English X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20182 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20182 Ville Voipio said this at Mon, 2 May 2005 20:56:28 +0300: >I installed a new font (Gentium, TrueType). >Everything went relatively smoothly except >for one thing: When I type -- I really get >two hyphens instead of the expected en >dash. > >I have been able to work around this by >using UTF regime and typing the en dash >into the source file. However, it would >be easier to use -- and ---. What should >I do? (Yeah, I know, forget it and be >happy that the UTF works :) Hi Ville. I'll assume you did it as you described on the Wiki (I made some suggestions on where to move the page). Try adding the --afmpl switch to your texfont command. It switches over to the afmpl utility, which does better with preserving ligatures and kerns. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-