From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2077 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Setting double hypens -- Date: Mon, 22 May 2000 00:15:43 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20000522001543.00838370@pop.wxs.nl> References: <005201bfc236$3be4dbe0$0321a8c0@bmach.nederware.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035392866 5666 80.91.224.250 (23 Oct 2002 17:07:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:07:46 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: "Berend de Boer" In-Reply-To: <005201bfc236$3be4dbe0$0321a8c0@bmach.nederware.nl> Xref: main.gmane.org gmane.comp.tex.context:2077 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2077 At 10:34 AM 5/20/2000 +0200, you wrote: >In certain fonts the -- produces weird effects because the - isn't a >straight dash, but something a bit more fancy. > >Is it possible in context to replace -- by {\ss --} (or so)? > >With \setuphypenmark the default hyphenation can be corrected. Also with >\setuplanguage |<| and |>| can be corrected. > >Can \installcompoundcharacter be used? > >The -- is used in: `the year 1999--2000', `in grades 4--8', etc. The best way is something in the encoding file, say: \definecharacter dash {-} \definecharacter endash {--} \definecharacter emdash {---} Given that we (you, others) sort it out on forehand, I can then hook it into the || mechanism. Additional, we can define a \range command, like \range{4}{5} which can be set up so that one can have 4--6 or 4->6 or 4~~6 or whatever, depending in the symbol set. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------