[latex3-commits] [l3svn] branch master updated: l3build: Normalise out ConTeXt end-of-run data

noreply at latex-project.org noreply at latex-project.org
Wed Jun 22 07:54: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  0ea4b57   l3build: Normalise out ConTeXt end-of-run data
0ea4b57 is described below

commit 0ea4b578a5a261e18ac1328d3223a587673139e8
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Jun 22 06:53:25 2016 +0100

    l3build: Normalise out ConTeXt end-of-run data
    
    This is all after \stoptext and so can only be suppressed from
    the .tex end with a trailing \OMIT. That seems sub-optimal so
    assume it's never going to be useful for the type of tests we
    are setting up.
---
 l3build/l3build.lua |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index 797f204..fd983d4 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -818,6 +818,17 @@ function formatlog(logfile, newfile, engine)
     end
     -- Remove 'normal' direction information on boxes with (u)pTeX
     line = string.gsub(line, ",? yoko direction,?", "")
+    -- Remove ConTeXt stuff
+    if string.match(line, "^backend         >") or
+       string.match(line, "^close source    >") or
+       string.match(line, "^mkiv lua stats  >") or
+       string.match(line, "^pages           >") or
+       string.match(line, "^system          >") or
+       string.match(line, "^used file       >") or
+       string.match(line, "^used option     >") or
+       string.match(line, "^used structure  >") then
+       return ""
+    end
     -- A tidy-up to keep LuaTeX and other engines in sync
     local utf8_char = unicode.utf8.char
     line = string.gsub(line, utf8_char(127), "^^?")

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


More information about the latex3-commits mailing list