From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6552 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Reimplementing xspace Date: Sun, 20 Jan 2002 21:35:15 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020120212832.02beeac0@server-1> References: <356831848.20020117134319@bigfoot.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035397076 11616 80.91.224.250 (23 Oct 2002 18:17:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:17:56 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Giuseppe Bilotta In-Reply-To: <356831848.20020117134319@bigfoot.com> Xref: main.gmane.org gmane.comp.tex.context:6552 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6552 At 10:43 PM 1/17/2002 +0100, Giuseppe Bilotta wrote: >this is another request from it.comp.software.tex: reimplementing on how many lists are you ? >xspace. By itself the thing is pretty easy, you just need the >code: > >\catcode`\@=11 >\protected\def\xspace{\futurelet\@let@token\@xspace} >\def\@xspace{% this should be configurable so i would opt for another solution; also, it should be nillable; so, before i cook up the solution (using named glyphs btw) i want to know if this is the same for all languages, when it should be on / off etc >so the problem is rather on how to integrate this with the rest of >ConTeXt: there are some features of ConTeXt (e.g. logos, >abbreviations) for which obeying spaces should be an option. Right >now, you have to do something like: > >\logo[tempTEX]{\TeX} >\def\TEX{\tempTEX\xspace} > >to achieve the same result. > >Any comments? it should hook into processsynonym but in such a way that it does not break other code because synonyms are used (here) for more purposes then you want to know. 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 ------------------------------------------------------------------------- fall-back web server: www.pragma-pod.nl -------------------------------------------------------------------------