ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Matt Gushee <mgushee@havenrock.com>
Subject: Disappearing headers
Date: Fri, 23 Jul 2004 16:55:11 -0600	[thread overview]
Message-ID: <20040723225511.GD11496@swordfish> (raw)

Hello, all--

I am trying to format a book such that the book title appears in the
header of each left-hand page, and the chapter title appears in the
header of each right-hand page. I think (though I haven't decided for
sure) that I want each chapter to start on a right-hand page. It seems
that, when chapters are forced to begin on right-hand pages, the book
title fails to appear on the first blank page inserted to move the
chapter start, and on all subsequent pages.

Here are the commands I am using related to headers:

    \setuphead [title] 
        [align=left,textstyle={\switchtobodyfont[BernhardModern]\bf}]
    \setuphead [chapter] 
        [page=right,head=nomarking,after=\blank]
    \setuppagenumbering [alternative=doublesided,location=margin]
    \setupheader [style=\it]
    \setupheadertexts [] [chapter] [title] [] 
        % reverse order, as mentioned in my earlier post

With all these commands enabled, I get the effect I want: chapters begin
on righthand pages, the title and chapter title appear, respectively, in
the left and right page headers (adjacent to the page numbers, with the
page numbers toward the outside edge of the page). But, as I said, the
book title stops appearing as soon as a blank page is inserted to move
the chapter start to the right.

If I comment out *both* the \setuphead [chapter] command and the
\setuppagenumbering command, the title continues to be displayed
throughout the text. If I enable either of the two, the title disappears
again. By the way, it appears that this \setuppagenumbering command has
a side-effect of forcing chapters to begin on the right. Is that really
a good idea? It's certainly surprising to me.

So, am I doing something wrong, or is this a bug?

-- 
Matt Gushee                 When a nation follows the Way,
Englewood, Colorado, USA    Horses bear manure through
mgushee@havenrock.com           its fields;
http://www.havenrock.com/   When a nation ignores the Way,
                            Horses bear soldiers through
                                its streets.
                                
                            --Lao Tzu (Peter Merel, trans.)

             reply	other threads:[~2004-07-23 22:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-23 22:55 Matt Gushee [this message]
2004-07-28  8:54 ` Hans Hagen
2004-08-10  5:23   ` Disappearing headers -- belated followup Matt Gushee
2004-08-10 19:03     ` Hans Hagen
2004-08-10 21:06       ` Matt Gushee
2004-08-11  7:13         ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2003-02-05  2:39 disappearing headers Idris S Hamid
2003-02-08 16:57 ` Hans Hagen
2003-02-09 22:28   ` Idris S Hamid
2003-02-13 23:24     ` Idris S Hamid

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=20040723225511.GD11496@swordfish \
    --to=mgushee@havenrock.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).