[bug?] no space before \cite[data][] and after \abbreviation
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,
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
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
Subject: Re: [NTG-context] [bug?] no space before \cite[data][] and after \abbreviation From: schuster.wolfgang@gmail.com Date: Tue, 27 May 2014 16:38:28 +0200 CC: ntg-context@ntg.nl To: ryzz@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
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.wolfgang@gmail.com Date: Tue, 27 May 2014 16:38:28 +0200 CC: ntg-context@ntg.nl To: ryzz@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
participants (3)
-
pol stra
-
Pol Stra
-
Wolfgang Schuster