From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29818 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: setuphead, setuplist Date: Mon, 31 Jul 2006 07:31:45 +0200 Message-ID: <9DCA52BB-A985-4276-BB7D-091FBDA47E31@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> <2586493A-A8E0-405C-88F4-A28E55888104@st.estfiles.de> <44CD3330.30002@wxs.nl> 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 1154323941 9398 80.91.229.2 (31 Jul 2006 05:32:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Jul 2006 05:32:21 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 31 07:32: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 1G7QNu-0000UR-2Q for gctc-ntg-context-518@m.gmane.org; Mon, 31 Jul 2006 07:32:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 618281FE11; Mon, 31 Jul 2006 07:32:09 +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 18910-04; Mon, 31 Jul 2006 07:32:03 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D55561FE07; Mon, 31 Jul 2006 07:32:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ED1BD1FE07 for ; Mon, 31 Jul 2006 07:31:58 +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 18909-04 for ; Mon, 31 Jul 2006 07:31:54 +0200 (CEST) Original-Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.18.44]) by ronja.ntg.nl (Postfix) with SMTP id C56AA1FDDE for ; Mon, 31 Jul 2006 07:31:53 +0200 (CEST) Original-Received: (qmail 8757 invoked from network); 31 Jul 2006 05:31:51 -0000 Original-Received: from unknown (HELO [62.134.72.48]) (698580@[62.134.72.48]) (envelope-sender ) by smtprelay06.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 31 Jul 2006 05:31:51 -0000 In-Reply-To: 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:29818 Archived-At: That's it. Now the corresponding entry in the TOC should be without sectionnumber, but setuplist[...][sectionnumber=no] doesn't work. And looking in the manual I saw that this command is listed for setuplist, but listed italic?! Steffen Am 31.07.2006 um 00:51 schrieb Aditya Mahajan: > On Mon, 31 Jul 2006, Hans Hagen wrote: > >> Steffen Wolfrum wrote: >>> 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 .... >>> >> >> \setuphead[chapter] >> [command=\Sectioncommand, >> style=, >> textstyle=\bfb, >> numberstyle=\it] >> >> \def\Sectioncommand#1#2% >> {\vbox \bgroup >> \framed[align=middle,frame=off,offset=0pt]{Chapter #1}% >> \framed[align=middle,frame=off,offset=0pt]{#2}% >> \egroup} >> >> or something alike > > You also need to specify width of the frame, otherwise width=fit is > default and framed box does not appear to be middle aligned. > > Aditya > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context >