From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63326 Path: news.gmane.org!not-for-mail From: Michael Goerz Newsgroups: gmane.comp.tex.context Subject: linebreak in part title Date: Tue, 9 Nov 2010 00:30:32 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1289259059 1539 80.91.229.12 (8 Nov 2010 23:30:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 8 Nov 2010 23:30:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 09 00:30:55 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PFbAp-00085A-Ui for gctc-ntg-context-518@m.gmane.org; Tue, 09 Nov 2010 00:30:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 348BDCA82F; Tue, 9 Nov 2010 00:30:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ENFNblkqJc3H; Tue, 9 Nov 2010 00:30:47 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BBA83CA82B; Tue, 9 Nov 2010 00:30:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5159ACA82B for ; Tue, 9 Nov 2010 00:30:46 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TZQdfcr6lvZD for ; Tue, 9 Nov 2010 00:30:34 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 335E3CA828 for ; Tue, 9 Nov 2010 00:30:34 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oA8NUX82006076 for ; Tue, 9 Nov 2010 00:30:33 +0100 Original-Received: by fxm20 with SMTP id 20so530981fxm.14 for ; Mon, 08 Nov 2010 15:30:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=EPIU1GaF+8ljg0BX9AaLDfNMW8BE/YZyCwiWAhwS/tw=; b=QGWvglA/7ROaJRWvtEIZfN5A2gyqqoh7Mxk/asvQAUo9sFtORU+Oq4Xgf1W9c0wni9 pnbMnlX7UPzuQqWUjoP8JFasJIynTfh+ysX5lAJsIZlCNoL0PH1GpMO1Y1hPOzYrUydQ TjO64pqMqqUXzVs7FanDsusICcnsOl0tEediA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=r4GHkaKxbmzGP/1ZTi9g7SajFtYHpBLov2VsA4CE+SGdjexqwwO8xqVii+XMPFCHm2 HRzALxxzocy9rDSwSSqc2Rg88dEhf04y6bb6QbzJd5R/XIayubICXfEBrjKZf1zkKYZz Gj5T22Sp3zuKZLbl2fJz982Gpfi0T3+bibVaM= Original-Received: by 10.223.122.204 with SMTP id m12mr4404039far.44.1289259032671; Mon, 08 Nov 2010 15:30:32 -0800 (PST) Original-Received: by 10.223.86.15 with HTTP; Mon, 8 Nov 2010 15:30:32 -0800 (PST) X-Google-Sender-Auth: iU5nDOlIJb2eqxk4Bm1PdUxduLI X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07DsLuxKb - 9c52f1019168 - 20101109 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:63326 Archived-At: Hi everyone, I want part titles to appear on the own (empty) page, centered horizontally and vertically, and in small caps. To this end, I've set up the \part command as \def\Partcommand#1#2{\centerline{\smcp #2}} \setuphead[part][ placehead=yes, number=no, page=mychapterpagebreak, header=high, footer=high, before={\hbox{}\vfill}, command=\Partcommand, after={\vfill}, prefix=no, ] However, this does not seem to allow line breaks in a part title, which is a problem with very long titles, e.g. \part{Perspectives on Decision Ethics from the USA, Russian Federation, Egypt, and the Czech Republic} Is there any way to get a line break on the part page? I should note that in the TOC, the part title is broken properly, and also observes \crlf. Thanks, Michael ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________