From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74842 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: \setuphead problem Date: Sat, 3 Mar 2012 08:43:33 -0500 Message-ID: References: <8787B4DC-A154-43FA-81CA-01636FBC5A94@googlemail.com> <19F885BA-0392-4E6C-9CB6-8D0973E16457@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1832601056==" X-Trace: dough.gmane.org 1330782226 10266 80.91.229.3 (3 Mar 2012 13:43:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Mar 2012 13:43:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 03 14:43:43 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 1S3pFP-0005ge-EL for gctc-ntg-context-518@m.gmane.org; Sat, 03 Mar 2012 14:43:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CA438CB287; Sat, 3 Mar 2012 14:43:42 +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 NUaS1Bev1nws; Sat, 3 Mar 2012 14:43:39 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE2D1CB281; Sat, 3 Mar 2012 14:43:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9086CCB281 for ; Sat, 3 Mar 2012 14:43: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 b2wDGdCBc4l1 for ; Sat, 3 Mar 2012 14:43:35 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 6578BCB280 for ; Sat, 3 Mar 2012 14:43:35 +0100 (CET) Original-Received: from mail-qw0-f48.google.com (mail-qw0-f48.google.com [209.85.216.48]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q23DhXnK032037 for ; Sat, 3 Mar 2012 14:43:34 +0100 Original-Received: by qam2 with SMTP id 2so226147qam.14 for ; Sat, 03 Mar 2012 05:43:33 -0800 (PST) Received-SPF: pass (google.com: domain of bowenalan03@gmail.com designates 10.224.72.138 as permitted sender) client-ip=10.224.72.138; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bowenalan03@gmail.com designates 10.224.72.138 as permitted sender) smtp.mail=bowenalan03@gmail.com; dkim=pass header.i=bowenalan03@gmail.com Original-Received: from mr.google.com ([10.224.72.138]) by 10.224.72.138 with SMTP id m10mr7917642qaj.95.1330782213481 (num_hops = 1); Sat, 03 Mar 2012 05:43:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=94Az0QcEZIdJqcVxpGWEOFBiQBxsgeKQ0OkJkcj8HIs=; b=MgIqtK5BvPHlA8bYkjNtltJsz5Ab313cklBYJHcUWpC+t78FDuWHT5dI+ATdq4SUdA h6KcUmHVmXNK5w7lpUo9U/avPfMHpZMlERBYYXxhMEuu56tG3vbWyUhEHtLMChAD+Ntn STLhApwQMFg0CX8JT/JLjR623l7XxMyS+MHz9ZzzT5f9lt756Sg0ZzNllPBD+/3lcINz jpaEK8d7nGDpStm2QszD0TEoOhTXFAqbmlz9n7ZTDbWXhSZ/s4L7DgQra2+JC+j/HYvI yA2l+1tUr4DZI6eauWFw2h0Bd3eY9rM8SUw7WAH7LdnFhlYlfgskIhLI/y8VIxzdVqnf zW2g== Original-Received: by 10.224.72.138 with SMTP id m10mr6682220qaj.95.1330782213412; Sat, 03 Mar 2012 05:43:33 -0800 (PST) Original-Received: by 10.229.40.76 with HTTP; Sat, 3 Mar 2012 05:43:33 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.48; 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: 0HGF1HyBP - e731d309f1ba - 20120303 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:74842 Archived-At: --===============1832601056== Content-Type: multipart/alternative; boundary=20cf3074b6261a984204ba56e1dc --20cf3074b6261a984204ba56e1dc Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Excellent, Wolfgang. You are right. Many thanks. But if I may impose just a little longer on your patience, let me explain my problem further. In my example, that \page[makeup] to be removed stood for a key element in the sequence \page[makeup] \stoptext \stopcomponent that typically closes a component in the prd file that I use to produce volumes of a journal. Without \page[makeup], when I run my prd file, the page number of a component is appears on the last page of the preceding component. If I keep the \page[makeup], each component is followed by a blank page (with header) that precedes the title page of the new component. In short my example replicated what I was seeing but fixing the example does not fix the original problem. Is there a canonical way to close components in MKIV that I have missed? (This env/prd setup *does* work in MKII=97I have 8 volumes to show for it.) All best, Alan On Sat, Mar 3, 2012 at 3:37 AM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > > Am 02.03.2012 um 17:35 schrieb Alan Bowen: > > Wolfgang=97 > > In both MKII and MKIV (using the latest standalone which I installed this > morning), with > > > \setupheader[state=3Dhigh] > \setuppagenumbering[alternative=3Ddoublesided] > \setuppagenumbering[location=3D,] > \setuphead[title][page=3D{header,yes}] > \definehead[BookTitle][title] > \setuphead[BookTitle][before=3D{\noindent\textrule},style=3Drm] > \setuphead[BookTitle][header=3Dhigh] > \setupheadertexts[text] > [\cap{A.\ U.\ Thor}] > [\pagenumber] > [\pagenumber] > [\it{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 > > the problem remains, that is, the header on the page preceding the page > with the title is not suppressed. The same is true when I have \setuphead= [title][page=3D{blank,yes}], > except then there are no headers at all after the page with the title on > it. Does it work for you? > > > Remove \page[makeup] before \BookTitle and the header disappears. > > Wolfgang > > > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --20cf3074b6261a984204ba56e1dc Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Excellent, Wolfgang. You are right. Many thanks. But if I may impose just a= little longer on your patience, let me explain my problem further.
In my example, that \page[makeup] to be removed stood for a key= element in the sequence
\page[makeup]
\stoptext
\stopcomponent
t= hat typically closes a component in the prd file that I use to produce volu= mes of a journal.

Without=A0\page[makeup], when I ru= n my prd file, the page number of a component is appears on the last page o= f the preceding component. If I keep the \page[makeup], each component is f= ollowed by a blank page (with header) that precedes the title page of the n= ew component.

In short my example replicated what I was seeing but fi= xing the example does not fix the original problem. Is there a canonical wa= y to close components in MKIV that I have missed? (This env/prd setup=A0= does=A0work in MKII=97I have 8 volumes to show for it.)

All best, Alan

On Sat, Mar 3, 2012 at 3:37 AM, Wolfgang Schuster <schuster.wolfgang@googlem= ail.com> wrote:

Am 02.03.2012 um 17:35 schrieb Alan Bowen:
Wolfgang=97

In both MKII and MKIV (using the latest stan= dalone which I installed this morning), with


\setupheader[state=3Dhigh]
\setuppagenumbering[alternative=3Ddoublesided]
\setuppagenumbering[location=3D,]
\setuphead[title][page=3D{header,yes}]
\definehead[BookTitle][title]=
\setuphead[BookTitle][before= =3D{\noindent\textrule},style=3Drm]
\setuphead[BookTitle][header= =3Dhigh]
\setupheadertexts[text]
=
[\cap{A.\ U.\ Thor}]
[\pagenumber]
[\pagenumber]
[\it{The Journal}] =A0

<= /div>
\starttext
\dorecurse{6}{\input knuth}
\page[makeup]
\BookTitle{{\em An Indubitably Important Book} by A.\ U.\ Thor}
\dorecurse{= 10}{\input knuth}
\page= [makeup]
\stoptext

the problem remains, that is, the header on the page preceding the page wit= h the title is not suppressed. The same is true when I have=A0\setuphead[title][page=3D{blank,yes}= ], except then there are no headers at all after the page with the title on= it. Does it work for you?

Remove \page[makeup] before \BookTi= tle and the header disappears.

Wolfgang


_____= ___________________________________________________________________________= ___
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--20cf3074b6261a984204ba56e1dc-- --===============1832601056== 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 ___________________________________________________________________________________ --===============1832601056==--