From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41971 Path: news.gmane.org!not-for-mail From: Oleg Kolosov Newsgroups: gmane.comp.tex.context Subject: Total number of figures/tables, etc. Date: Sun, 29 Jun 2008 13:36:16 +0400 Message-ID: <48675790.5060608@mail.ru> Reply-To: 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: ger.gmane.org 1214732333 19088 80.91.229.12 (29 Jun 2008 09:38:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Jun 2008 09:38:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 29 11:39:38 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KCtNe-0003CB-La for gctc-ntg-context-518@m.gmane.org; Sun, 29 Jun 2008 11:39:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7E21C1FD8A; Sun, 29 Jun 2008 11:38:35 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19319-01-8; Sun, 29 Jun 2008 11:37:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 380781FC7C; Sun, 29 Jun 2008 11:37:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 156701FC7C for ; Sun, 29 Jun 2008 11:37:40 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19319-01-7 for ; Sun, 29 Jun 2008 11:37:06 +0200 (CEST) Original-Received: from mx38.mail.ru (mx38.mail.ru [194.67.23.16]) by ronja.ntg.nl (Postfix) with ESMTP id 7EDF81FC51 for ; Sun, 29 Jun 2008 11:37:06 +0200 (CEST) Original-Received: from [87.117.41.245] (port=14097 helo=[172.16.6.138]) by mx38.mail.ru with asmtp id 1KCtLE-0004X5-00 for ntg-context@ntg.nl; Sun, 29 Jun 2008 13:37:05 +0400 User-Agent: Thunderbird 2.0.0.14 (X11/20080621) X-Spam: Not detected X-Mras: OK X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:41971 Archived-At: Hi! Is there are an easy way to get total number of pages/tables/figures etc.? \getnumber[table] of \getnumber[figure] returns 0, \getnumber[page] gives some irrelevant number. I've found command \totalnumberofpages, is there are something similar for others? It would be great to also automatically change the following word as in: 1 figure, but 2 figures Is there support for that in ConTeXt? -- Best Regards, Oleg Kolosov ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________