From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73138 Path: news.gmane.org!not-for-mail From: Marco Pessotto Newsgroups: gmane.comp.tex.context Subject: \placelist and \writetolist Date: Tue, 13 Dec 2011 11:41:02 +0100 Message-ID: <87aa6wycsh.fsf@universe.krase.net> 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: dough.gmane.org 1323772901 4598 80.91.229.12 (13 Dec 2011 10:41:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2011 10:41:41 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 13 11:41:34 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 1RaPnh-0005O8-Ld for gctc-ntg-context-518@m.gmane.org; Tue, 13 Dec 2011 11:41:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6AA9FCB172; Tue, 13 Dec 2011 11:41:33 +0100 (CET) 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 Qewv-8W+eb4F; Tue, 13 Dec 2011 11:41:26 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CE181CB162; Tue, 13 Dec 2011 11:41:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2A657CB162 for ; Tue, 13 Dec 2011 11:41:25 +0100 (CET) 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 qC7jjrTVL++j for ; Tue, 13 Dec 2011 11:41:20 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 4429ECB15F for ; Tue, 13 Dec 2011 11:41:20 +0100 (CET) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBDAfIro027377 for ; Tue, 13 Dec 2011 11:41:19 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RaPnR-0005Cz-DJ for ntg-context@ntg.nl; Tue, 13 Dec 2011 11:41:17 +0100 Original-Received: from 93-137-136-38.adsl.net.t-com.hr ([93.137.136.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Dec 2011 11:41:17 +0100 Original-Received: from melmothx by 93-137-136-38.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Dec 2011 11:41:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 74 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 93-137-136-38.adsl.net.t-com.hr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:rFKli7Z2IFCD+oLJmOPS6OOZnkQ= 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: 05G8yFjEl - 59c5bd0df14c - 20111213 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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:73138 Archived-At: Hello! I can't understand what I'm doing wrong here: %%%%% \setuplist[mylist] [alternative=c, width=0mm, style=\tfx, criterium=all] \starttext \placelist[mylist] \page[yes] \input knuth \writetolist[mylist]{}{Item} \stoptext %%%%% The document compiles fine with version 2011.05.18 22:2, but it fails miserably with the latest (2011.11.29 23:11) ! Missing number, treated as zero. system > tex > error on line 11 in file prova.tex: Missing number, treated as zero ... 1 \setuplist[mylist] 2 [alternative=c, 3 width=0mm, 4 style=\tfx, 5 criterium=all] 6 7 8 \starttext 9 10 \placelist[mylist] 11 >> 12 \page[yes] 13 14 \input knuth 15 16 \writetolist[mylist]{}{Item} 17 18 \stoptext , \doplacestructurelist ...um = "#2", number = "#3", extras = "#4", order = "#... \doplacerawlist ...ras }{\listparameter \c!order } \stoplistreferences \endgr... \doplacelist ...ginoflist \doplacerawlist [#1][#2] \doendoflist \dodoubleemptyonespaced #1#2->#1[{#2}][] \par l.11 ? H A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) Thanks in advance. -- Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________