[latex3-commits] [l3svn] 03/03: l3build: Initial work on ConTeXt support

noreply at latex-project.org noreply at latex-project.org
Tue Jun 21 18:50:26 CEST 2016


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

joseph pushed a commit to branch master
in repository l3svn.

commit c4cc924388dc41137011612f10cadd0f35d4e031
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Jun 21 17:49:49 2016 +0100

    l3build: Initial work on ConTeXt support
    
    Needs some stuff in the .dtx and more normalisation to be
    useful, plus need to check on MkII.
---
 l3build/l3build.lua |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index 67d951f..797f204 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -1237,6 +1237,20 @@ function runtest(name, engine, hide, ext, makepdf)
   if string.match(engine, "xetex") and not makepdf then
     checkopts = checkopts .. " -no-pdf"
   end
+  -- Special casing for ConTeXt
+  if string.match(checkformat, "^context$") then
+    format = ""
+    if engine == "luatex" or engine == "luajittex" then
+      realengine = "context"
+    elseif engine == "pdftex" then
+      realengine = "texexec"
+    elseif engine == "xetex" then
+      realengine = "texexec --xetex"
+    else
+      print("Engine incompatible with format")
+      os.exit(1)
+    end
+  end
   local logfile = testdir .. "/" .. name .. logext
   local newfile = testdir .. "/" .. name .. "." .. engine .. logext
   local asciiopt = ""

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


More information about the latex3-commits mailing list