Am 27.04.2011 um 16:39 schrieb Ulrike Fischer:

> Am Wed, 27 Apr 2011 16:19:45 +0200 schrieb Wolfgang Schuster:
> 
>> Am 27.04.2011 um 15:53 schrieb Alasdair McAndrew:
>> 
>>> Hello,
>>> 
>>> The effect I want is something like:
>>> 
>>> 1. First item
>>> 2. Second item
>>> 5. Fifth item
>>> 6. Sixth item
>>> 8. Eight item
> 
>>> and so on.  Every now and then I need to skip a number or two. 
>>> In LaTeX I could do this with \addtocounter{enumi}{2} - but how
>>> is this done in ConTeXt?
> 
>> \starttext
>> 
>> \startitemize
>> \sym{1.} First item
>> \sym{2.} Second item
>> \sym{5.} Fifth item
>> \sym{6.} Sixth item
>> \sym{8.} Eight item
>> \stopitemize
>> 
>> \stoptext
> 
> You can't be serious ;-). Do you really think one should enter all
> numbers manually only because someone wants to skip e.g. the number
> "13"? There must be a counter around and a way to advance it. 
> 
> From the code I think this should be used:
> 
> \starttext
> 
> \startitemize[n]
> \item here we list the points,
> \item one after the other.
> \doadvanceitem
> \item blub
> \stopitemize
> \stoptext

What about the following?

\starttext
\startitemize[n]
\item one
\noitem
\item three
\stopitemize
\stoptext

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

Reply via email to