From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45574 Path: news.gmane.org!not-for-mail From: "Lutz Haseloff" Newsgroups: gmane.comp.tex.context Subject: Re: no en dash with otf fonts Date: Fri, 14 Nov 2008 08:48:26 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1106923058==" X-Trace: ger.gmane.org 1226649051 1429 80.91.229.12 (14 Nov 2008 07:50:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2008 07:50:51 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 14 08:51:52 2008 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 1L0tT4-0002wQ-El for gctc-ntg-context-518@m.gmane.org; Fri, 14 Nov 2008 08:51:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 586C31FBF1; Fri, 14 Nov 2008 08:50:40 +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 10702-02-3; Fri, 14 Nov 2008 08:49:11 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F3A761FB95; Fri, 14 Nov 2008 08:49:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 576A21FB95 for ; Fri, 14 Nov 2008 08:49:09 +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 17353-01-6 for ; Fri, 14 Nov 2008 08:48:28 +0100 (CET) Original-Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.184]) by ronja.ntg.nl (Postfix) with ESMTP id D50B71FB5A for ; Fri, 14 Nov 2008 08:48:27 +0100 (CET) Original-Received: by rn-out-0910.google.com with SMTP id m61so1142715rnd.8 for ; Thu, 13 Nov 2008 23:48:27 -0800 (PST) Original-Received: by 10.151.145.21 with SMTP id x21mr1341464ybn.156.1226648906996; Thu, 13 Nov 2008 23:48:26 -0800 (PST) Original-Received: by 10.150.219.13 with HTTP; Thu, 13 Nov 2008 23:48:26 -0800 (PST) In-Reply-To: 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:45574 Archived-At: --===============1106923058== Content-Type: multipart/alternative; boundary="----=_Part_8702_11768095.1226648907002" ------=_Part_8702_11768095.1226648907002 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline nihao Yi, you can enable all TeX ligatures as a fontfeature: (minimat example) \definefontfeature[lig][tlig=yes] \font\nolig=Tallys at 12pt \font\lig=Tallys*lig at 12pt \starttext \nolig - -- --- \lig - -- --- \stoptext Greetings Lutz 2008/11/14 Yi Zhang > Hi, > > I'm using some otf fonts but '--' does not produce the en dash. How > can I get over this problem? Thanks, > > -- > Yi > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > ------=_Part_8702_11768095.1226648907002 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline nihao Yi,

you can enable all TeX ligatures as a fontfeature:
(minimat example)

\definefontfeature[lig][tlig=yes]
\font\nolig=Tallys at 12pt
\font\lig=Tallys*lig at 12pt
\starttext
\nolig - -- ---

\lig - -- ---
\stoptext

Greetings Lutz

2008/11/14 Yi Zhang <yizhang84@gmail.com>
Hi,

I'm using some otf fonts but '--' does not produce the en dash. How
can I get over this problem? Thanks,

--
Yi
___________________________________________________________________________________
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
___________________________________________________________________________________

------=_Part_8702_11768095.1226648907002-- --===============1106923058== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1106923058==--