From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74821 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: \setuphead problem Date: Thu, 1 Mar 2012 12:37:24 -0500 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0249311479==" X-Trace: dough.gmane.org 1330623464 32477 80.91.229.3 (1 Mar 2012 17:37:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Mar 2012 17:37:44 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 01 18:37:41 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 1S39wf-0002Nf-SX for gctc-ntg-context-518@m.gmane.org; Thu, 01 Mar 2012 18:37:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 15118CB277; Thu, 1 Mar 2012 18:37:37 +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 pq4pw682hfXx; Thu, 1 Mar 2012 18:37:30 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EC77DCB265; Thu, 1 Mar 2012 18:37:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 30E2DCB265 for ; Thu, 1 Mar 2012 18:37:28 +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 Q0xoqOjzO5Ia for ; Thu, 1 Mar 2012 18:37:26 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 7C236CB264 for ; Thu, 1 Mar 2012 18:37:26 +0100 (CET) Original-Received: from mail-qy0-f169.google.com (mail-qy0-f169.google.com [209.85.216.169]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q21HbPX9030861 for ; Thu, 1 Mar 2012 18:37:25 +0100 Original-Received: by qcsd16 with SMTP id d16so18612qcs.14 for ; Thu, 01 Mar 2012 09:37:25 -0800 (PST) Received-SPF: pass (google.com: domain of bowenalan03@gmail.com designates 10.224.195.201 as permitted sender) client-ip=10.224.195.201; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bowenalan03@gmail.com designates 10.224.195.201 as permitted sender) smtp.mail=bowenalan03@gmail.com; dkim=pass header.i=bowenalan03@gmail.com Original-Received: from mr.google.com ([10.224.195.201]) by 10.224.195.201 with SMTP id ed9mr769598qab.65.1330623445088 (num_hops = 1); Thu, 01 Mar 2012 09:37:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=3qHx+aHQkcpIg57pTHATeWWbeeLUnc+1OsNd4tZ+glo=; b=WADrszXsIvVM6CBqK1wQ8EId11slHlQrNs+Z6QT/Sk4AwIhtEWN/lv4Mg95nGjPDO7 TgpHlA6QE5Xh6wOKN6CQU8rp1aIkO1G9yrV0JzFHmADSLINQ4j5vv+IJmbvQ9qQluiQe NTXThDcKXS4GreC7vrB0PkHe86d8+/XJtTfEo= Original-Received: by 10.224.195.201 with SMTP id ed9mr671229qab.65.1330623444995; Thu, 01 Mar 2012 09:37:24 -0800 (PST) Original-Received: by 10.229.40.76 with HTTP; Thu, 1 Mar 2012 09:37:24 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.169; 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: 0LGEhBpQW - 8ee91f5bf025 - 20120301 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:74821 Archived-At: --===============0249311479== Content-Type: multipart/alternative; boundary=20cf300fb217c4ccc104ba31e991 --20cf300fb217c4ccc104ba31e991 Content-Type: text/plain; charset=ISO-8859-1 The following code works in MKII; but in MKIV, I get the header text on the page *before* the page with the title. How can I fix this? Alan ___________________________________________ \setupheader[state=high] \setuppagenumbering[alternative=doublesided] \setuppagenumbering[location=,] \setuphead[title][page=yes] \definehead[BookTitle][title] \setupsectionblock[BookTitle][number=no,page=yes] \setuphead[BookTitle][before={\noindent\textrule},style=rm] \setuphead[BookTitle][header=high] \setupheadertexts[text] [\cap{A.\ U.\ Thor}] [\pagenumber] [\pagenumber] [\em{The Journal}] \starttext \dorecurse{6}{\input{knuth}} \page[makeup] \BookTitle{{\em An Indubitably Important Book} by A.\ U.\ Thor} \dorecurse{10}{\input{knuth}} \page[makeup] \stoptext --20cf300fb217c4ccc104ba31e991 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
The following code works in MKII; but in MKIV, I get the header text o= n the page before the page with the title. How can I fix this?=A0

Alan
_____________________________________= ______

\setupheader[state=3Dhigh]

\se= tuppagenumbering[alternative=3Ddoublesided]
\setuppagenumbering[l= ocation=3D,]

\setuphead[title][page=3Dyes]

\definehe= ad[BookTitle][title]
\setupsectionblock[BookTitle][number=3Dno,page=3Dyes]
\setuphead[BookTitle][be= fore=3D{\noindent\textrule},style=3Drm]

\setuphead[BookTitle][header=3Dhigh]
\setupheadertexts[text]<= /div>
[\cap{A.\ U.\ Thor}= ]
[\pagenumber]
= [\pagenumber]
[\em{The Journal}] =A0


\starttext

\dor= ecurse{6}{\input{knuth}}
\page[makeup]

\= BookTitle{{\em An Indubitably Important Book} by A.\ U.\ Thor}

\dorecurse{10}{\input{knuth}}

\page= [makeup]

\stoptext

--20cf300fb217c4ccc104ba31e991-- --===============0249311479== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0249311479==--