ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Stuart Jansen <sjansen@gurulabs.com>
Subject: setuppagenumbering way=chapter and indexes
Date: Mon, 02 May 2005 16:36:27 -0600	[thread overview]
Message-ID: <1115073387.9082.5.camel@localhost.localdomain> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 636 bytes --]

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?

-- 
Stuart Jansen <sjansen@gurulabs.com>
Guru Labs, L.C.

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

                 reply	other threads:[~2005-05-02 22:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1115073387.9082.5.camel@localhost.localdomain \
    --to=sjansen@gurulabs.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).