[NTG-context] Continuous Item Numbering throughout an Entire Document

2014-05-08 Thread Dr Malte Stien
Hi all,

I have a rather long document listing a number of items, which I need to be 
numbered continuously throughout the entire document. The following approach 
appears to work well, except that the numbering restarts at the beginning of 
every chapter. Is there a way that can be avoided?

\startitemize[n]
  \item bar
  \item faz
\stopitemize[n]

\startitemize[n, continue]
  \item foo
  \item bla
\stopitemize[n]

Thank you,
Malte.


Dr Malte Stien | Chief Technology Officer | SmartWard Pty Ltd
E: malte.st...@smartward.com.au | W: www.smartward.com.au
P: +61 (0)2 6230 9477 | M: +61 (0)413 928 895
-- Please consider the environment before printing this email --

___
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] Continuous Item Numbering throughout an Entire Document

2014-05-08 Thread Mikael P. Sundqvist
On Thu, May 8, 2014 at 1:11 AM, Dr Malte Stien malte.st...@smartward.com.au
 wrote:

 Hi all,

 I have a rather long document listing a number of items, which I need to
 be numbered continuously throughout the entire document. The following
 approach appears to work well, except that the numbering restarts at the
 beginning of every chapter. Is there a way that can be avoided?

 \startitemize[n]
   \item bar
   \item faz
 \stopitemize[n]

 \startitemize[n, continue]
   \item foo
   \item bla
 \stopitemize[n]

 Thank you,
 Malte.


 Dr Malte Stien | Chief Technology Officer | SmartWard Pty Ltd
 E: malte.st...@smartward.com.au | W: www.smartward.com.au
 P: +61 (0)2 6230 9477 | M: +61 (0)413 928 895
 -- Please consider the environment before printing this email --



 ___
 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

 ___



Hi,

This was already answered earlier today.

http://www.ntg.nl/pipermail/ntg-context/2014/078012.html

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

[NTG-context] Continuous Item Numbering throughout an Entire Document

2014-05-07 Thread Malte Stien
Hi all,

I have a rather long document listing a number of items, which I need to be 
numbered continuously throughout the entire document. The following approach 
appears to work well, except that the numbering restarts at the beginning of 
every chapter. Is there a way that can be avoided?

\startitemize[n]
  \item bar
  \item faz
\stopitemize[n]

\startitemize[n, continue]
  \item foo
  \item bla
\stopitemize[n]

Thank you,
Malte.

--
“The Electric Monk was a labour-saving device, like a dishwasher or a video 
recorder... Electric Monks believed things for you, thus saving you what was 
becoming an increasingly onerous task, that of believing all the things the 
world expected you to believe.”

― Douglas Adams, Dirk Gently's Holistic Detective Agency

___
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] Continuous Item Numbering throughout an Entire Document

2014-05-07 Thread Wolfgang Schuster

Am 08.05.2014 um 01:17 schrieb Malte Stien ma...@stien.de:

 Hi all,
 
 I have a rather long document listing a number of items, which I need to be 
 numbered continuously throughout the entire document. The following approach 
 appears to work well, except that the numbering restarts at the beginning of 
 every chapter. Is there a way that can be avoided?
 
 \startitemize[n]
  \item bar
  \item faz
 \stopitemize[n]
 
 \startitemize[n, continue]
  \item foo
  \item bla
 \stopitemize[n]

1. Show complete examples and not only code snippets.

2. The \stopitemize command has *no* argument.

3. You have to use the \setupcounter command to set a continues numbering.


\setupcounter[itemgroup:itemize][way=bytext]

\setupitemgroup[itemize][each][n,continue]

\starttext

\dorecurse{2}
  {\chapter{First chapter}
   \dorecurse{2}
 {\startitemize
  \dorecurse{3}{\item Item \recurselevel}
  \stopitemize}}

\stoptext


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