From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64950 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Lua error Date: Thu, 6 Jan 2011 08:57:21 +0100 Message-ID: References: <20110106065215.GA16051@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1294301236 18930 80.91.229.12 (6 Jan 2011 08:07:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Jan 2011 08:07:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 06 09:07:12 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 1PaksJ-0003Dj-SC for gctc-ntg-context-518@m.gmane.org; Thu, 06 Jan 2011 09:07:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8E67DCA9EC; Thu, 6 Jan 2011 09:07:10 +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 n80meLAvQQTw; Thu, 6 Jan 2011 09:07:07 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4680CA9D9; Thu, 6 Jan 2011 09:07:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5FF3DCA9D9 for ; Thu, 6 Jan 2011 09:07:05 +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 YytKGxeQl8lx for ; Thu, 6 Jan 2011 09:06:54 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 48CC2CA9D0 for ; Thu, 6 Jan 2011 09:06:54 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0686rnF007812 for ; Thu, 6 Jan 2011 09:06:53 +0100 Original-Received: by bwz16 with SMTP id 16so17175921bwz.14 for ; Thu, 06 Jan 2011 00:06:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=G3nM1sL80IMoOmg1vX9HJ9+z17xGacUjyB+wDQzwsIM=; b=j6FOQ2Zl4OvaKPWEmnnEEfhwqlF+VFs9Q4uARwtmkPTeO5qrXZonV5MXfKU7z867ec jm6HZ6ZDG0c8lTJlqsKrZZhwQlg8pmf0MwKJF9sdEtd6dgm2YbZ5IS65OKACvmwL+M4d 2DU3B9/dv4KMyMjgi2/JxvYuDzSlHlj5ssLb8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=ny/2UTJ9Sp8KQyA8HqOjYYb7dBkIj+f2qS3Cit7fJkgMCL82srcZNBbdMr+uZSy3j8 bVPsxNcq82giYdOhCzlP5nEA99J7ESPlf3Jz+H2Pe2kxgIZ4AfYlSsfH3bM/z276nIWu lrJJyIQ9cRFv8Gk2J7CTtsvN/30T/3Zq/uVdU= Original-Received: by 10.204.140.208 with SMTP id j16mr16386bku.151.1294301213443; Thu, 06 Jan 2011 00:06:53 -0800 (PST) Original-Received: from [192.168.2.23] (p5B294871.dip.t-dialin.net [91.41.72.113]) by mx.google.com with ESMTPS id d27sm13388711bkw.14.2011.01.06.00.06.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 06 Jan 2011 00:06:51 -0800 (PST) In-Reply-To: <20110106065215.GA16051@khaled-laptop> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rDQ86Ru2 - e89d5f2a0a68 - 20110106 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:64950 Archived-At: Am 06.01.2011 um 07:52 schrieb Khaled Hosny: > I get the following error with current beta (did not happen few betas > ago): > ! LuaTeX error > ...text/tex/texmf-context/tex/context/base/strc-mar.lua:512: attempt to get length of upvalue 'topofstack' (a number value) > stack traceback: > ...text/tex/texmf-context/tex/context/base/strc-mar.lua:512: in function <...text/tex/texmf-context/tex/context/base/strc-mar.lua:511> > ...text/tex/texmf-context/tex/context/base/strc-mar.lua:517: in function 'fetched' > ...text/tex/texmf-context/tex/context/base/strc-mar.lua:555: in function 'fetchonemark' > ...text/tex/texmf-context/tex/context/base/strc-mar.lua:584: in function 'getmarking' >
:1: in main chunk. > > Just removing the # from #topofstack on that line should do it. > > (sorry no minimal example, it is rather a large file and I'm not sure > what is triggering the error). The error is caused by the marking mechanism, i.e. \getmarking or \setupheadertexts[chapter][section] is the culprit. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________