ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to not gobble space after a command
Date: Fri, 20 Nov 2009 11:50:26 +0100	[thread overview]
Message-ID: <fe8d59da0911200250s340ebbat3f89f255bdd3b42d@mail.gmail.com> (raw)
In-Reply-To: <20091120104116.GB3418@katherina.student.utwente.nl>

On Fri, Nov 20, 2009 at 11:41 AM, Matthijs Kooijman <matthijs@stdin.nl> wrote:
>> \autoinsertnextspace is the context version of \xspace (could be mkii
>> only)
> Woah, that works (in MkIV). Thanks!

hm , some problem here
# context --version
MTXrun | main context file: context.tex
MTXrun | current version: 2009.11.10 13:30



%%% test.tex
\starttext
\tracingall \autoinsertnextspace\tracingnone
A
\stoptext

#context test

{undefined}
! Undefined control sequence.
l.2 \tracingall \autoinsertnextspace
                                    \tracingnone




# grep autoinsertnextspace *
spac-gen.mkii:%D \setupsorting[logo][next=\autoinsertnextspace] \logo[TEX]{\TeX}
spac-gen.mkii:\def\autoinsertnextspace{\futurelet\nexttoken\doautoinsertnextspace}
spac-gen.mkii:\def\doautoinsertnextspace % slightly extended version
of a user supplied macro
strc-not.mkii:      \c!next=\autoinsertnextspace, % new, experimental
with startnotes
strc-not.mkiv:   \c!next=\autoinsertnextspace, % new, experimental
with startnotes

(note the \futurelet primitive)

-- 
luigi
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2009-11-20 10:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-20 10:23 Matthijs Kooijman
2009-11-20 10:30 ` luigi scarso
2009-11-20 10:31   ` Taco Hoekwater
2009-11-20 10:41     ` Matthijs Kooijman
2009-11-20 10:50       ` luigi scarso [this message]
2009-11-20 11:00         ` Matthijs Kooijman
2009-11-20 11:05           ` luigi scarso
2009-11-30 20:53             ` Matthijs Kooijman
2009-11-30 21:04               ` luigi scarso
2009-11-30 21:31                 ` Matthijs Kooijman
2009-11-30 23:14                   ` Hans Hagen
2009-11-30 23:18                     ` luigi scarso
2009-11-30 23:42                       ` Hans Hagen
2009-11-30 23:53                         ` luigi scarso
2009-11-20 11:04       ` Alan BRASLAU

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=fe8d59da0911200250s340ebbat3f89f255bdd3b42d@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --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).