ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* headers and pagenumbering
@ 2008-04-30 15:28 Henning Hraban Ramm
  2008-05-03  5:54 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2008-04-30 15:28 UTC (permalink / raw)
  To: ConTeXt ML


[-- Attachment #1.1: Type: text/plain, Size: 1427 bytes --]

Hello again,
just trying to understand some remaining issues with my latest project.

--- startcode ---
\starttext

% Setups
\setuppagenumbering[
	alternative=doublesided,
	location={header,right},
	strut=yes, state=stop]
	
	% chapter title in the header,
	% but not on first page of chapter
	% pagina also in the header, always
	\setupheader[text][state=stop]
	\setupheadertexts[text][chapter][pagenumber]
	\setuphead[chapter][header=high]

% Content
% some firstmatter stuff left out
	\setuppagenumbering[state=start]
	
	% table of contents
	% without header, without pagina
	% but page numbering starts here
	{
		\setuppagenumbering[location=]
		\title{Inhalt}
		\placecontent
		\page
	}
	%\page % too late!

	\setupheader[text][state=start]

	\chapter{10 \times\ Tufte}
	\dorecurse{10}{\input tufte}

\stoptext
--- stopcode ---

(1) % or 0? ;-)
I struggled how to leave out the pagina on the ToC page, no setups  
seemed to work.
I just reckognized that I need the \page inside of the braced area.

(2)
How can I leave out the chapter header on the first page of a  
chapter, but keep the page number? (Probably simple?)

(3)
One can "hide" the page number with "location=", but the header on  
the first page of a chapter with "header=high". Is there any logic  
behind that?


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)


[-- Attachment #1.2: Type: text/html, Size: 5734 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-03 19:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-30 15:28 headers and pagenumbering Henning Hraban Ramm
2008-05-03  5:54 ` Wolfgang Schuster
2008-05-03 19:29   ` Henning Hraban Ramm

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).