ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Spaces in commands
Date: Wed, 21 Nov 2012 08:59:00 +0100	[thread overview]
Message-ID: <E4481511-3D41-43FF-BEF5-6C927675542E@gmail.com> (raw)
In-Reply-To: <50AC84F9.5070103@mmnetz.de>


Am 21.11.2012 um 08:38 schrieb H. Özoguz <h.oezoguz@mmnetz.de>:

> Am 20.11.2012 16:02, schrieb ntg-context-request@ntg.nl:
>> There is also, the not to be advertised command:), \autoinsertnextspace.
>> 
>> Aditya
> Thansk for this one!

There are cases where \autoinsertnextspace doesn’t work.

\definesynonyms[test][tests]

\setupsynonym[test][next=\autoinsertnextspace]

\test[ONE]{First}{First entry}
\test[TWO]{Second}{second entry}

\starttext

text \ONE text \TWO text

text \ONE \TWO text % fails

text \ONE\ \TWO text % manual space

\stoptext

Wolfgang
___________________________________________________________________________________
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:[~2012-11-21  7:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.268.1353423753.2161.ntg-context@ntg.nl>
2012-11-21  7:38 ` "H. Özoguz"
2012-11-21  7:59   ` Wolfgang Schuster [this message]
2012-11-20 14:21 "H. Özoguz"
2012-11-20 14:50 ` Hans Hagen
2012-11-20 14:59   ` Aditya Mahajan
2012-11-20 15:02 ` Procházka Lukáš Ing. - Pontex s. r. o.

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=E4481511-3D41-43FF-BEF5-6C927675542E@gmail.com \
    --to=wolfgang.schuster@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).