From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40862 Path: news.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: \front/backmatter etc. and page number Date: Fri, 02 May 2008 14:15:04 +0200 Message-ID: <481B05C8.3080502@net-b.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209730612 4973 80.91.229.12 (2 May 2008 12:16:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 May 2008 12:16:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 02 14:17:26 2008 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 1JruCN-0005Nm-8j for gctc-ntg-context-518@m.gmane.org; Fri, 02 May 2008 14:17:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F311B1FBB5; Fri, 2 May 2008 14:16:27 +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 20353-01-6; Fri, 2 May 2008 14:15:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 337431FBAA; Fri, 2 May 2008 14:15:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 033BF1FB7F for ; Fri, 2 May 2008 14:15:46 +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 19317-02-8 for ; Fri, 2 May 2008 14:15:10 +0200 (CEST) Original-Received: from mail1.physik.fu-berlin.de (mail1.physik.fu-berlin.de [160.45.35.12]) by ronja.ntg.nl (Postfix) with ESMTP id B3B941FBAA for ; Fri, 2 May 2008 14:15:10 +0200 (CEST) Original-Received: from ith.physik.fu-berlin.de ([160.45.32.115] helo=[127.0.0.1]) by mail1.physik.fu-berlin.de with esmtp (Exim 4.63) (envelope-from ) id 1JruAK-0005TE-Sp; Fri, 02 May 2008 14:15:09 +0200 User-Agent: Thunderbird 2.0.0.12 (X11/20071114) X-ZEDV-Virus-Scanned: No viruses found. [ClamAV 0.92/7010/Fri May 2 02:09:47 2008] X-ZEDV-Spam-Level: -- X-ZEDV-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on zs01.physik.fu-berlin.de X-ZEDV-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.3 X-ZEDV-Spam-Report: * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Scan-Signature: 681b212cabe9af74254fa0f9a67cf9b4 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:40862 Archived-At: Hello, I use frontmatter with roman and bodymatter with arabic numerals. The problem is that the last (nonempty verso) page of the frontmatter already gets the header and the page number of the bodymatter. Any idea? Tobias \setuppagenumbering[alternative=doublesided, location={footer,right}] \setupsectionblock[frontpart][page=] \setupsectionblock[bodypart][page=] \setupsectionblock[backpart][page=] \setupsectionblock[appendixpart][page=] \startfrontmatter \setuppagenumbering[conversion=romannumerals] \setuppagenumber[number=1,state=start] \chapter{something} ... % <--- Last page gets already page number "1" and the headings ("Chapter:") of the bodymatter. \stopfrontmatter \startbodymatter \setupheadertexts [][{\start\setupselector[header][n=1]\getmarking[sectionnumber]~\getmarking[section]\stop}] [{\start\setupselector[header][n=1]Chapter \getmarking[chapternumber]: \getmarking[chapter]\stop}][] \setuppagenumbering[conversion=numbers] \setuppagenumber[number=1,state=start] % Bad workaround: number=0 \setuphead[chapter][number=yes] \chapter{something else} ___________________________________________________________________________________ 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 ___________________________________________________________________________________