From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29809 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: setuphead Date: Sun, 30 Jul 2006 22:17:58 +0200 Message-ID: <2586493A-A8E0-405C-88F4-A28E55888104@st.estfiles.de> References: <7CFEB498-476B-4E80-A3F5-1EDA9852A912@st.estfiles.de> <44C8BEC6.5030305@elvenkind.com> <69F53897-0EEE-494B-92EB-EEF0E9510FDF@st.estfiles.de> <44CB0A16.3080301@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154290699 7638 80.91.229.2 (30 Jul 2006 20:18:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Jul 2006 20:18:19 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 30 22:18:17 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1G7Hjs-000387-Rz for gctc-ntg-context-518@m.gmane.org; Sun, 30 Jul 2006 22:18:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BDC5A1FD8C; Sun, 30 Jul 2006 22:18:15 +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 28693-01; Sun, 30 Jul 2006 22:18:10 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4CC591FDFA; Sun, 30 Jul 2006 22:18:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D82261FDFA for ; Sun, 30 Jul 2006 22:18:06 +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 28437-02-2 for ; Sun, 30 Jul 2006 22:18:03 +0200 (CEST) Original-Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by ronja.ntg.nl (Postfix) with SMTP id 81DD81FD8C for ; Sun, 30 Jul 2006 22:18:03 +0200 (CEST) Original-Received: (qmail 8563 invoked from network); 30 Jul 2006 20:18:02 -0000 Original-Received: from unknown (HELO [87.193.59.127]) (698580@[87.193.59.127]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 30 Jul 2006 20:18:02 -0000 In-Reply-To: <44CB0A16.3080301@elvenkind.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:29809 Archived-At: Well, looks good, BUT if the chapter's name is quite long and needs a break then the break command used there (\crlf \break \\) can't work anymore .... Steffen Am 29.07.2006 um 09:11 schrieb Taco Hoekwater: > Steffen Wolfrum wrote: >> You mean like this? >> >> \setuphead[chapter][command=\midaligned,numbercommand=\it,inbetween= >> \crlf,textcommand=\bf] > > That is what I meant but it dodn't work out too well. New approach: > > \def\Sectioncommand#1#2% > {\vbox{\centerline{\it Chapter #1}% > \centerline{\bfb #2}}} > > \setuphead[chapter] > [command=\Sectioncommand, > style=] > > Cheers, Taco > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context >