[latex3-commits] [l3svn] 01/02: l3build: Normalise \local... stup in LuaTeX v0.85+

noreply at latex-project.org noreply at latex-project.org
Wed Nov 18 08:15:22 CET 2015


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

joseph pushed a commit to branch master
in repository l3svn.

commit fc98ccb86e163310d1618d9cdba4f068d0c829d2
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Nov 18 07:06:37 2015 +0000

    l3build: Normalise \local... stup in LuaTeX v0.85+
---
 l3build/l3build.lua |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index 7bc36cd..fd1ea64 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -952,6 +952,15 @@ function formatlualog(logfile, newfile)
         return "", ""
       end
     end
+    -- Various \local... things that other engines do not do:
+    -- Only remove the no-op versions
+    if string.match(line, "^%.+\\localpar$")                or
+       string.match(line, "^%.+\\localinterlinepenalty=0$") or
+       string.match(line, "^%.+\\localbrokenpenalty=0$")    or
+       string.match(line, "^%.+\\localleftbox=null$")       or
+       string.match(line, "^%.+\\localrightbox=null$")      then
+       return "", ""
+    end
     -- Much the same idea when the last line was a whatsit,
     -- but things are simpler in this case
     if string.match(lastline, "^%.+\\whatsit$") then

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


More information about the latex3-commits mailing list