From: Alan Bowen <bowenalan03@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \setuphead problem
Date: Sat, 3 Mar 2012 08:43:33 -0500 [thread overview]
Message-ID: <CAFMOkGWxgsJ7SvHv+vZg+Dbn7Xbve9aotDG0UvyAdNwxaKicfw@mail.gmail.com> (raw)
In-Reply-To: <DDD3D8A3-76C7-4BD8-903C-323E8008ECFF@googlemail.com>
[-- Attachment #1.1: Type: text/plain, Size: 2693 bytes --]
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—I 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—
>
> In both MKII and MKIV (using the latest standalone which I installed this
> morning), with
>
>
> \setupheader[state=high]
> \setuppagenumbering[alternative=doublesided]
> \setuppagenumbering[location=,]
> \setuphead[title][page={header,yes}]
> \definehead[BookTitle][title]
> \setuphead[BookTitle][before={\noindent\textrule},style=rm]
> \setuphead[BookTitle][header=high]
> \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={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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 7592 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-03-03 13:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-01 17:37 Alan Bowen
2012-03-01 23:24 ` Wolfgang Schuster
2012-03-02 13:11 ` Alan Bowen
2012-03-02 15:30 ` Wolfgang Schuster
2012-03-02 16:35 ` Alan Bowen
2012-03-03 8:37 ` Wolfgang Schuster
2012-03-03 13:43 ` Alan Bowen [this message]
2012-03-03 14:58 ` Wolfgang Schuster
2012-03-03 17:53 ` Alan Bowen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFMOkGWxgsJ7SvHv+vZg+Dbn7Xbve9aotDG0UvyAdNwxaKicfw@mail.gmail.com \
--to=bowenalan03@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).