[latex3-commits] [l3svn] 01/02: l3build: Be more aggressive with LuaTeX glue set variations

noreply at latex-project.org noreply at latex-project.org
Thu Sep 10 22:38:06 CEST 2015


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

joseph pushed a commit to branch master
in repository l3svn.

commit 79da2918aa98db4928ed8f8b4da7dadfcbc1533c
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Sep 10 21:35:57 2015 +0100

    l3build: Be more aggressive with LuaTeX glue set variations
    
    This now picks up "fill", cases where "fil" is not printed, etc.
---
 l3build/l3build.lua |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index e7a4fe3..290cb47 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -817,12 +817,13 @@ function formatlualog(logfile, newfile)
     -- Find glue setting and round out the last place
     line = string.gsub(
         line,
-        "glue set (%-? ?)%d+.%d+fil$",
+        "glue set (%-? ?)%d+.%d+",
         "glue set %1" .. string.format(
-            "%.4f", string.match(line, "glue set %-? ?(%d+.%d+)fil$") or 0
+            "%.4f", string.match(line, "glue set %-? ?(%d+.%d+)") or 0
           )
-          .. "fil"
       )
+    -- LuaTeX writes ^^M as a new line, which we loose
+    line = string.gsub(line, "%^%^M", "")
     -- Remove U+ notation in the "Missing character" message
     line = string.gsub(
         line,

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


More information about the latex3-commits mailing list