ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid" <ishamid@colostate.edu>
Subject: Pagenumbers and labels
Date: Fri, 13 Jan 2006 14:58:48 -0700	[thread overview]
Message-ID: <op.s3b7catdnx1yh1@walayah1.wildblue.com> (raw)

Dear syndicate,

Three questions (test file attached):

1. A pagenumbering problem: I have

\setuppagenumbering[way=bytext]

Good: The page numbers are continuous and do not restart with each new  
part;

Bad:  The page numbers are still prefaced by the part number, e.g.

1-24, 1-25, 2-26, 2-27 etc.

I want, rather, just 24, 25, 26, 27 etc....


2. I want the chapter numerals to ignore the part, so I get

Part 2, Chapter 3, Chapter 4.


3. I would to keep "Part 1" "Part 2" in the TOC, but no numeral at all in  
the main text. I got rid of the "Part" label in the main text, but not the  
numeral.

incrementnumber=no

works but then the TOC loses the "Part"s altogether.

Thnx in advance

Best
Idris

====================================================
% output=pdf interface=en

\setuphead[part][number=yes,
                  bodypartlabel={},
                  page=right,
                  continue=yes,
                  ownnumber=no,
                  incrementnumber=yes,
                  placehead=yes]

\setuppagenumbering[way=bytext]

\definecombinedlist[summary][part,chapter][textstyle=\tf]

\starttext

\placesummary

\part{Test}

\chapter{Knuth}

\dorecurse{7}{\input knuth\par }

\chapter{More Knuth}

\dorecurse{7}{\input knuth\par }

\part{Test}

\chapter{Knuth}

\dorecurse{7}{\input knuth\par }

\chapter{More Knuth}

\dorecurse{7}{\input knuth\par }

\stoptext

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

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

             reply	other threads:[~2006-01-13 21:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-13 21:58 Idris Samawi Hamid [this message]
2006-01-16 17:19 ` Fwd: " Idris Samawi Hamid
2006-01-16 18:14   ` Taco Hoekwater
2006-01-16 23:53     ` Idris Samawi Hamid
2006-01-17  8:01       ` Taco Hoekwater
2006-01-16 21:44   ` Hans Hagen
2006-01-16 23:47     ` Idris Samawi Hamid

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=op.s3b7catdnx1yh1@walayah1.wildblue.com \
    --to=ishamid@colostate.edu \
    --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).