From: Hans Hagen <pragma@wxs.nl>
To: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: TOC : margin size doesn't reset if next section is a chapter
Date: Thu, 26 May 2011 09:36:09 +0200 [thread overview]
Message-ID: <4DDE02E9.9030304@wxs.nl> (raw)
In-Reply-To: <CD1AB5C6-1935-4F15-A926-080E58392C30@googlemail.com>
On 26-5-2011 6:23, Wolfgang Schuster wrote:
>
> 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
we can use the command handler instead but it will need some testing
(i'll have a look at it)
Hans
-----------------------------------------------------------------
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-05-26 7:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-25 18:21 Mathieu DUPONT
2011-05-25 18:51 ` Wolfgang Schuster
2011-05-25 20:08 ` Mathieu DUPONT
2011-05-26 4:23 ` Wolfgang Schuster
2011-05-26 7:36 ` Hans Hagen [this message]
2011-05-26 8:59 ` Mathieu DUPONT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DDE02E9.9030304@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
--cc=schuster.wolfgang@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).