From: Henning Hraban Ramm <hraban@fiee.net>
To: ConTeXt ML <ntg-context@ntg.nl>
Subject: headers and pagenumbering
Date: Wed, 30 Apr 2008 17:28:09 +0200 [thread overview]
Message-ID: <329D086A-EAE8-4B6A-960F-68424982EEDB@fiee.net> (raw)
[-- 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
___________________________________________________________________________________
next reply other threads:[~2008-04-30 15:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-30 15:28 Henning Hraban Ramm [this message]
2008-05-03 5:54 ` Wolfgang Schuster
2008-05-03 19:29 ` Henning Hraban Ramm
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=329D086A-EAE8-4B6A-960F-68424982EEDB@fiee.net \
--to=hraban@fiee.net \
--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).