From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40828 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: headers and pagenumbering Date: Wed, 30 Apr 2008 17:28:09 +0200 Message-ID: <329D086A-EAE8-4B6A-960F-68424982EEDB@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: multipart/mixed; boundary="===============1584416331==" X-Trace: ger.gmane.org 1209569355 26281 80.91.229.12 (30 Apr 2008 15:29:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2008 15:29:15 +0000 (UTC) To: ConTeXt ML Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 30 17:29:51 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JrEFZ-0005tE-AY for gctc-ntg-context-518@m.gmane.org; Wed, 30 Apr 2008 17:29:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B34171FCAA; Wed, 30 Apr 2008 17:28:57 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03463-09-5; Wed, 30 Apr 2008 17:28:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AF3021FC71; Wed, 30 Apr 2008 17:28:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 146BB1FC71 for ; Wed, 30 Apr 2008 17:28:43 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03463-09-4 for ; Wed, 30 Apr 2008 17:28:15 +0200 (CEST) Original-Received: from lvps87-230-27-118.dedicated.hosteurope.de (fiee.net [87.230.27.118]) by ronja.ntg.nl (Postfix) with ESMTP id BDC271FC87 for ; Wed, 30 Apr 2008 17:28:15 +0200 (CEST) Original-Received: (qmail 32714 invoked from network); 30 Apr 2008 17:28:15 +0200 Original-Received: from 130-46.62-81.cust.bluewin.ch (HELO ?10.128.9.3?) (81.62.46.130) by fiee.net with (AES128-SHA encrypted) SMTP; 30 Apr 2008 17:28:15 +0200 X-Mailer: Apple Mail (2.753) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40828 Archived-At: --===============1584416331== Content-Type: multipart/alternative; boundary=Apple-Mail-1--666144290 --Apple-Mail-1--666144290 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed 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) --Apple-Mail-1--666144290 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
Hello again,
just=A0trying to understand some remaining = issues with my latest project.

--- startcode = ---
\starttext

% = Setups
\setuppagenumbering[
= alternative=3Ddoublesided,
= location=3D{header,right},
strut=3Dyes, = state=3Dstop]
% chapter = title in the header,
% but not on first page of = chapter
% pagina also in the header, = always
= \setupheader[text][state=3Dstop]
= \setupheadertexts[text][chapter][pagenumber]
= \setuphead[chapter][header=3Dhigh]

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

= \setupheader[text][state=3Dstart]

= \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=3D", but the header on the first page of = a chapter with "header=3Dhigh". Is there any logic behind = that?


Greetlings from Lake = Constance!
Hraban
---
http://www.fiee.net/texnique/
= --Apple-Mail-1--666144290-- --===============1584416331== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1584416331==--