[latex3-commits] [l3svn] 02/05: l3build: Use only 3 dp from glue setting

noreply at latex-project.org noreply at latex-project.org
Fri Sep 11 18:24:39 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 9dbf8cebb929075d7b249e9cd2e86a55f0a6c63b
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Sep 11 15:38:38 2015 +0100

    l3build: Use only 3 dp from glue setting
    
    On balance, the reduction in test file failures here is
    worth the slight risk in terms of loss of precision.
---
 l3build/l3build.lua |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index cd526fb..1323145 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -816,7 +816,7 @@ function formatlualog(logfile, newfile)
         line,
         "glue set (%-? ?)%d+.%d+",
         "glue set %1" .. string.format(
-            "%.4f", string.match(line, "glue set %-? ?(%d+.%d+)") or 0
+            "%.3f", string.match(line, "glue set %-? ?(%d+.%d+)") or 0
           )
       )
     -- LuaTeX writes ^^M as a new line, which we loose

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


More information about the latex3-commits mailing list