[latex3-commits] [git/LaTeX3-latex3-pdfresources] master: storing dvips test setup, not quite right yet (0968866)
Ulrike Fischer
fischer at troubleshooting-tex.de
Wed Mar 11 20:39:57 CET 2020
Repository : https://github.com/latex3/pdfresources
On branch : master
Link : https://github.com/latex3/pdfresources/commit/0968866ab507398dd1d157b6cdcfba3164f05eb4
>---------------------------------------------------------------
commit 0968866ab507398dd1d157b6cdcfba3164f05eb4
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Wed Mar 11 20:39:57 2020 +0100
storing dvips test setup, not quite right yet
>---------------------------------------------------------------
0968866ab507398dd1d157b6cdcfba3164f05eb4
build.lua | 5 +++--
config-dvips.lua | 20 ++++++++++++++++++--
2 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/build.lua b/build.lua
index 4c57751..69a5e97 100644
--- a/build.lua
+++ b/build.lua
@@ -25,8 +25,9 @@ else
specialformats = specialformats or {}
specialformats["latex"] = specialformats["latex"] or
{
- luatex = {binary="luahbtex",format = "lualatex"},
- dvipsbat = {binary="l3builddvips",format = ""}
+ luatex = {binary="luahbtex",format = "lualatex"},
+ dvipsbat = {binary="l3builddvips",format = ""},
+ latexdvips = {binary="latex.exe",format = ""}
}
end
diff --git a/config-dvips.lua b/config-dvips.lua
index a1975b1..9d38c34 100644
--- a/config-dvips.lua
+++ b/config-dvips.lua
@@ -1,8 +1,24 @@
testfiledir = "testfiles-dvips"
+-- checkengines = {"latexdvips"}
+-- stdengine = "latexdvips"
checkengines = {"dvipsbat"}
stdengine = "dvipsbat"
-checkruns=3
-dviext="xxx"
+
+checkruns=2
+ps2pdfopt = " -sDocumentUUID=DocumentUUID -sInstanceUUID=InstanceUUID -dCompressStreams=false -dCompressPages=false -dNOSAFER "
+function dvitopdf(name, dir, engine, hide)
+ run(
+ dir,
+ (forcecheckepoch and setepoch() or "") ..
+ "dvips " .. name .. dviext
+ .. (hide and (" > " .. os_null) or "")
+ .. os_concat ..
+ "ps2pdf " .. ps2pdfopt .. name .. psext
+ -- .. (hide and (" > " .. os_null) or "")
+ )
+end
+
+-- dviext="xxx"
-- the use of this config file, needs a patch (or something equivalent)
-- called l3builddvips and which this content:
More information about the latex3-commits
mailing list.