From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2649 Path: main.gmane.org!not-for-mail From: "Mr. Wang Lei" Newsgroups: gmane.comp.tex.context Subject: Re: Table of contents Date: Sun, 10 Sep 2000 17:09:35 +0800 (CST) Sender: owner-ntg-context@let.uu.nl Message-ID: References: <20000910093638.A24656@fly.srk.fer.hr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1035393424 10627 80.91.224.250 (23 Oct 2002 17:17:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:17:04 +0000 (UTC) Cc: NTG-ConTeXt Original-To: Zeljko Vrba In-Reply-To: <20000910093638.A24656@fly.srk.fer.hr> Xref: main.gmane.org gmane.comp.tex.context:2649 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2649 On Sun, 10 Sep 2000, Zeljko Vrba wrote: > > > 1. section......................1 > > > 1.1 subsection...............1 > > > 1.2 subsection...............2 > > > 2. section......................10 > > > > Try a different variant: > > > > \setupcombinedlist > > [tableofcontents] > > [variant=d] > > Try the following code, I think there must be a more simple way to deal with your problem. But I am a newbie, too. :-) \def\SubContent#1{% \hbox to 1.5cm{\hskip 1cm #1}} \setuplist [section] [before=\blank, aligntitle=yes, after=\blank, width=.8cm, distance=.2cm] \setuplist [subsection] [numbercommand=\SubContent, aligntitle=yes, distance=.2cm] \starttext \completecontent[alternative=c,criterium=all] .... \stoptext Wang ------------------------------------------------------------------------ Mr. Wang Lei Phone: 86-10-62541687 Institute of Applied Mathematics Email: lwang@amath8.amt.ac.cn Chinese Academy of Science Address: P.O.Box 2734, Beijing, 100080 ------------------------------------------------------------------------