From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36833 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: standardmakeup, frontmatter, bodymatter & page numbering Date: Wed, 3 Oct 2007 01:36:54 +0200 Message-ID: <6faad9f00710021636i6898d8a8n47c5a93e55751928@mail.gmail.com> 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: sea.gmane.org 1191368258 31907 80.91.229.12 (2 Oct 2007 23:37:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Oct 2007 23:37:38 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 03 01:37:33 2007 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 1IcrIv-0005FA-2e for gctc-ntg-context-518@m.gmane.org; Wed, 03 Oct 2007 01:37:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8C7221FCE5; Wed, 3 Oct 2007 01:37:23 +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 29895-01-3; Wed, 3 Oct 2007 01:37:12 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 334171FCCE; Wed, 3 Oct 2007 01:37:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1D69A1FCD0 for ; Wed, 3 Oct 2007 01:37:06 +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 29557-09-7 for ; Wed, 3 Oct 2007 01:36:57 +0200 (CEST) Original-Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.233]) by ronja.ntg.nl (Postfix) with ESMTP id BC2021FCAA for ; Wed, 3 Oct 2007 01:36:56 +0200 (CEST) Original-Received: by wr-out-0506.google.com with SMTP id c38so2365150wra for ; Tue, 02 Oct 2007 16:36:55 -0700 (PDT) Original-Received: by 10.142.128.6 with SMTP id a6mr233374wfd.1191368214245; Tue, 02 Oct 2007 16:36:54 -0700 (PDT) Original-Received: by 10.142.87.14 with HTTP; Tue, 2 Oct 2007 16:36:54 -0700 (PDT) Content-Disposition: inline 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:36833 Archived-At: Hello, I have a document consisting of title page, some introduction which should have pages numbered with roman numerals, and finally the real content \setuphead[subject][page=odd,style=\ss\bfb] \setuppagenumbering[location=] \starttext \startstandardmakeup title page \stopstandardmakeup \startfrontmatter \setuppagenumbering[conversion=romannumerals] \setupfootertexts[page \pagenumber{}] \subject{some intro pages} \input tufte \stopfrontmatter \startbodymatter \setupfootertexts[page \pagenumber{} of \totalnumberofpages] \dorecurse{10}{\subject{real content} \dorecurse{\recurselevel}{\input knuth} } \stopbodymatter \stoptext Now the problems: 1.) The second page starts counting at 1, while counting should start at page 3. This can be solved by using another \startstandardmakeup\strut\stopstandardmakeup. 2.) The last page says "page 26 of 27" - the total page number is indeed 27, but counting started on the second page, so it never reaches the last number. 3.) I would like the page number on the first page of bodymatter to be "page 1 of 23" instead of "page 4 of 27", and the last one to ge "page 23 of 23" instead of "page 26 of 27" There is some way=bychapter setting for page numering, but in that case there are no suitable chapters/sections available. Any hints appreciated ... Thanks a lot, Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________