From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40212 Path: news.gmane.org!not-for-mail From: "luigi scarso" Newsgroups: gmane.comp.tex.context Subject: Re: chapter setup / table of contents Date: Mon, 14 Apr 2008 22:26:34 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208205097 4369 80.91.229.12 (14 Apr 2008 20:31:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2008 20:31:37 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 14 22:31:38 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JlVKW-000886-KL for gctc-ntg-context-518@m.gmane.org; Mon, 14 Apr 2008 22:31:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE7241FC16; Mon, 14 Apr 2008 22:30:26 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23670-01-8; Mon, 14 Apr 2008 22:29:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B86661FC82; Mon, 14 Apr 2008 22:29:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 531831FC82 for ; Mon, 14 Apr 2008 22:29:47 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24187-01 for ; Mon, 14 Apr 2008 22:29:12 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by ronja.ntg.nl (Postfix) with ESMTP id C45B51FC1A for ; Mon, 14 Apr 2008 22:26:34 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id b2so405456nfb.44 for ; Mon, 14 Apr 2008 13:26:34 -0700 (PDT) Original-Received: by 10.86.66.11 with SMTP id o11mr267181fga.71.1208204794453; Mon, 14 Apr 2008 13:26:34 -0700 (PDT) Original-Received: by 10.86.36.17 with HTTP; Mon, 14 Apr 2008 13:26:34 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40212 Archived-At: On Mon, Apr 14, 2008 at 10:06 PM, Henning Hraban Ramm wrote: > Ahoi! > > In a volume of proceedings, each chapter has an author and title and > sometimes a subtitle. > The ToC entry should look like: > > Author: Title \hfill Page > (no indents!) > > At the moment I've this setup: > > --- > > \def\Titel#1#2#3{% author, title, subtitle > \page% > {\writebetweenlist[chapter]{\placeongrid{\noindent #1:}} > \switchtobodyfont[12pt]\noindent #1% > \chapter{\noindent #2}% > {\ss\bf #3}% > \blank[2*big]}% > } > > \setuphead[chapter][page=no, number=no, align= > {flushleft,nothyphenated,verytolerant}, style={\ss\bfa}, before={}, > after={\blank}] > > \definecombinedlist[toc][chapter][level=chapter, placehead=no, > criterium=all, alternative=b, offset=none] > \setupcombinedlist [toc] [partnumber=no] > > --- > > Please don't cry, I know it's ugly... ;-) > > What it does is close, but nood good enough. > > - Is there a way to use the normal chapter (or any head) mechanism > with such "feathered" titles? > - How do I get my special ToC? I've seen in core-lst % \setuplist % [section] % [alternative=MyListItem, % after=\blank, % before=\blank] % % \definelistplacement[MyListItem][none]#1#2#3% % {(#1) (#2) (#3)} Maybe this can help you ? -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________