ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Numbering chapters from an arbitrary number
@ 2010-11-16 10:14 Procházka Lukáš Ing. - Pontex s. r. o.
  2010-11-16 10:48 ` Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 1 reply; 4+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2010-11-16 10:14 UTC (permalink / raw)
  To: ConTeXt

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:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Numbering chapters from an arbitrary number
  2010-11-16 10:14 Numbering chapters from an arbitrary number Procházka Lukáš Ing. - Pontex s. r. o.
@ 2010-11-16 10:48 ` Procházka Lukáš Ing. - Pontex s. r. o.
  2010-11-16 11:18   ` Herbert Voss
  0 siblings, 1 reply; 4+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2010-11-16 10:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

... 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. <LPr@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Numbering chapters from an arbitrary number
  2010-11-16 10:48 ` Procházka Lukáš Ing. - Pontex s. r. o.
@ 2010-11-16 11:18   ` Herbert Voss
  2010-11-16 11:59     ` Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 1 reply; 4+ messages in thread
From: Herbert Voss @ 2010-11-16 11:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Numbering chapters from an arbitrary number
  2010-11-16 11:18   ` Herbert Voss
@ 2010-11-16 11:59     ` Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 0 replies; 4+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2010-11-16 11:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-16 11:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-16 10:14 Numbering chapters from an arbitrary number Procházka Lukáš Ing. - Pontex s. r. o.
2010-11-16 10:48 ` Procházka Lukáš Ing. - Pontex s. r. o.
2010-11-16 11:18   ` Herbert Voss
2010-11-16 11:59     ` Procházka Lukáš Ing. - Pontex s. r. o.

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