From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74831 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: \setuphead problem Date: Fri, 2 Mar 2012 11:35:04 -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="===============0547895284==" X-Trace: dough.gmane.org 1330706126 8152 80.91.229.3 (2 Mar 2012 16:35:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Mar 2012 16:35:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 02 17:35:25 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 1S3VS1-0000kc-Fk for gctc-ntg-context-518@m.gmane.org; Fri, 02 Mar 2012 17:35:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59293CB27F; Fri, 2 Mar 2012 17:35:18 +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 aihm3AB0ltBb; Fri, 2 Mar 2012 17:35:18 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 02B84CB275; Fri, 2 Mar 2012 17:35:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0A0A4CB275 for ; Fri, 2 Mar 2012 17:35:13 +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 zongkSjwJcQM for ; Fri, 2 Mar 2012 17:35:09 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id E01ADCB273 for ; Fri, 2 Mar 2012 17:35:09 +0100 (CET) Original-Received: from mail-qy0-f170.google.com (mail-qy0-f170.google.com [209.85.216.170]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q22GZ5lp019561 for ; Fri, 2 Mar 2012 17:35:05 +0100 Original-Received: by qcmt36 with SMTP id t36so797714qcm.15 for ; Fri, 02 Mar 2012 08:35:04 -0800 (PST) Received-SPF: pass (google.com: domain of bowenalan03@gmail.com designates 10.224.116.6 as permitted sender) client-ip=10.224.116.6; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bowenalan03@gmail.com designates 10.224.116.6 as permitted sender) smtp.mail=bowenalan03@gmail.com; dkim=pass header.i=bowenalan03@gmail.com Original-Received: from mr.google.com ([10.224.116.6]) by 10.224.116.6 with SMTP id k6mr7485711qaq.91.1330706104810 (num_hops = 1); Fri, 02 Mar 2012 08:35:04 -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=DIiSpr5N1vuqHWtpy+OprAUnjWWGYc2Cqf2IdAON0/o=; b=K+Qc11HaNpYz0iVEniMW23JaYxWg6c2zhCOi1fgDbwTIANMEPIUI6Jj55yZLSQdtYB wz3AeXB9RFXbGf4+yLnw7aMDEpOyBmhqL9ob+q82CZzSIwWrqFIdh+0cnymR3qE5DB0g niwQUjGB9aDZ1Nl8NU0d90IiYDw1vhNRdU/QuF0Du9ZsRMHObbIoCTbBoA8mihoENU56 xEfKkPZLaz0h7nUSEBOTT+Wq4eI6Lun06FVACCqAzB7p9YRcSx01psWkSUAMXJTy+Ohz gidILPDx+vMM1JSTpxn/3V4W/OSMWXp0OdaaF2jrWcQ2dnKXzwKzbWKu9DbunE2mbKfc FwfA== Original-Received: by 10.224.116.6 with SMTP id k6mr6277501qaq.91.1330706104677; Fri, 02 Mar 2012 08:35:04 -0800 (PST) Original-Received: by 10.229.40.76 with HTTP; Fri, 2 Mar 2012 08:35:04 -0800 (PST) In-Reply-To: <19F885BA-0392-4E6C-9CB6-8D0973E16457@googlemail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.170; 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: 0NGEEz5UO - a5b415c46f95 - 20120302 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:74831 Archived-At: --===============0547895284== Content-Type: multipart/alternative; boundary=20cf3074b0b2ab751904ba452874 --20cf3074b0b2ab751904ba452874 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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? Alan On Fri, Mar 2, 2012 at 10:30 AM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > > Am 02.03.2012 um 14:11 schrieb Alan Bowen: > > Wolfgang=97 > > I checked and the example fails in both MKII andf MKIV. My apologies for > carelessness. The problem arose originally in the pagination/headers for > components in a component/product structure that I am tying to set using > MKIV. In trying to devise a simple example by adapting the code in my MKI= I > environment file (which runs without any problems), I was so focused on > getting the code to run in MKIV that I neglected to run that code *by > itself* through MKII. > > So, the question remains: What should I include or change in this example > to keep the header associated with a given title off the preceding page i= n > MKIV? Or is this expected behavior and my example, then, a poor one for m= y > purposes? > > > \setuphead[title][page=3D{header,yes}] > > > or > > \setuphead[title][page=3D{blank,yes}] > > surpress the header on the proceeding page. > > BTW: \setupsectionblock[BookTitle][number=3Dno,page=3Dyes] is nonsense be= cause > =93BookTitle=94 is not a sectionblock. > > 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 > > _________________________________________________________________________= __________ > --20cf3074b0b2ab751904ba452874 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Wolfgang=97

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

=

\setupheader[state=3Dhigh]

\setuppagenumbering[alternative=3Ddoubleside= d]

\setuppagenumbering[location=3D,]

\setuphead[title][page=3D{header,yes}= ]

\definehe= ad[BookTitle][title]

\setuphead[BookTitle][before=3D{\noindent\textrule},style= =3Drm]

\setuphe= ad[BookTitle][header=3Dhigh]

\setuphea= dertexts[text]

[\cap{A.\ U.\ Thor}]

[\pagenu= mber]

[\pagenum= ber]

= [\it{The Journal}]= =A0


\starttext

\dorecurse{6}{\input knuth}

\page[makeup]

\BookTitle{{\em An Indubi= tably 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=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?<= /span>


Alan


On Fri, Mar 2, 2012 at 10:30 AM, Wolfgang= Schuster <schuster.wolfgang@googlemail.com> wrote:

Am 02.03.2012 um 14:11 sc= hrieb Alan Bowen:

Wolf= gang=97

I checked and the example fails in both MKII and= f MKIV. My apologies for carelessness. The problem arose originally in the = pagination/headers for components in a component/product structure that I a= m tying to set using MKIV. In trying to devise a simple example by adapting= the code in my MKII environment file (which runs without any problems), I = was so focused on getting the code to run in MKIV that I neglected to run t= hat code by itself through MKII.

So, the question remains: What should I include or chan= ge in this example to keep the header associated with a given title off the= preceding page in MKIV? Or is this expected behavior and my example, then,= a poor one for my purposes?

\setuphead[title][page=3D{header,yes}]


or

\setuphead[title= ][page=3D{blank,yes}]

surpress the header on the p= roceeding page.

BTW:=A0\setupsectionblock[BookTitl= e][number=3Dno,page=3Dyes] is nonsense because =93BookTitle=94 is not a sec= tionblock.

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
___________________________________________________________________________= ________

--20cf3074b0b2ab751904ba452874-- --===============0547895284== 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 ___________________________________________________________________________________ --===============0547895284==--