[latex3-commits] [latex3/latex3] main: Move specialformats settings to root config (d10ef38df)

github at latex-project.org github at latex-project.org
Fri Mar 1 07:17:47 CET 2024


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/d10ef38df567881d1b6bf084dbd185b8f2a94882

>---------------------------------------------------------------

commit d10ef38df567881d1b6bf084dbd185b8f2a94882
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Fri Mar 1 07:19:01 2024 +0800

    Move specialformats settings to root config


>---------------------------------------------------------------

d10ef38df567881d1b6bf084dbd185b8f2a94882
 build-config.lua                    | 13 +++++++++++++
 l3experimental/l3draw/build.lua     | 15 ---------------
 l3experimental/l3graphics/build.lua | 15 ---------------
 l3experimental/l3opacity/build.lua  | 15 ---------------
 l3kernel/config-backend.lua         | 15 ---------------
 5 files changed, 13 insertions(+), 60 deletions(-)

diff --git a/build-config.lua b/build-config.lua
index 0b28d918e..42943b2b3 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -10,6 +10,19 @@ checksuppfiles  = checksuppfiles  or
     "regression-test.cfg",
     "sRGB_v4_ICC_preference.icc"
   }
+
+specialformats = specialformats or {}
+specialformats.latex =
+  {
+    ["etex-dvips"] = {binary = "etex", format = "latex"},
+    ["etex-dvisvgm"] =
+      {
+        binary = "etex",
+        format = "latex",
+        tokens = "\\ExplSyntaxOn\\sys_load_backend:n{dvisvgm}\\ExplSyntaxOff"
+      }
+  }
+
 tagfiles = tagfiles or {"*.dtx", "README.md", "CHANGELOG.md", "*.ins"}
 unpacksuppfiles = unpacksuppfiles or
   {
diff --git a/l3experimental/l3draw/build.lua b/l3experimental/l3draw/build.lua
index 6ec7bb5e9..db81ab69d 100644
--- a/l3experimental/l3draw/build.lua
+++ b/l3experimental/l3draw/build.lua
@@ -12,21 +12,6 @@ maindir = "../.."
 
 typesetfiles = {"l3draw.dtx", "l3draw-code.tex"}
 
--- Set up to allow testing dvips, etc.
-specialformats = specialformats or {}
-specialformats.latex =
-  {
-    luatex = {binary = "luahbtex",format = "lualatex"},
-    ptex  = {binary = "eptex"},
-    uptex = {binary = "euptex"},
-    ["etex-dvips"] = {binary = "etex", format = "latex"},
-    ["etex-dvisvgm"] =
-      {
-        binary = "etex",
-        format = "latex",
-        tokens = "\\PassOptionsToPackage{backend=dvisvgm}{expl3}"
-      }
-  }
 checkengines =
   {"pdftex", "luatex", "xetex", "etex-dvips", "etex-dvisvgm", "uptex"}
 
diff --git a/l3experimental/l3graphics/build.lua b/l3experimental/l3graphics/build.lua
index dd8fd6712..338d32fcc 100644
--- a/l3experimental/l3graphics/build.lua
+++ b/l3experimental/l3graphics/build.lua
@@ -10,21 +10,6 @@ module = "l3graphics"
 -- Location of main directory: use Unix-style path separators
 maindir = "../.."
 
--- Set up to allow testing dvips, etc.
-specialformats = specialformats or {}
-specialformats.latex =
-  {
-    luatex = {binary = "luahbtex",format = "lualatex"},
-    ptex  = {binary = "eptex"},
-    uptex = {binary = "euptex"},
-    ["etex-dvips"] = {binary = "etex", format = "latex"},
-    ["etex-dvisvgm"] =
-      {
-        binary = "etex",
-        format = "latex",
-        tokens = "\\PassOptionsToPackage{backend=dvisvgm}{expl3}"
-      }
-  }
 checkengines =
   {"pdftex", "luatex", "xetex", "etex-dvips", "etex-dvisvgm", "uptex"}
 
diff --git a/l3experimental/l3opacity/build.lua b/l3experimental/l3opacity/build.lua
index 30b8b7901..94e94b39f 100644
--- a/l3experimental/l3opacity/build.lua
+++ b/l3experimental/l3opacity/build.lua
@@ -10,21 +10,6 @@ module = "l3opacity"
 -- Location of main directory: use Unix-style path separators
 maindir = "../.."
 
--- Set up to allow testing dvips, etc.
-specialformats = specialformats or {}
-specialformats.latex =
-  {
-    luatex = {binary = "luahbtex",format = "lualatex"},
-    ptex  = {binary = "eptex"},
-    uptex = {binary = "euptex"},
-    ["etex-dvips"] = {binary = "etex", format = "latex"},
-    ["etex-dvisvgm"] =
-      {
-        binary = "etex",
-        format = "latex",
-        tokens = "\\ExplSyntaxOn\\sys_load_backend:n{dvisvgm}\\ExplSyntaxOff"
-      }
-  }
 checkengines =
   {"pdftex", "luatex", "xetex", "etex-dvips", "etex-dvisvgm", "uptex"}
 
diff --git a/l3kernel/config-backend.lua b/l3kernel/config-backend.lua
index b9a3f5ac3..11e007c67 100644
--- a/l3kernel/config-backend.lua
+++ b/l3kernel/config-backend.lua
@@ -1,19 +1,4 @@
 testfiledir  = "testfiles-backend"
 
--- Set up to allow testing dvips, etc.
-specialformats = specialformats or {}
-specialformats.latex =
-  {
-    luatex = {binary = "luahbtex",format = "lualatex"},
-    ptex  = {binary = "eptex"},
-    uptex = {binary = "euptex"},
-    ["etex-dvips"] = {binary = "etex", format = "latex"},
-    ["etex-dvisvgm"] =
-      {
-        binary = "etex",
-        format = "latex",
-        tokens = "\\ExplSyntaxOn\\sys_load_backend:n{dvisvgm}\\ExplSyntaxOff"
-      }
-  }
 checkengines =
   {"pdftex", "luatex", "xetex", "etex-dvips", "etex-dvisvgm", "uptex"}





More information about the latex3-commits mailing list.