Thanks Hans! I wikified your tip: http://wiki.contextgarden.net/autoinsertnextspace Best regards: OK
On 27 Aug 2015, at 20:42, Hans Hagen
wrote: 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 \autoinsertnextspace to macros
Thanks, Fabrice
2015-08-27 13:32 GMT+02:00 Peter Münster
mailto:pmlists@free.fr>: 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--- \newcommand{\repere}{$\bigl(O\,;I,J\bigr)$} \documentclass{article} \begin{document} x \repere x \end{document} --8<---------------cut here---------------end--------------->8---
-- Peter ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto: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 ___________________________________________________________________________________
___________________________________________________________________________________ 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 ___________________________________________________________________________________
--
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________