From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84921 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: total number of sections Date: Mon, 21 Oct 2013 01:31:04 +0200 Message-ID: <871u3fy0xz.fsf@micropit.couberia.selfip.net> References: <87iowxjmwn.fsf@micropit.couberia.selfip.net> <525F9D17.2050904@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1382311964 12925 80.91.229.3 (20 Oct 2013 23:32:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2013 23:32:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 21 01:32:49 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VY2UI-0000JY-1F for gctc-ntg-context-518@m.gmane.org; Mon, 21 Oct 2013 01:32:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 95993101F3; Mon, 21 Oct 2013 01:29:53 +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 pTlm2yMXyS5V; Mon, 21 Oct 2013 01:29:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AE806101F9; Mon, 21 Oct 2013 01:29:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 74176101F9 for ; Mon, 21 Oct 2013 01:29:48 +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 qbIJhgLpx2FA for ; Mon, 21 Oct 2013 01:29:47 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 96E49101F3 for ; Mon, 21 Oct 2013 01:29:47 +0200 (CEST) Original-Received: from smtp.smtpout.orange.fr (smtp03.smtpout.orange.fr [80.12.242.125]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9KNWcrM030215 for ; Mon, 21 Oct 2013 01:32:38 +0200 Original-Received: from micropit.couberia.selfip.net ([2.12.78.89]) by mwinf5d58 with ME id fbYd1m00T1vcWrm03bYdrx; Mon, 21 Oct 2013 01:32:37 +0200 Original-Received: by micropit.couberia.selfip.net (Postfix, from userid 1000) id 17099A606ED; Mon, 21 Oct 2013 01:31:04 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users User-Agent: Gnus/5.130008 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.125; country=FR; latitude=48.8600; longitude=2.3500; http://maps.google.com/maps?q=48.8600,2.3500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WKDzwCKv - 73dd06addb52 - 20131021 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84921 Archived-At: On Thu, Oct 17 2013, Hans Hagen wrote: > \determinelistcharacteristics[section][criterium=text] > \ifnum\structurelistsize=1 ... \fi Thanks. Now I've found another example on the mailing list: \determinelistcharacteristics[section][criterium=all] number of sections: \utilitylistlength That works too. What is the difference between criterium=all and criterium=text? And what is the difference between \structurelistsize and \utilitylistlength? TIA, -- Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________