ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pol Stra <ryzz@hotmail.fr>
To: ntg-context@ntg.nl
Subject: Re: [bug?] no space before \cite[data][] and after \abbreviation
Date: Sun, 25 May 2014 09:27:26 +0200	[thread overview]
Message-ID: <BLU436-SMTP1134593EFF53DD042DBF7C2B1380@phx.gbl> (raw)
In-Reply-To: <D74FF5BF-B552-4E5A-91C8-5C9EDFB7FEFC@gmail.com>

Le jeudi 22 mai 2014, 16:15:22 Wolfgang Schuster a écrit :
> Am 22.05.2014 um 14:35 schrieb pol stra <ryzz@hotmail.fr>:
> > Hello,
> > 
> > I used "see \cite[data]" in a document and I obtained "seeAuthor" without
> > space between "see" and "Author". I think it is a bug.
> > 
> > I also had troubles with abbreviations (although it might be a bad use
> > from myself): setting "\abbreviation{AB}{Abbreviation}"
> > 
> > "an \AB some text" will give "an ABsome text" => missing space after
> > abbreviation "an {\AB} some text" will give "an AB some text" => OK
> > "an \infull{AB} some text" will give "an  some text" => missing expanded
> > abbreviation
> Spaces after commands (e.g. \TeX) are ignored, to keep the space you have to
> add “\ ” or “{} ” after the command.
> 
> \abbreviation{AB}{Abbreviation}
> 
> \starttext
> text \AB\ text \AB{} \infull{AB} text
> \stoptext
> 
> 
> There is also a automatic way for this where you don’t have add any thing
> after the command but there are a few exceptions where this doesn’t work.
> 
> \abbreviation{AB}{Abbreviation}
> 
> \setupsynonyms
>   [abbreviation]
>   [next=\autoinsertnextspace]
> 
> \starttext
> text \AB text
> \stoptext
> 
> Wolfgang

Thank you Wolfgang,
It is good to be aware about this behaviour.

What about the cite command and the space _before_?

Best regards 
___________________________________________________________________________________
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:[~2014-05-25  7:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-22 12:35 pol stra
2014-05-22 14:15 ` Wolfgang Schuster
2014-05-25  7:27   ` Pol Stra [this message]
2014-05-27 14:38     ` Wolfgang Schuster
2014-05-28  9:37       ` pol stra
2014-06-05  9:10         ` Wolfgang Schuster

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=BLU436-SMTP1134593EFF53DD042DBF7C2B1380@phx.gbl \
    --to=ryzz@hotmail.fr \
    --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).