From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20184 Path: news.gmane.org!not-for-mail From: Stuart Jansen Newsgroups: gmane.comp.tex.context Subject: setuppagenumbering way=chapter and indexes Date: Mon, 02 May 2005 16:36:27 -0600 Organization: Guru Labs, L.C. Message-ID: <1115073387.9082.5.camel@localhost.localdomain> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1759810331==" X-Trace: sea.gmane.org 1115073091 11341 80.91.229.2 (2 May 2005 22:31:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 May 2005 22:31:31 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue May 03 00:31:20 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DSjPe-0005S0-9m for gctc-ntg-context-518@m.gmane.org; Tue, 03 May 2005 00:29:14 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 34F0A127EF; Tue, 3 May 2005 00:35:29 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12782-02; Tue, 3 May 2005 00:35:24 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CF2C71278D; Tue, 3 May 2005 00:35:23 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6B76A1278D for ; Tue, 3 May 2005 00:35:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12823-01 for ; Tue, 3 May 2005 00:35:21 +0200 (CEST) Original-Received: from mail.gurulabs.com (mail.gurulabs.com [67.137.148.7]) by ronja.ntg.nl (Postfix) with ESMTP id 5976B12772 for ; Tue, 3 May 2005 00:35:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by mail.gurulabs.com (Postfix) with ESMTP id 54C9C98445 for ; Mon, 2 May 2005 16:35:20 -0600 (MDT) Original-Received: from mail.gurulabs.com ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 15732-05 for ; Mon, 2 May 2005 16:35:18 -0600 (MDT) Original-Received: from dhcp7.glwlan.gurulabs.com (dhcp7.glwlan.gurulabs.com [10.2.3.7]) by mail.gurulabs.com (Postfix) with ESMTP for ; Mon, 2 May 2005 16:35:18 -0600 (MDT) Original-To: "'ntg-context@ntg.nl'" X-Mailer: Evolution 2.2.1.1 X-Virus-Scanned: by amavisd-new at gurulabs.com X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20184 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20184 --===============1759810331== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-nstsPlBoCmi28j+aL9Ao" --=-nstsPlBoCmi28j+aL9Ao Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I'd like to reset the page number with each chapter and prepend the chapter number to the page number. Something like Chapter One Foo 1-1 Bar 1-2 Chapter Two Baz 2-1 Qux 2-3 Now here's where it gets complicated: I also need to generate an index using this same numbering. Index B Bar 1-2,2-1 Q Qux 1-1,2-3 I've played with many different approaches and can achieve 85% functionality, but generating the index is turning out to be killer. Any suggestions? Better yet, does anyone already have example code doing this? --=20 Stuart Jansen Guru Labs, L.C. --=-nstsPlBoCmi28j+aL9Ao Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBCdqtrwTOJ4P81PNARAlfYAJ9MZLrtWEhdh9b/yReXE56mk7YPhQCfVpaj bZZ8f+p5XRSmI/AdG+33TmE= =vyz+ -----END PGP SIGNATURE----- --=-nstsPlBoCmi28j+aL9Ao-- --===============1759810331== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============1759810331==--