Re: [NTG-context] No space after a closing delimiter

2015-08-27 Thread Fabrice Couvreur
In fact, you are both right, write the macro differently. \def\repere{\bigl(O\,;I,J\bigr)} \starttext \dorecurse{2}{blabla} $\repere$ \dorecurse{2}{blabla} \dorecurse{2}{blabla} $\bigl(O\,;I,J\bigr)$ \dorecurse{2}{blabla} \stoptext Thanks, Fabrice 2015-08-27 13:32 GMT+02:00 Peter Münster

Re: [NTG-context] No space after a closing delimiter

2015-08-27 Thread Hans Hagen
On 8/27/2015 2:39 PM, Fabrice Couvreur wrote: In fact, you are both right, write the macro differently. \def\repere{\bigl(O\,;I,J\bigr)} \starttext \dorecurse{2}{blabla} $\repere$ \dorecurse{2}{blabla} \dorecurse{2}{blabla} $\bigl(O\,;I,J\bigr)$ \dorecurse{2}{blabla} \stoptext you can add

Re: [NTG-context] No space after a closing delimiter

2015-08-27 Thread Otared Kavian
Thanks Hans! I wikified your tip: http://wiki.contextgarden.net/autoinsertnextspace Best regards: OK On 27 Aug 2015, at 20:42, Hans Hagen pra...@wxs.nl wrote: On 8/27/2015 2:39 PM, Fabrice Couvreur wrote: In fact, you are both right, write the macro differently.

Re: [NTG-context] No space after a closing delimiter

2015-08-27 Thread Fabrice Couvreur
Hi Otared, I did not know it because, before migrating to context, I used latex with this : \newcommand{\repere}{$\bigl(O\,;I,J\bigr)$. It's not very convenient to add \ every time ! Thanks, Fabrice 2015-08-27 11:30 GMT+02:00 Otared Kavian ota...@gmail.com: Hi Fabrice, This is a normal

Re: [NTG-context] No space after a closing delimiter

2015-08-27 Thread Otared Kavian
Hi Fabrice, If you use your command \repere more often in the middle of a sentence you can slightly modify the definition of your macro in order to have a space after \repere. However, when your command is used at the end of a sentence, you have to add \unskip after your command, as in the

Re: [NTG-context] No space after a closing delimiter

2015-08-27 Thread Peter Münster
On Thu, Aug 27 2015, Fabrice Couvreur wrote: I did not know it because, before migrating to context, I used latex with this : \newcommand{\repere}{$\bigl(O\,;I,J\bigr)$. In LaTeX there is no space neither: --8---cut here---start-8---

Re: [NTG-context] No space after a closing delimiter

2015-08-27 Thread Otared Kavian
Hi Fabrice, This is a normal behaviour of TeX macro commands. You should use your command by invoking it like the following: \repere\ blabla blabal Best regards: OK On 27 Aug 2015, at 10:06, Fabrice Couvreur fabrice1.couvr...@gmail.com wrote: Hi, The macro \repere does not

[NTG-context] No space after a closing delimiter

2015-08-27 Thread Fabrice Couvreur
Hi, The macro \repere does not create a space between the closing delimiter and the following text, why ? Thanks, Fabrice \def\repere{$\bigl(O\,;I,J\bigr)$} \starttext \dorecurse{2}{blabla} \repere \dorecurse{2}{blabla} \dorecurse{2}{blabla} $\bigl(O\,;I,J\bigr)$ \dorecurse{2}{blabla}