From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68037 Path: news.gmane.org!not-for-mail From: Ulrike Fischer Newsgroups: gmane.comp.tex.context Subject: Re: Skipping item numbers in an itemized list? Date: Wed, 27 Apr 2011 16:39:12 +0200 Message-ID: References: Reply-To: news3@nililand.de, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1303915202 20894 80.91.229.12 (27 Apr 2011 14:40:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2011 14:40:02 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 27 16:39:58 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QF5uH-0002Cv-P6 for gctc-ntg-context-518@m.gmane.org; Wed, 27 Apr 2011 16:39:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2786CCAC6D; Wed, 27 Apr 2011 16:39:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CsxZs-3jzx8z; Wed, 27 Apr 2011 16:39:53 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3580DCAC5F; Wed, 27 Apr 2011 16:39:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 84836CAC5F for ; Wed, 27 Apr 2011 16:39:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DchPMhdA5zcw for ; Wed, 27 Apr 2011 16:39:47 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 9B302CAC4B for ; Wed, 27 Apr 2011 16:39:47 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p3REdjvE005469 for ; Wed, 27 Apr 2011 16:39:46 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QF5tt-0001zU-3G for ntg-context@ntg.nl; Wed, 27 Apr 2011 16:39:33 +0200 Original-Received: from p5dd1d586.dip.t-dialin.net ([93.209.213.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2011 16:39:33 +0200 Original-Received: from news3 by p5dd1d586.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2011 16:39:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5dd1d586.dip.t-dialin.net User-Agent: 40tude_Dialog/2.0.15.41de X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; latitude=62.0000; longitude=10.0000; http://maps.google.com/maps?q=62.0000,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08EACDJxS - 4e97e92fad7d - 20110427 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:68037 Archived-At: 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 -- Ulrike Fischer ___________________________________________________________________________________ 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 ___________________________________________________________________________________