Until then, this works fine for me now.

Thank you !



Mathieu





From: schuster.wolfgang@googlemail.com
Date: Thu, 26 May 2011 06:23:08 +0200
To: ntg-context@ntg.nl
CC: pragma@wxs.nl
Subject: Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter


Am 25.05.2011 um 22:08 schrieb Mathieu DUPONT:

It bugs on the \leftskip command.
Any idea why ?

I forgot that \listparameter can’t handle arguments in braces
(e.g. \listparameter{before}), this is a real limitation and i hope
Hans is going to change this.

\unprotect
\define[3]\ChapterList
  {\par
   \listparameter\c!before
   \leftskip\listparameter\c!margin
   \noindent\currentlistsymbol\crlf#2\enspace\listdots\enspace#3\par
   \listparameter\c!after}
\protect

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 ___________________________________________________________________________________