From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81929 Path: news.gmane.org!not-for-mail From: Lars Huttar Newsgroups: gmane.comp.tex.context Subject: Missing number error, related to setupcolumnsetlines Date: Thu, 18 Apr 2013 17:13:07 -0400 Message-ID: <517061E3.9010904@sil.org> 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 1366319601 9960 80.91.229.3 (18 Apr 2013 21:13:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Apr 2013 21:13:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 18 23:13:25 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1USw8x-0000ME-Tm for gctc-ntg-context-518@m.gmane.org; Thu, 18 Apr 2013 23:13:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3459E101EA; Thu, 18 Apr 2013 23:13:23 +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 2YEdqZPXpPci; Thu, 18 Apr 2013 23:13:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C856E101E6; Thu, 18 Apr 2013 23:13:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 202F2101E6 for ; Thu, 18 Apr 2013 23:13:18 +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 2t2kaidGJF7p for ; Thu, 18 Apr 2013 23:13:14 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 0108C101E4 for ; Thu, 18 Apr 2013 23:13:13 +0200 (CEST) Original-Received: from smtp2.wsfo.org (smtp2.wsfo.org [162.40.29.52]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3ILD90b024878 for ; Thu, 18 Apr 2013 23:13:11 +0200 Original-Received: from mail.link77.net (cgp1.mail.link77.net [172.22.65.13]) by smtp2.wsfo.org (8.14.4/8.14.4) with ESMTP id r3ILD8QD011133 for ; Thu, 18 Apr 2013 17:13:08 -0400 X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.15 (ClamAV engine v0.96.5) X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.15 (ClamAV engine v0.96.5) X-ExtScanner: Niversoft's Find_Attachments Original-Received: from [172.22.10.239] (account lars_huttar@sil.org [172.22.10.239] verified) by cgp1.mail.link77.net (CommuniGate Pro SMTP 5.4.4) with ESMTPSA id 333669091; Thu, 18 Apr 2013 17:13:08 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 X-Enigmail-Version: 1.5.1 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Scanned-By: MIMEDefang 2.73 on 172.22.65.24 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=162.40.29.52; country=US; region=NY; city=Ashville; postalcode=14710; latitude=42.0857; longitude=-79.4356; metrocode=514; areacode=716; http://maps.google.com/maps?q=42.0857,-79.4356&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Jpxd9nf - f1ec5d3beab1 - 20130418 (trained as not-spam) 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:81929 Archived-At: Hello, I've got a "Missing number error, treated as zero". I've whittled the problem code down to this minimal example: \definecolumnset [abbcolumn] [n=2,distance=5mm,balancing=yes] \setupcolumnsetlines[abbcolumn][1][1][60] \setupcolumnsetlines[abbcolumn][1][2][60] \starttext \startcolumnset[abbcolumn] foo \stopcolumnset \stoptext By contrast, if I remove the \setupcolumnsetlines commands, the error goes away. (But I think I need those commands, in case the text has more than 60 lines.) Also, if I run the example shown on this page http://wiki.contextgarden.net/Command/setupcolumnsetlines which seems very similar to mine, it works fine; no errors. Based on the latter working example, I tried adding the following to my minimal example that fails: \switchtobodyfont[small] or \setupcolumnsetstart[abbcolumn][1][1][1] \setupcolumnsetstart[abbcolumn][1][2][1] but neither one solved the problem. Here is more of the error output I received when running TeX on the minimal example shown at the start of this email: ! Missing number, treated as zero. system > tex > error on line 8 in file minimalex-133.tex: Missing number, treated as zero ... 1 \definecolumnset [abbcolumn] [n=2,distance=5mm,balancing=yes] 2 3 \setupcolumnsetlines[abbcolumn][1][1][60] 4 \setupcolumnsetlines[abbcolumn][1][2][60] 5 6 \starttext 7 \startcolumnset[abbcolumn] 8 >> foo 9 \stopcolumnset 10 \stoptext 11 \otr:1:43 \OTRSETdoifcellelse ...er #1:\number #2\endcsname \@EA \secondoftwoarguments... \@@ar@@1 ...ellelse {\mofcolumns }\columnlastcell {\global \advance \columnl... \redoloop ->\expandrecursecontent \endofloop { 44 ... l.8 f oo ? Here is some of the earlier output, include the version info: > context --mode=windows,report,border --nomapfiles --verbose minimalex-133.tex resolvers | resolving | creating instance resolvers | resolving | variable 'SELFAUTOLOC' set to 'c:/texlive/2012/bin/win32' ... resolvers | resolving | resolvers | resolving | unknown configuration file 'C:/Users/huttarl/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file 'c:/texlive/2012/bin/win32/texmfcnf.lua' ... This is LuaTeX, Version beta-0.70.2-2012080612 (TeX Live 2012/W32TeX) \write18 enabled. (minimalex-133.tex ConTeXt ver: 2012.05.30 11:26 MKIV fmt: 2013.3.11 int: english/english Thanks for any help! Lars ___________________________________________________________________________________ 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 ___________________________________________________________________________________