Re: [NTG-context] Some problems with a new style for the sections

2014-05-05 Thread Fabrice
Hi, Sorry, I posted a little too fast for my question I found the answer herehttp://wiki.contextgarden.net/Titleshttp://wiki.contextgarden.net/Titles. Nevertheless, thank you for your response speed. As I said before, I slowly migrates to ConTeXt (which I love!), Without abandoning LaTeX,

[NTG-context] Some problems with a new style for the sections

2014-05-04 Thread Fabrice Couvreur
Hi, I encounter two problems : - Section numbers are not red ; - Calling the second section does not cause the creation of a new paragraph. Regards, Fabrice \setupcolors[state=start] \def\MySectionCommand#1#2% {\framed [frame=off, width=\textwidth, align={right},

Re: [NTG-context] Some problems with a new style for the sections

2014-05-04 Thread Wolfgang Schuster
Am 04.05.2014 um 13:21 schrieb Fabrice Couvreur fabrice1.couvr...@gmail.com: Hi, I encounter two problems : - Section numbers are not red ; - Calling the second section does not cause the creation of a new paragraph. You have to use the \section command in your text. Wolfgang

Re: [NTG-context] Some problems with a new style for the sections

2014-05-04 Thread Darksair
You need to use \section to type a section head. Also I think you are better off with \define[2]\MySectionCommand. Using \def issues some errors. On Sun, May 04, 2014 at 01:21:16PM +0200, Fabrice Couvreur wrote: Hi, I encounter two problems : - Section numbers are not red ; - Calling the

Re: [NTG-context] Some problems with a new style for the sections

2014-05-04 Thread Rik Kabel
On 2014-05-04 07:21, Fabrice Couvreur wrote: Hi, I encounter two problems: - Section numbers are not red ; - Calling the second section does not cause the creation of a new paragraph. Regards, Fabrice \setupcolors[state=start] \def\MySectionCommand#1#2% {\framed [frame=off,