ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Joshua Lee <muzili@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: How to reset the chapter number
Date: Mon, 21 Sep 2009 23:40:44 +0800	[thread overview]
Message-ID: <20090921154044.GA18035@josh-dev.alphanetworks.com> (raw)
In-Reply-To: <33c64e670909190432l5cf90687p9266bf1be37062c4@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1570 bytes --]

Hi Derek,
I write a little example, there's still a little issue. The chapter
number start with 1 for part II, how to make it continue from part I.
Thanks.


Best regards,
Joshua

On Sat, 19 Sep 2009, Derek CORDEIRO wrote:

> On Sat, Sep 19, 2009 at 4:13 PM, Joshua Lee <muzili@gmail.com> wrote:
> 
> > Hi Guys,
> > Here's a little example,
> >  \setupcolors[state=start]
> >
> 
> \setuphead[chapter][sectionsegments=2:100]
> 
> 
> >  \starttext
> >
> >  \completecontent
> >  \part{First Part}
> >  \chapter{First Chapter}
> >  \chapter{Second Chapter}
> >  \part{Second Part}
> >  \chapter{Third Chapter}
> >  \chapter{Chapter 4}
> >  \stoptext
> >
> > I would like to show the chapter number 1,2,3,4.. instead of
> > 1.1,1.2,2.1,2.2 .. how to do it?
> >
> >
> 
> Read http://www.opensubscriber.com/message/ntg-context@ntg.nl/12416208.html

> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


-- 
Joshua Lee
Alpha Networks(Chengdu) Co., LTD
Shanghai Branch

TEL: (86-21)61609650 EXT: 8020
FAX: (86-21)61609650 EXT: 8041
ADD: Suite 301, No.10, 198 Lane, Zhangheng Road,
     ZJ Hi-Tech Park, Shanghai, China 201204


[-- Attachment #2: example.pdf --]
[-- Type: application/pdf, Size: 6727 bytes --]

[-- Attachment #3: example.tex --]
[-- Type: text/x-tex, Size: 472 bytes --]

\setuphead[part][resetnumber=no,placehead=yes,conversion=R]
\setuphead[chapter,section,subsection][resetnumber=no,placehead=yes,sectionsegments=2:100]
\starttext
\part{part one}
\chapter{chapter one}
\section{section one}
\section{section two}
\chapter{chapter two}
\section{section one}
\section{section two}
\part{part two}
\chapter{chapter three}
\section{section one}
\section{section two}
\chapter{chapter four}
\section{section one}
\section{section two}
\stoptext


[-- Attachment #4: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2009-09-21 15:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-19 10:43 Joshua Lee
2009-09-19 11:32 ` Derek CORDEIRO
2009-09-21 15:40   ` Joshua Lee [this message]
2009-09-21 15:45     ` Wolfgang Schuster
2009-09-21 16:05       ` Joshua Lee
2009-09-21 17:04       ` Aditya Mahajan

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=20090921154044.GA18035@josh-dev.alphanetworks.com \
    --to=muzili@gmail.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).