From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44302 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: who eats my spaces (was: chapter setup / table of contents) Date: Thu, 25 Sep 2008 13:22:56 +0200 Message-ID: References: <115224fb0804150103r32eeede4r15eea7710a847535@mail.gmail.com> <0955F0E9-0CD7-4F38-B734-EA213BFECC4B@fiee.net> <115224fb0804152331x5c5bb375w22a2768446021834@mail.gmail.com> <954f61110804160019o54bb0fb0hca666c8ef7ff9704@mail.gmail.com> <01C12D32-1DBE-4596-87DD-C59919B96FC3@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1222341910 330 80.91.229.12 (25 Sep 2008 11:25:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2008 11:25:10 +0000 (UTC) Cc: Henning Hraban Ramm To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 25 13:25:57 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 1KioyU-0004Ez-5t for gctc-ntg-context-518@m.gmane.org; Thu, 25 Sep 2008 13:25:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D11291FE68; Thu, 25 Sep 2008 13:24:28 +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 04836-02-3; Thu, 25 Sep 2008 13:23:29 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D1C741FB71; Thu, 25 Sep 2008 13:23:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8D22B1FB30 for ; Thu, 25 Sep 2008 13:23:27 +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 04836-02-2 for ; Thu, 25 Sep 2008 13:22:53 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by ronja.ntg.nl (Postfix) with ESMTP id 5C1C81FE3F for ; Thu, 25 Sep 2008 13:22:53 +0200 (CEST) Original-Received: by fg-out-1718.google.com with SMTP id l26so519982fgb.8 for ; Thu, 25 Sep 2008 04:22:52 -0700 (PDT) Original-Received: by 10.86.74.4 with SMTP id w4mr3767005fga.25.1222341772689; Thu, 25 Sep 2008 04:22:52 -0700 (PDT) Original-Received: from ?192.168.2.23? ( [91.41.92.59]) by mx.google.com with ESMTPS id 4sm586293fge.8.2008.09.25.04.22.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 25 Sep 2008 04:22:51 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.926) 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:44302 Archived-At: Am 27.04.2008 um 23:45 schrieb Henning Hraban Ramm: > Coming back to my old thread. > > Here's my latest chapter setup: > > --- >8 --- > > \unprotect > > \resetvalue{\??sw\v!chapter} > > \startsetups chapter:list > > \def\\{{\ \nomarking{\nolist\crlf}}} > > > \doiftextelse{\sectionworldparameter\c!author} > {\expanded{\writetolist[\v!chapter] > {\sectionworldparameter\c!author:\space > \sectionworldparameter\c!text}{}}} > {\expanded{\writetolist[\v!chapter] > {\sectionworldparameter\c!text}{}}} \doiftextelse{\sectionworldparameter\c!author} {\expanded{\writetolist[\v!chapter] {}{\sectionworldparameter\c!author:\space \sectionworldparameter\c!title}}} {\expanded{\writetolist[\v!chapter] {}{\sectionworldparameter\c!title}}} > \def\ChapterAuthor{% > \doiftextelse% > {\sectionworldparameter\c!author}% > {\rm\tf\sectionworldparameter\c!author\crlf\vskip0.2em} > {}% > } > \def\ChapterTitle{{\ss\bfb\sectionworldparameter\c!text}} > \def\ChapterSubTitle{% > \doiftextelse% > {\sectionworldparameter\c!subtitle}% > {\crlf\vskip0.3em\ss\bf\sectionworldparameter\c!subtitle}% > {}% > } > > \stopsetups > > \setupsectionworld > [chapter] > [setups=3D{chapter:list}, > author=3D] > > \def\ChapterCommand#1#2% > {\vbox{\ChapterAuthor\ChapterTitle\ChapterSubTitle}} > > \let\ChapterAuthor\relax > \let\ChapterTitle\relax > \let\ChapterSubTitle\relax > > \protect > > \setupmarking[chapter][limittext=3D{}] = > > \def\nocr{{\ \nomarking{\nolist\crlf}}} \def\newlineinlist{\crlf} > \starttext > \startsectionworld[chapter][author=3DB. R=FCssel, title=3DConsequences of > the Brussels Declaration\\for German cultural politics] > \input tufte > \stopsectionworld > \stoptext > --- 8< --- Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________