[NTG-context] Numbering chapters from an arbitrary number

2010-11-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

I'd need to start numbering chapters from number 3.

(The previous chapters 1 and 2 were prepared otherwise, I'm to continue.)

Is any parameter mentioned on 
http://wiki.contextgarden.net/Reference/en/setuphead supposed for this?

Or how?

Cheers,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

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


Re: [NTG-context] Numbering chapters from an arbitrary number

2010-11-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .

... I encountered partial success:

---
\starttext

  \setuphead[chapter][ownnumber=yes]
  \chapter{3}{AAA} % Gives 3. AAA, that's OK

  \setuphead[chapter][ownnumber=no]
  \chapter{BBB} % Gives 2. BBB - this is unwanted - I'd need to get 3. 
BBB...
\stoptext
---

So it seems I'd need to reset an internal counter... The question remains.

Lukas


On Tue, 16 Nov 2010 11:14:39 +0100, Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz wrote:


Hello,

I'd need to start numbering chapters from number 3.

(The previous chapters 1 and 2 were prepared otherwise, I'm to continue.)

Is any parameter mentioned on 
http://wiki.contextgarden.net/Reference/en/setuphead supposed for this?

Or how?



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


Re: [NTG-context] Numbering chapters from an arbitrary number

2010-11-16 Thread Herbert Voss
Am 16.11.2010 11:48, schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

 \starttext
 
   \setuphead[chapter][ownnumber=yes]
   \chapter{3}{AAA} % Gives 3. AAA, that's OK
 
   \setuphead[chapter][ownnumber=no]
   \chapter{BBB} % Gives 2. BBB - this is unwanted - I'd need to get
 3. BBB...
 \stoptext
 ---
 
 So it seems I'd need to reset an internal counter... The question remains.

\starttext

\setupheadnumber[chapter][2]
\chapter{foo}
bar
\chapter{bar}
baz
\stoptext


Herbert
___
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
___


Re: [NTG-context] Numbering chapters from an arbitrary number

2010-11-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .

... How easy!

Thanks.

Lukas


\setupheadnumber[chapter][2]
\chapter{foo}
bar
\chapter{bar}
baz
\stoptext


Herbert


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