ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Reimplementing xspace
Date: Sun, 20 Jan 2002 21:35:15 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20020120212832.02beeac0@server-1> (raw)
In-Reply-To: <356831848.20020117134319@bigfoot.com>

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


  parent reply	other threads:[~2002-01-20 20:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-17 12:43 Giuseppe Bilotta
2002-01-17 22:03 ` Marco Kuhlmann
2002-01-17 23:05   ` Re[2]: " Giuseppe Bilotta
2002-01-17 23:12     ` Marco Kuhlmann
2002-01-18 11:23       ` Re[2]: " Giuseppe Bilotta
2002-01-20 20:12         ` Hans Hagen
2002-01-20 20:09       ` Hans Hagen
2002-01-20 19:50   ` Hans Hagen
2002-01-20 20:35 ` Hans Hagen [this message]
2002-01-21 14:37   ` Re[2]: " Giuseppe Bilotta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20020120212832.02beeac0@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).