From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68732 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: TOC : margin size doesn't reset if next section is a chapter Date: Thu, 26 May 2011 06:23:08 +0200 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 (Apple Message framework v1084) Content-Type: multipart/mixed; boundary="===============1490309847==" X-Trace: dough.gmane.org 1306383828 23305 80.91.229.12 (26 May 2011 04:23:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 May 2011 04:23:48 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 26 06:23:44 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 1QPS6p-000412-RE for gctc-ntg-context-518@m.gmane.org; Thu, 26 May 2011 06:23:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E6428CAD68; Thu, 26 May 2011 06:23:42 +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 gV047nOfsZJc; Thu, 26 May 2011 06:23:34 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4CD0CAD59; Thu, 26 May 2011 06:23:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8684FCAD59 for ; Thu, 26 May 2011 06:23:32 +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 nisfZpUlqMdR for ; Thu, 26 May 2011 06:23:13 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 406EFCAD3A for ; Thu, 26 May 2011 06:23:13 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4Q4NCvc013069 for ; Thu, 26 May 2011 06:23:12 +0200 Original-Received: by bwz17 with SMTP id 17so151695bwz.14 for ; Wed, 25 May 2011 21:23:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to:x-mailer; bh=cPe80ci/WdrBSBwD6EJwH1WvwVa2GFCg6C7U4jT9mnY=; b=sxZ2M3WAM6XhUVtNAExLQMIPkuIweiOxYcWhYB/KzVAd5wWi9OKFCkmH7pygG5j5bS IRsJN9BnfBoqeokZnYV8/YnInCP8A5XX5t3aLjJMPRnAP6C6eWS3tFM07fiYpkPPBRYE U4c87MHia07sbYSmdGbN16PtIOm/eBd9yjXDI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; b=HaSOlM+iWs9oT4iHG8H7y2xP4f4++wEnOC+QdzlG6LI3YWoQTnNdGWH/DyUkyPLjLs vRs+5n9Y7IoiFvJ3zeUp0jZAB6FG/ma2Yf1OL0EIxcDLSIWK6icL3RqnYSE6AURj9I6z hbnUjSfPCy87UU8cwGUTzb2Q3atd9RrM7RPvc= Original-Received: by 10.204.136.1 with SMTP id p1mr206396bkt.105.1306383791752; Wed, 25 May 2011 21:23:11 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B294904.dip.t-dialin.net [91.41.73.4]) by mx.google.com with ESMTPS id ek1sm132205bkb.9.2011.05.25.21.23.09 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 May 2011 21:23:10 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dEM4ncXc - 7dc6b5a07a21 - 20110526 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:68732 Archived-At: --===============1490309847== Content-Type: multipart/alternative; boundary=Apple-Mail-29--488409077 --Apple-Mail-29--488409077 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 25.05.2011 um 22:08 schrieb Mathieu DUPONT: > It bugs on the \leftskip command. > Any idea why ? I forgot that \listparameter can=92t 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 --Apple-Mail-29--488409077 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
Am 25.05.2011 um 22:08 schrieb = Mathieu DUPONT:

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

I forgot that = \listparameter can=92t 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]\Chapte= rList
  {\par
   = \listparameter\c!before
   = \leftskip\listparameter\c!margin
   = \noindent\currentlistsymbol\crlf#2\enspace\listdots\enspace#3\par
   = \listparameter\c!after}
\protect

Wolfga= ng

= --Apple-Mail-29--488409077-- --===============1490309847== 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 ___________________________________________________________________________________ --===============1490309847==--