From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4213 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: toc for interactive documents Date: Fri, 23 Feb 2001 10:56:32 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010223105632.019399b0@server-1> References: <20010222202930.A381@persephone.null> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394898 23841 80.91.224.250 (23 Oct 2002 17:41:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:41:38 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: reyerd@t-online.de (Christoph Dreyer) In-Reply-To: <20010222202930.A381@persephone.null> Xref: main.gmane.org gmane.comp.tex.context:4213 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4213 At 08:29 PM 2/22/01 +0100, Christoph Dreyer wrote: >Hi! > >In my interactive document the table of contents should look like >this: > >chapter1 section1 section2 ... >chapter2 section1 section2 ... \starttext \setupcolors[state=start] \setupinteraction[state=start] \def\ListCommand#1#2#3{\hbox{#2}} \setuplist [section,chapter] [interaction=all, command=\ListCommand, alternative=horizontal, between=, after=\hskip1em] \setuplist [chapter] [before=\blank\noindent] \setuplist [section] [before=\noindent] \placelist[chapter,section] \chapter{test}\section{oeps}\section{oeps}\section{oeps}\section{oeps} \chapter{test}\section{oeps}\section{oeps}\section{oeps}\section{oeps} \chapter{test}\section{oeps}\section{oeps}\section{oeps}\section{oeps} \stoptext ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------