From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88758 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: parbuilder in lua Date: Thu, 25 Sep 2014 09:57:31 +0200 Message-ID: <71935EF1-4E97-4DB6-9F85-34CF2FA11225@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1411631874 21591 80.91.229.3 (25 Sep 2014 07:57:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2014 07:57:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 25 09:57:48 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 1XX3vw-0002Tc-4n for gctc-ntg-context-518@m.gmane.org; Thu, 25 Sep 2014 09:57:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8A5F01022A for ; Thu, 25 Sep 2014 09:57:47 +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 9VzmAuY+IFA2 for ; Thu, 25 Sep 2014 09:57:47 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 984531022B for ; Thu, 25 Sep 2014 09:57:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6CC23101E3 for ; Thu, 25 Sep 2014 09:57:36 +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 LEkJvkakkETG for ; Thu, 25 Sep 2014 09:57:34 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id BA02C101E1 for ; Thu, 25 Sep 2014 09:57:34 +0200 (CEST) Original-Received: from server5b.aanhet.net (server5b.aanhet.net [5.39.185.224]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s8P7vXmu008670 for ; Thu, 25 Sep 2014 09:57:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by server5b.aanhet.net (Postfix) with ESMTP id A37BEEF for ; Thu, 25 Sep 2014 09:57:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at server5.aanhet.net Original-Received: from server5b.aanhet.net ([127.0.0.1]) by localhost (server5b.crown.docwolves.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AAQ6h6U0BaoW for ; Thu, 25 Sep 2014 09:57:32 +0200 (CEST) Original-Received: from tacos-mbp.fritz.box (boo.demon.nl [83.163.247.99]) by server5b.aanhet.net (Postfix) with ESMTPSA id D22BF8B for ; Thu, 25 Sep 2014 09:57:31 +0200 (CEST) X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=5.39.185.224; country=NL; region=South Holland; city=Zoetermeer; latitude=52.0278; longitude=4.5123; http://maps.google.com/maps?q=52.0278,4.5123&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01MTjVy49 - 76bda5c075f2 - 20140925 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:88758 Archived-At: Hi Hans, Can you please try the code below? I found three issues with it: 1. node-ltp.lua is not completely ready for nuts mode, e.g. line 3148: elseif order =3D=3D 0 and hlist.list and last_badness > tex.hbadness then where =91hlist.list' should be 'getfield(hlist, "list=94)=92 2. with tracing on, I always get: = Lua linebreak_filter failed, reverting to default on line 1 which makes me nervous. Does that mean it works ok without tracing, or d= oes it just not report that it does not work? 3. with tracing on, there is a double-free of a glyph node (this could be s= pecific to tufte) TIA, Taco Code: \tracingparagraphs=3D1 \tracingonline=3D1 \starttext \startparbuilder[basic] \input tufte \stopparbuilder \stoptext ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________