From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78526 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Header-Footer-Layout Date: Tue, 2 Oct 2012 11:09:22 +0200 Message-ID: References: <505F17BF.70509@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1349168974 23379 80.91.229.3 (2 Oct 2012 09:09:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Oct 2012 09:09:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 02 11:09:40 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TIyTr-0006yE-95 for gctc-ntg-context-518@m.gmane.org; Tue, 02 Oct 2012 11:09:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ED70D1020C; Tue, 2 Oct 2012 11:09:24 +0200 (CEST) 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 RS85dnVwk9qb; Tue, 2 Oct 2012 11:09:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 26CFB101F2; Tue, 2 Oct 2012 11:09:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C70C4101F2 for ; Tue, 2 Oct 2012 11:09:21 +0200 (CEST) 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 z+ooK8Ulf+Bs for ; Tue, 2 Oct 2012 11:09:20 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id AC35C101F1 for ; Tue, 2 Oct 2012 11:09:20 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q9299Jgc011513 for ; Tue, 2 Oct 2012 11:09:19 +0200 Original-Received: by bkcjm1 with SMTP id jm1so5901602bkc.14 for ; Tue, 02 Oct 2012 02:09:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=y0bftZtv26Qb2VPvXf+aknwFU2WeQLxfpxQg7mX3WJ8=; b=RCJgxf85lhlvQSm8sRs2gCVF4SB9rjLrDe++QY67LLeVCNgahMoNs1T4j5AMNIuB8t rIl8nxu//rq5NwR7r6iTtdcJQ4ogNoHhahnUmTMC6dne5VqZGX5UZJccZM1+Rr0IQt/b qG1r24Mb8lK14b1Nl6RKJHdONkh+3J5wGYbFDPeztpEzaHIhPZMT2R0IPl5SplfrytPK UP8E3XrdmuUacnmFTI4Wq92MlzItv5leVK+8gHjdQ3E2oDHchUWiXfpDcdluYIAVVeWJ cB0Clqb6e6i6xxl3O01rGdAZ7b1Nv7x04/2NsNEu0saKG6d590lzr9YOJDWIDE96Xfoz 2eNA== Original-Received: by 10.205.126.16 with SMTP id gu16mr1870051bkc.67.1349168958917; Tue, 02 Oct 2012 02:09:18 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4d057479.pool.mediaWays.net. [77.5.116.121]) by mx.google.com with ESMTPS id n5sm455014bkv.14.2012.10.02.02.09.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Oct 2012 02:09:18 -0700 (PDT) In-Reply-To: <505F17BF.70509@gmx.de> X-Mailer: Apple Mail (2.1498) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.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: 06I699jow - 4e5e7f038739 - 20121002 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78526 Archived-At: Am 23.09.2012 um 16:07 schrieb Arne Runge : > Hi, > = > I would like to have a doublesided layout with: > = > - a titlepage with neither header nor footer, > - a frontpart with pagesnumbers(left/right) in roman > - a bodypart with pagesnumbers(left/right) in arabic > - an appendix with pagesnumbers(left/right) in arabic > = > - first page of a chapter should not have a header + underline > - next page header(CHAPTER #: chapter) underlined > - next page header(section) underlined > = > - if there is no section then only the line. > - if the next page is empty than only the pagenumber should be printed. > = > Seems to be a common layout and I apologize for asking. > = > Thanks in advance for any help. > = > Regards, > = > Arne Put the makeup environment in the front matter environment and remove the s= ectionblock settings. When you don=92t want to start chapter at a right page you can add \setupse= ctionblock[page=3Dyes] to your document. \setuppagenumbering[alternative=3Ddoublesided] \setupheadertexts[] \setupheadertexts[\setups{text a}][][][\setups{text b}] \startsetups[text a] CHAPTER \getmarking[chapternumber]: \WORD{\getmarking[chapter]} \stopsetups \startsetups[text b] \getmarking[section] \stopsetups \setupheader[text][after=3D\hrule] \setuphead[chapter][page=3D{header,right},header=3Dempty] \setupfootertexts[][pagenumber] \defineconversionset[frontpart:pagenumber][romannumerals][] \startsectionblockenvironment[bodypart] \setcounter[userpage][1] \stopsectionblockenvironment \starttext \startfrontmatter \startstandardmakeup[align=3Dmiddle] {\tfd TITLE} \stopstandardmakeup \completecontent \stopfrontmatter \startbodymatter \chapter{Knuth} \dorecurse{12}{\input knuth\par} \stopbodymatter \startappendices \chapter{Zapf} \dorecurse{12}{\input zapf\par} \stopappendices \stoptext Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________