From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86894 Path: news.gmane.org!not-for-mail From: Dohyun Kim Newsgroups: gmane.comp.tex.context Subject: [luatex-plain] disappearing math-on node Date: Fri, 4 Apr 2014 01:29:51 +0900 Message-ID: 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 1396542621 3054 80.91.229.3 (3 Apr 2014 16:30:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2014 16:30:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 03 18:30:17 2014 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 1WVkWr-0001n7-UY for gctc-ntg-context-518@m.gmane.org; Thu, 03 Apr 2014 18:30:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8F42F1021E for ; Thu, 3 Apr 2014 18:30:13 +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 B4GS-RMCUPHv for ; Thu, 3 Apr 2014 18:30:13 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1580610227 for ; Thu, 3 Apr 2014 18:30:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E94ED101E3 for ; Thu, 3 Apr 2014 18:30:04 +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 mSv9TNUJ0fwH for ; Thu, 3 Apr 2014 18:30:03 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 4F9EA101E1 for ; Thu, 3 Apr 2014 18:30:03 +0200 (CEST) Original-Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s33GTqEH022405 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 3 Apr 2014 18:30:02 +0200 Original-Received: by mail-la0-f50.google.com with SMTP id pv20so1520492lab.37 for ; Thu, 03 Apr 2014 09:29:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/kHcu+38aOnsHT6eoeT2PFXBggj9C/ak1OyQKPh9nPo=; b=wbmBmaNZYiOsF3HWKSj7mXD49iTmJtC6gCRwz6ik17LRqMolMi82kJ5FLoVxpspc5Y hUSFxM9fBSXCKBoP+8VSvrzsnO49JTurw4HTpDAmNh/JEeib/6lXnvZRUiuLRLnaxHAh zBP77ive07vO+48NbTCOeaoOlGUjmboy7GEATp7pIIoTU3C6l6uO6Yt2Cbd9ulGp5cbf aJD+gGdwIgdfXm7qGRf+b7o3u9c1/+72meUQ0RxOnToev6ifEdncU/VyZ9WC7enQ6Nal IAYXELPEJkRwSyJp0OTrYqxoQbCyKwhDU+TocZRPKhSoaKVecKYN0++7GuqtjxuqAwm/ dyTA== X-Received: by 10.112.150.233 with SMTP id ul9mr5075820lbb.2.1396542592171; Thu, 03 Apr 2014 09:29:52 -0700 (PDT) Original-Received: by 10.114.244.171 with HTTP; Thu, 3 Apr 2014 09:29:51 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c03::232; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07LJstQJx - 9b3f7c8046e7 - 20140403 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:86894 Archived-At: Hi, This is a bug report based on the issue discussed at https://github.com/lualatex/luaotfload/issues/212 \font\tenrm{file:lmroman10-regular.otf:mode=node;script=latn}\tenrm \setbox0\vbox{% x\penalty-10000 $a$x$a$ } \unvbox0 \setbox0\lastbox \unhbox0 \end The plain tex code shown above fails with a lua error: luatex-fonts-merged.lua:9616: attempt to index local 'current' (a nil value) My guess is: as math-on (math-off too) is a "discardable" item after a linebreak, the first math-on node has gone away. So the math-on/math-off pair has become broken, by which the behavior of "node.end_of_math" is confused. Regards, -- Dohyun Kim Seoul, Republic of Korea ___________________________________________________________________________________ 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 ___________________________________________________________________________________