From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13959 Path: main.gmane.org!not-for-mail From: Bernd Militzer Newsgroups: gmane.comp.tex.context Subject: firstpageheader -- lastpagefooter Date: 28 Oct 2003 13:00:04 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <1067342404.1772.2.camel@eagle.militzer.net.local> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1067335774 31885 80.91.224.253 (28 Oct 2003 10:09:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2003 10:09:34 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Oct 28 11:09:32 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEQn6-0006y8-00 for ; Tue, 28 Oct 2003 11:09:32 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 8C9F310AFC; Tue, 28 Oct 2003 11:09:26 +0100 (MET) Original-Received: from ws10-zva.region-aachen.de (ws10-zva.region-aachen.de [212.117.64.203]) by ref.ntg.nl (Postfix) with ESMTP id 76F7B10ADF for ; Tue, 28 Oct 2003 11:02:35 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by ws10-zva.region-aachen.de (Postfix) with ESMTP id D3BF92C01E for ; Tue, 28 Oct 2003 11:12:12 +0100 (CET) Original-Received: by ws10-zva.region-aachen.de (Postfix, from userid 65534) id D06772C006; Tue, 28 Oct 2003 11:12:09 +0100 (CET) Original-Received: from eagle.militzer.net.local (p508558F9.dip.t-dialin.net [80.133.88.249]) by ws10-zva.region-aachen.de (Postfix) with ESMTP id D9A622B9A6 for ; Tue, 28 Oct 2003 11:12:05 +0100 (CET) Original-To: "ntg-context@ntg.nl" X-Mailer: Ximian Evolution 1.2.2 X-Virus-Scanned: by AMaViS snapshot-20020531 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13959 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13959 I need a special headertext for the first page and a special footertext for the last page. With \firstpage and \lastpage I found no solution. How can I manage my problem? thanks Bernd % \def\sj{2003/04} % Schuljahr \def\art{Klassenarbeit} \def\lfd{1} \def\fach{WVK} \def\thema{Verkaufsformen} \def\kla{E23} % Klasse \defineenumeration[question][location=inmargin,text=] \def\my1Header% {\framed[width=\hsize,align=right,frame=off] {\art\ Nr. \lfd\hfill\fach \hfill \sj\inright{\hfill\pagenumber~/~\lastpage~}\\ Klasse: \kla\\ Thema: \thema} } % \def\myHeader% {\framed[width=\hsize,align=right,frame=off] {\kla\ % \art\ % Nr. \lfd % \hfill\fach% \inright{\hfill\pagenumber~/~\lastpage~}% \hairline} } % \setupheadertexts[\if{\firstpage}\my1Header\else\my1Header\fi] % \setupfootertexts[\txx \cap{\jobname} \date]% [\if{\lastpage}Ende \else \dots \fi] \starttext \question \dorecurse{20}{testquestion } \par \question \dorecurse{20}{testquestion } \par \page \question \dorecurse{20}{testquestion } \par \stoptext