Re: [NTG-context] [bug?] no space before \cite[data][] and after \abbreviation

2014-06-05 Thread Wolfgang Schuster

Am 28.05.2014 um 11:37 schrieb pol stra :

> 
> 
> > Subject: Re: [NTG-context] [bug?] no space before \cite[data][] and after 
> > \abbreviation
> > From: schuster.wolfg...@gmail.com
> > Date: Tue, 27 May 2014 16:38:28 +0200
> > CC: ntg-context@ntg.nl
> > To: r...@hotmail.fr
> > 
> > 
> > Am 25.05.2014 um 09:27 schrieb Pol Stra :
> > 
> > > What about the cite command and the space _before_?
> > 
> > Do you have a minimal example for this?
> > 
> > Wolfgang
> 
> Sorry, it seems the issue appears only when used in footnote.
> I joined a minimal example. You can see in the output that there is a space 
> in the text, but not in the footnote.


I don’t know why the space is removed in the footnote but when you use a 
nonbreakable space with ~ it won’t disappear.

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
___

Re: [NTG-context] [bug?] no space before \cite[data][] and after \abbreviation

2014-05-28 Thread pol stra


> Subject: Re: [NTG-context] [bug?] no space before \cite[data][] and after 
> \abbreviation
> From: schuster.wolfg...@gmail.com
> Date: Tue, 27 May 2014 16:38:28 +0200
> CC: ntg-context@ntg.nl
> To: r...@hotmail.fr
> 
> 
> Am 25.05.2014 um 09:27 schrieb Pol Stra :
> 
> > What about the cite command and the space _before_?
> 
> Do you have a minimal example for this?
> 
> Wolfgang

Sorry, it seems the issue appears only when used in footnote.
I joined a minimal example. You can see in the output that there is a space in 
the text, but not in the footnote.

Pol
  

test_bib.bib
Description: Binary data


test_cite.tex
Description: TeX document


test_cite.pdf
Description: Adobe PDF document
___
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
___

Re: [NTG-context] [bug?] no space before \cite[data][] and after \abbreviation

2014-05-27 Thread Wolfgang Schuster

Am 25.05.2014 um 09:27 schrieb Pol Stra :

> What about the cite command and the space _before_?

Do you have a minimal example for this?

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
___


Re: [NTG-context] [bug?] no space before \cite[data][] and after \abbreviation

2014-05-25 Thread Pol Stra
Le jeudi 22 mai 2014, 16:15:22 Wolfgang Schuster a écrit :
> Am 22.05.2014 um 14:35 schrieb pol stra :
> > 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
___

Re: [NTG-context] [bug?] no space before \cite[data][] and after \abbreviation

2014-05-22 Thread Wolfgang Schuster

Am 22.05.2014 um 14:35 schrieb pol stra :

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

[NTG-context] [bug?] no space before \cite[data][] and after \abbreviation

2014-05-22 Thread pol stra
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

setting:
"\definesynonyms[abbrev][abbrevs][\infull]
\setupsynonyms[style=normal]
\abbrev{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 Abbreviation some text" => OK

Is it bugs or I do something wrong ?

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
___