[latex3-commits] [l3svn] branch master updated: l3build: 'REstore' some data for LuaTeX v1

noreply at latex-project.org noreply at latex-project.org
Wed Oct 12 19:10:34 CEST 2016


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  279665c   l3build: 'REstore' some data for LuaTeX v1
279665c is described below

commit 279665c8e9b43afda407a66e1d0c4650ca8383ee
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Oct 12 18:10:12 2016 +0100

    l3build: 'REstore' some data for LuaTeX v1
---
 l3build/l3build.lua |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index 5d0e43a..6f8c784 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -935,6 +935,11 @@ function formatlualog(logfile, newfile)
     local function boxprefix(s)
       return string.gsub(string.match(s, "^(%.+)"), "%.", "%%.")
     end
+    -- 'Recover' implicit kerns not taken
+    if string.match(lastline, "^%.+\\discretionary %(penalty 50%)$") and
+       string.match(line, boxprefix(lastline) .. "%.= \\kern%-?%d") then
+       return string.gsub(line, "%.= ", ""),""
+    end
     -- Where the last line was a discretionary, looks for the
     -- info one level in about what it represents
     if string.match(lastline, "^%.+\\discretionary$")                or

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list