ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* pagenumbering and part options
@ 2011-11-21 21:31 Idris Samawi Hamid ادريس   سماوي حامد
  0 siblings, 0 replies; only message in thread
From: Idris Samawi Hamid ادريس   سماوي حامد @ 2011-11-21 21:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear gang,

Ok this is embarrassing, but I can't seen to figure this one out. To solve
the current issue I need either

1. a \part, let's define it as \partsuper, that does one thing and ONLY
one thing:

\starttext

\partsuper{Super Part 1}

text <page numbers 1, 2, 3, ...., n>

\partsuper{Super Part 2}

text <page numbers 1, 2, 3, ...., n>

\stoptext

So after each partsuper, the pagenumber is reset to one. But the partsuper
is not typeset, does not generate anything in the listings, toc, etc etc.
In other words, it's completely invisible in the output, except that the
pagenumbering in reset.

One possibility: In addition to resetting the page no, \partsuper may
create document numbers of the form

\starttext

\partsuper{Super Part 1}

text <page <my-prefix>-1, <my-prefix>-2, <my-prefix>-3, ....,
<my-prefix>-n>

\partsuper{Super Part 2}

text <page numbers <my-other-prefix>-1, <my-other-prefix>-2,
<my-other-prefix>-3, ...., <my-other-prefix>-n>

\stoptext



2. The other, less sophisticated option: How do I get \setuppagenumbering
to simply just reset the current pagenumber to "1" and start from "1"
again?

Again I can do <my-prefix> for the first range of pagenumbers and
<my-other-prefix> for the second.

===================

Let me explain the big picture. I have two (rather large) structured
documents. I need to

a) compile both at the same time to manage cross-references between each;

b) have each start at page 1. \setuppagenumbering[number=1] does not seem  
to work:

===========

===========

For cross references I have defined a mirror for each document structure
element. For \chapter in Book One we use \chaptertwo in Book Two etc., so
each book has its own TOC that does not interfere with the other etc.

===================

With this in mind, I need your help, gang!

Best wishes
Idris




-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-21 21:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-21 21:31 pagenumbering and part options Idris Samawi Hamid ادريس   سماوي حامد

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).