From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37127 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: linebreak NOT in section title BUT in content Date: Wed, 31 Oct 2007 17:40:09 +0100 Message-ID: References: <47278952.2060006@wxs.nl> <5CE9A6B1-60FD-46FD-B957-72DA4EAE200D@st.estfiles.de> <1A0F234D-A8C9-4EA0-A499-FEBC48EECF94@st.estfiles.de> <4727A689.2010005@elvenkind.com> <115224fb0710310450q70474e7eq4e25c20eeaf10f7c@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1193849182 19886 80.91.229.12 (31 Oct 2007 16:46:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2007 16:46:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 31 17:46:23 2007 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 1InGhh-0007L0-EG for gctc-ntg-context-518@m.gmane.org; Wed, 31 Oct 2007 17:46:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CF4D21FC82; Wed, 31 Oct 2007 17:45:55 +0100 (CET) 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 05452-01; Wed, 31 Oct 2007 17:45:53 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8CB0F1FC57; Wed, 31 Oct 2007 17:40:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 875FB1FC57 for ; Wed, 31 Oct 2007 17:40:22 +0100 (CET) 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 03016-01-38 for ; Wed, 31 Oct 2007 17:40:16 +0100 (CET) Original-Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.18.43]) by ronja.ntg.nl (Postfix) with ESMTP id A1E111FC44 for ; Wed, 31 Oct 2007 17:40:15 +0100 (CET) Original-Received: (qmail 7130 invoked from network); 31 Oct 2007 16:40:11 -0000 Original-Received: from unknown (HELO [192.168.1.2]) (698580@[89.247.110.251]) (envelope-sender ) by smtprelay05.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 31 Oct 2007 16:40:11 -0000 In-Reply-To: <115224fb0710310450q70474e7eq4e25c20eeaf10f7c@mail.gmail.com> X-Mailer: Apple Mail (2.752.3) 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:37127 Archived-At: Phhh! Hot stuff Wolfgang. This one should definitely go into the wiki (maybe plus a little = documentation?) Very convenient option, amazing what goodies ConTeXt provides =96 thank = you very, very much Hans! And thank you Wolfgang for remembering this ... even the master = himself forgot it ;o) Steffen Am 31.10.2007 um 12:50 schrieb Wolfgang Schuster: > > > 2007/10/30, Taco Hoekwater : Steffen Wolfrum = > wrote: > > > > But I was sure there was also a fast, direct way. > > Well, obviously there isn't (anymore?) ... > > Here's a trick. It is ugly, but works reasonably well. > > \starttext > \def\CR{\crlf} > \completecontent > \def\CR{ } > > \chapter{First line\CR second line} > > \stoptext > > Nice solution but Hans wrote a mechanism to to make two different > titles for the text and the table of contents or whatever else you = > want. > > \defineselector[title][max=3D2,n=3D2] > \starttext > > \start > \setupselector[title][n=3D1] > \completecontent > \stop > > \chapter{\select{title}{First line\crlf second line}{First line = > second line}} > > \stoptext > > Wolfgang > > > ______________________________________________________________________ = > _____________ > 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 > ______________________________________________________________________ = > _____________ ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________