Received: from comedy.dante.de (comedy.dante.de [176.28.54.184]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t62FuPwM011839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 2 Jul 2015 17:56:25 +0200 Received: from comedy.dante.de (localhost [127.0.0.1]) by comedy.dante.de (8.14.4/8.14.4/Debian-4) with ESMTP id t62FuKQU002125; Thu, 2 Jul 2015 17:56:21 +0200 Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) by comedy.dante.de (8.14.4/8.14.4/Debian-4) with ESMTP id t62FuHCg002118 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 2 Jul 2015 17:56:18 +0200 Received: by wiga1 with SMTP id a1so156749115wig.0 for ; Thu, 02 Jul 2015 08:56:11 -0700 (PDT) X-Received: by 10.180.106.137 with SMTP id gu9mr57255447wib.54.1435852571818; Thu, 02 Jul 2015 08:56:11 -0700 (PDT) Received: from [192.168.1.15] (ABordeaux-253-1-33-109.w82-125.abo.wanadoo.fr. [82.125.240.109]) by mx.google.com with ESMTPSA id d3sm9304337wic.1.2015.07.02.08.56.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jul 2015 08:56:10 -0700 (PDT) Message-ID: <55955F19.4030603@telecom-bretagne.eu> Date: Thu, 02 Jul 2015 17:56:09 +0200 From: =?UTF-8?B?w4lsaWUgUm91eA==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-Version: 1.0 To: David Carlisle Subject: Re: LuaTeX support in the LaTeX kernel References: <559534D0.2060001@morningstar2.co.uk> <5595540F.9080605@telecom-bretagne.eu> In-Reply-To: X-DANTE-Spam-Score: -1.9 () BAYES_00, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, SPF_PASS X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 X-Scanned-By: MIMEDefang 2.71 on 176.28.54.184 X-Scanned-By: MIMEDefang 2.71 on IPv6:2a01:488:67:1000:b01c:36b8:0:1 Cc: Heiko Oberdiek , Philipp Gesang , "latex-team@latex-project.org" , Philipp Maximilian Stephani , mpg@elzevir.fr, Lars Madsen X-BeenThere: latex-team@latex-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: latex-team-bounces@latex-project.org Sender: "Latex-team" Status: R X-Status: X-Keywords: X-UID: 7739 >> I think removing a callback is quite useful: for instance in Gregorio >> (https://github.com/gregorio-project/gregorio, soon to be integrated >> into TeXLive) I make quite convoluted treatment in postlinebreak_filter, >> but only in the context of a score, so I register the callback at the >> beginning of a score and remove it at the end.. Well, I could find other >> means to check if I need to run the callback or not, but I admit I liked >> this way of using callbacks. > > use cases are good here, nothing fixed yet.... They are quite rare: gregorio uses hyphenate and postlinebreak_filter (and might use a modified version of the lua parbreaker in the future), and luaotfload is clearly the package registering the most important number of callbacks (and uses a mechanism to create some custom callback hooks). I hope to make one day a lua parbuilder backported from ConTeXt, with also a few custom callback hooks to enable convoluted paragraph building in gregorio... >> Why not include the code adding kpse to package.searchers ? Or would it >> be better to add it when building the format (so that LaTeX doesn't >> depend on kpse > > clearly something we should look at.... This is also something done by both luatexbase and luatex, see https://github.com/lualatex/luatexbase/blob/master/luatexbase-loader.dtx Thank you, -- Elie _______________________________________________ Latex-team mailing list Latex-team@latex-project.org https://lists.dante.de/mailman/listinfo/latex-team