From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40723 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: who eats my spaces (was: chapter setup / table of contents) Date: Sun, 27 Apr 2008 23:45:13 +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 v753) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1209332814 1381 80.91.229.12 (27 Apr 2008 21:46:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Apr 2008 21:46:54 +0000 (UTC) To: ConTeXt ML Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 27 23:47:29 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 1JqEiX-0004Iz-0Y for gctc-ntg-context-518@m.gmane.org; Sun, 27 Apr 2008 23:47:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C045E1FB60; Sun, 27 Apr 2008 23:46:45 +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 05038-03-3; Sun, 27 Apr 2008 23:46:01 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0B8A51FB33; Sun, 27 Apr 2008 23:46:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F02021FB33 for ; Sun, 27 Apr 2008 23:45:56 +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 05603-01-7 for ; Sun, 27 Apr 2008 23:45:17 +0200 (CEST) Original-Received: from lvps87-230-27-118.dedicated.hosteurope.de (fiee.net [87.230.27.118]) by ronja.ntg.nl (Postfix) with ESMTP id F044E1FB30 for ; Sun, 27 Apr 2008 23:45:15 +0200 (CEST) Original-Received: (qmail 21635 invoked from network); 27 Apr 2008 23:45:15 +0200 Original-Received: from 131-17.203-62.cust.bluewin.ch (HELO ?10.128.9.3?) (62.203.17.131) by fiee.net with (AES128-SHA encrypted) SMTP; 27 Apr 2008 23:45:15 +0200 In-Reply-To: <01C12D32-1DBE-4596-87DD-C59919B96FC3@fiee.net> X-Mailer: Apple Mail (2.753) 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:40723 Archived-At: 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}{}}} \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}}} \starttext \startsectionworld[chapter][author=3DB. R=FCssel, title=3DConsequences of = the Brussels Declaration\\for German cultural politics] \input tufte \stopsectionworld \stoptext --- 8< --- My problem is now, that in titles the space after a dot and after \\ = (or \nocr) gets eaten, the above example becomes in ToC: B.R=FCssel: Consequences of the Brussels Declarationfor German cultural = politics What's wrong? (Two different problems, I guess.) (I use XeTeX with latest ConTeXt) For I must send my book to the printer, I fixed it with inserting "\ = ". But I'd appreciate a real solution. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________