From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4334 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: robust \dots command Date: Mon, 12 Mar 2001 21:45:10 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010312214510.00b48df0@server-1> References: <01030511522101.00898@bilbo> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035395013 24955 80.91.224.250 (23 Oct 2002 17:43:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:43:33 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Uwe Koloska In-Reply-To: <01030511522101.00898@bilbo> Xref: main.gmane.org gmane.comp.tex.context:4334 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4334 At 11:52 AM 3/5/01 +0100, Uwe Koloska wrote: >Hello, > >I suggest to change the definition of \dots to match the one from latex. >With the current implementation \dots uses the math \ldots so it is not set >in the current font. > >Latex makes a distinction between \textellipsis and \mathellipsis: hm, they hardly look like ellipsis -) >\DeclareRobustCommand{\dots}{% > \ifmmode\mathellipsis\else\textellipsis\fi} I'm more thinking of an extensions to the symbol mechanism that understanda math, something: \definesymbols[class][text][math] as companion to \definesymbol[class][text] >\DeclareTextCommandDefault{\textellipsis}{% > .\kern\fontdimen3\font > .\kern\fontdimen3\font > .\kern\fontdimen3\font} \periods[124] >\def\mathellipsis{\mathinner{\ldotp\ldotp\ldotp}}% > > >The advantage of this definition is, that we can switch easyly to a real >ellipsis if the current font has one. This should be part of the encoding vector, so if someone collects those ... emdash endsh etc are also candidates, although i'm still not sure about the distinction between what goes into a normal text font and what not, but the default handler can catch it. So, go ahead and collect symbols and they will be added, Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------