ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
Subject: global layout change from header=none in \setuphead
Date: Tue, 24 Oct 2006 16:47:15 -0400	[thread overview]
Message-ID: <E1GcTB5-0004VB-PI@approximate.corpus.cam.ac.uk> (raw)

Another of those 'not sure if I'm confused' examples:

\setuphead[title][header=none]
\starttext
\title{Hello}
\dorecurse{15}{\input tufte}
\stoptext

With header=empty, it worked as I expected: The first page had no page
number in the header and the other pages had a page number.  Then I
tried the example above, with its header=none, so that the first page
would allocate no space for the header (as well as have no page number).
But then no pages, not only the first, allocated the header space.

Is there a subtle difference between header=none and header=empty making
the first one a global setting but the second one local to the page with
the title (the local behavior is what I had wanted)?

It's probably a related confusion or bug, but an alternative solution
(from <http://www.ntg.nl/pipermail/ntg-context/2005/009180.html>) using
\definelayout[1] also produced a global layout change:

\definelayout[1][height=7in]
\starttext
\title{Hello}
\dorecurse{15}{\input tufte}
\stoptext

This is all with ConTeXt ver: 2006.10.24 13:47 (same results on the live
context).  Any hints appreciated!

-Sanjoy

             reply	other threads:[~2006-10-24 20:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-24 20:47 Sanjoy Mahajan [this message]
2006-10-25  6:43 ` Willi Egger
2006-10-25 13:00   ` Sanjoy Mahajan

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=E1GcTB5-0004VB-PI@approximate.corpus.cam.ac.uk \
    --to=sanjoy@mrao.cam.ac.uk \
    --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).