From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68736 Path: news.gmane.org!not-for-mail From: Mathieu DUPONT Newsgroups: gmane.comp.tex.context Subject: Re: TOC : margin size doesn't reset if next section is a chapter Date: Thu, 26 May 2011 04:59:20 -0400 Message-ID: References: , , <1978358A-0E79-43BF-B0B7-65B576AB8A94@googlemail.com>, , Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0511296045==" X-Trace: dough.gmane.org 1306400378 16133 80.91.229.12 (26 May 2011 08:59:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 May 2011 08:59:38 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Thu May 26 10:59:33 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QPWPj-0006pL-Pa for gctc-ntg-context-518@m.gmane.org; Thu, 26 May 2011 10:59:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 917A8CAD3A; Thu, 26 May 2011 10:59:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uign0h+Toll4; Thu, 26 May 2011 10:59:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E0C3ACAD4A; Thu, 26 May 2011 10:59:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8B7CECAD4A for ; Thu, 26 May 2011 10:59:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WCeLnOQaNC9G for ; Thu, 26 May 2011 10:59:22 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id C5BABCAD3A for ; Thu, 26 May 2011 10:59:22 +0200 (CEST) Original-Received: from col0-omc2-s4.col0.hotmail.com (col0-omc2-s4.col0.hotmail.com [65.55.34.78]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4Q8xLUa007652 for ; Thu, 26 May 2011 10:59:22 +0200 Original-Received: from COL107-W46 ([65.55.34.71]) by col0-omc2-s4.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 26 May 2011 01:59:20 -0700 X-Originating-IP: [70.30.197.40] Importance: Normal In-Reply-To: X-OriginalArrivalTime: 26 May 2011 08:59:20.0798 (UTC) FILETIME=[33A467E0:01CC1B83] X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=65.55.34.78; country=US; region=WA; city=Redmond; postalcode=98052; latitude=47.6801; longitude=-122.1206; metrocode=819; areacode=425; http://maps.google.com/maps?q=47.6801,-122.1206&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bEM8XlD2 - d42603a30848 - 20110526 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:68736 Archived-At: --===============0511296045== Content-Type: multipart/alternative; boundary="_4a662c0f-44cd-4929-955c-60ef55b820ce_" --_4a662c0f-44cd-4929-955c-60ef55b820ce_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Until then=2C this works fine for me now.Thank you ! Mathieu From: schuster.wolfgang@googlemail.com Date: Thu=2C 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 comm= and.Any idea why ? I forgot that \listparameter can=92t handle arguments in braces(e.g. \listp= arameter{before})=2C this is a real limitation and i hopeHans is going to c= hange this. \unprotect\define[3]\ChapterList {\par \listparameter\c!before \leftsk= ip\listparameter\c!margin \noindent\currentlistsymbol\crlf#2\enspace\list= dots\enspace#3\par \listparameter\c!after}\protect Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well=2C please add an entry to= the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________ = --_4a662c0f-44cd-4929-955c-60ef55b820ce_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

Until then=2C this works fine for me now.

<= /div>
Thank you !


<= font color=3D"#666600">
Mathieu





From: schuster.wolfgang@googlemail.com
Date: Thu=2C 26 May 2011 0= 6: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 chapte= r


Am 25= .05.2011 um 22:08 schrieb Mathieu DUPONT:

It bugs on the \l= eftskip command.
Any idea why ?

I forgot that \listparameter can=92t handle arguments in braces
(e.g. \listparameter{before})=2C this is a real limitation and i hop= e
Hans is going to change this.

\un= protect
\define[3]\ChapterList
 =3B =3B{\par
 =3B =3B \listparameter\c!before
 =3B =3B= \leftskip\listparameter\c!margin
 =3B =3B \noindent\curr= entlistsymbol\crlf#2\enspace\listdots\enspace#3\par
 =3B = =3B \listparameter\c!after}
\protect

Wol= fgang


_______________________________________= ____________________________________________ If your question is of interest to others as well=2C please add an entry to= the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________ = --_4a662c0f-44cd-4929-955c-60ef55b820ce_-- --===============0511296045== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0511296045==--