From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63338 Path: news.gmane.org!not-for-mail From: Michael Goerz Newsgroups: gmane.comp.tex.context Subject: Re: linebreak in part title Date: Tue, 9 Nov 2010 11:11:07 +0100 Message-ID: References: <16DF3C19-4F6C-4473-BF9E-4C7CD953E5BB@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1289297490 15030 80.91.229.12 (9 Nov 2010 10:11:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 9 Nov 2010 10:11:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 09 11:11:25 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 1PFlAg-0005ZG-3B for gctc-ntg-context-518@m.gmane.org; Tue, 09 Nov 2010 11:11:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 84590CA83B; Tue, 9 Nov 2010 11:11:21 +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 QlHFrw-dTK73; Tue, 9 Nov 2010 11:11:15 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A8E60CA834; Tue, 9 Nov 2010 11:11:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 07B2FCA835 for ; Tue, 9 Nov 2010 11:11:14 +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 wz-u4MaDPvHN for ; Tue, 9 Nov 2010 11:11:08 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id 8467DCA834 for ; Tue, 9 Nov 2010 11:11:08 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oA9AB7lM025985 for ; Tue, 9 Nov 2010 11:11:07 +0100 Original-Received: by fxm20 with SMTP id 20so898018fxm.14 for ; Tue, 09 Nov 2010 02:11:07 -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 :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=GFWiaIhfkmYTf30Nht43BdWGa1KIkQJAn79bEII+L7w=; b=Rh9dWuZUvzK4JFOXjx7xfQUT4MkjZVSDyQJ7X/969yLOib3qLVGI8aEnUA7Znu351o GTZYxi0tGLgeR9GqkikpbEyTu34rCD9jmdDdpf+MINMYG+H2WNc+cOrYzGhpEHtrCBfY 1Agn6n0AVWMKb2vY7Wxuxn2kNA0H8sOJslwLQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=UWHdxVyDgbq6Sa1GK0cZgN1OOhcIILVz79iKn1nHye5e51/DPbzvii9K1IwEuqxn9L l7+EatNJX7bzYKzCCzhisB3V+U2i8mj9WrwT5Czy3gYE770sRIzsWp/1kR8+aEw58BO9 DAVy2ilh0F2/KePaNRX/JxWz8LrCOBMB1X3dE= Original-Received: by 10.223.122.204 with SMTP id m12mr4867941far.44.1289297467337; Tue, 09 Nov 2010 02:11:07 -0800 (PST) Original-Received: by 10.223.86.15 with HTTP; Tue, 9 Nov 2010 02:11:07 -0800 (PST) In-Reply-To: <16DF3C19-4F6C-4473-BF9E-4C7CD953E5BB@gmail.com> X-Google-Sender-Auth: tMy7FAymJ9x0Tkfo4vJZ52ODPt4 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: 0BDsWb7l4 - 69106712795d - 20101109 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:63338 Archived-At: On Tue, Nov 9, 2010 at 6:26 AM, Wolfgang Schuster wrote: > Am 09.11.2010 um 00:30 schrieb Michael Goerz: >> 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 [...] > > \definefont[PartStyle][Caps sa 1] > \setuphead > =A0 [part] > =A0 [placehead=3Dyes, > =A0 =A0number=3Dno, > =A0 =A0before=3D{\startstandardmakeup[align=3D{middle,lohi}]}, > =A0 =A0after=3D\stopstandardmakeup, > =A0 =A0style=3DPartStyle, > =A0 %align=3Dmiddle, > =A0 %page=3D{yes,header,footer,right}, > =A0 %header=3Dhigh, > =A0 %footer=3Dhigh, > =A0 =A0prefix=3Dno] Works great! I ended up with \definefont[PartStyle][Caps sa 1] \definepagebreak [mychapterpagebreak] [yes,header,right] \setuphead[part] [placehead=3Dyes, page=3Dmychapterpagebreak, number=3Dno, before=3D{\startstandardmakeup[align=3D{middle,lohi}]\switchtobodyfont[1= 8pt]}, after=3D\stopstandardmakeup, style=3DPartStyle, align=3Dmiddle, prefix=3Dno] The only things I had to add were the mychapterpagebreak, which makes sure the (left) page before the part title is empty, and the fontsize. Thanks! Michael ___________________________________________________________________________= ________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________