* global layout change from header=none in \setuphead
@ 2006-10-24 20:47 Sanjoy Mahajan
2006-10-25 6:43 ` Willi Egger
0 siblings, 1 reply; 3+ messages in thread
From: Sanjoy Mahajan @ 2006-10-24 20:47 UTC (permalink / 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: global layout change from header=none in \setuphead
2006-10-24 20:47 global layout change from header=none in \setuphead Sanjoy Mahajan
@ 2006-10-25 6:43 ` Willi Egger
2006-10-25 13:00 ` Sanjoy Mahajan
0 siblings, 1 reply; 3+ messages in thread
From: Willi Egger @ 2006-10-25 6:43 UTC (permalink / raw)
Did you try [header=high]?
\setuphead[title][header=high]
As far as I can see this is the option which does what you want.
Willi
Sanjoy Mahajan wrote:
> 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
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: global layout change from header=none in \setuphead
2006-10-25 6:43 ` Willi Egger
@ 2006-10-25 13:00 ` Sanjoy Mahajan
0 siblings, 0 replies; 3+ messages in thread
From: Sanjoy Mahajan @ 2006-10-25 13:00 UTC (permalink / raw)
> \setuphead[title][header=high]
Magic! Thanks a lot.
-Sanjoy
`Never underestimate the evil of which men of power are capable.'
--Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-25 13:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-24 20:47 global layout change from header=none in \setuphead Sanjoy Mahajan
2006-10-25 6:43 ` Willi Egger
2006-10-25 13:00 ` Sanjoy Mahajan
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).