-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.lua
71 lines (57 loc) · 2.19 KB
/
build.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env texlua
-- Build script for "LaTeX PDF management testphase bundle" bundle
-- Identify the bundle and module
bundle = ""
module = "pdfmanagement-testphase"
installfiles = {"*.sty","*.cls","*.def","*.lua","*.ltx"}
if options["target"] == "ctan" then
sourcefiles = {"*.dtx","*.ins",
"l3ref-tmp.sty",
"firstaid/transparent-ltx.sty",
"firstaid/hyperxmp-patches-tmp-ltx.sty",
"firstaid/pdflscape-ltx.sty",
"firstaid/xcolor-patches-tmp-ltx.sty",
"firstaid/color-ltx.sty",
}
else
sourcefiles = {"*.dtx","*.ins",
"l3ref-tmp.sty",
"firstaid/transparent-ltx.sty",
"firstaid/hyperxmp-patches-tmp-ltx.sty",
"firstaid/pdflscape-ltx.sty",
"firstaid/xcolor-patches-tmp-ltx.sty",
"firstaid/color-ltx.sty",
"support/pdfmanagement-regressiontest.sty",
"newpackages/new-bookmark.sty",
"newpackages/bkm-generic.def",
"newpackages/new-attachfile.sty",
"newpackages/atfi-generic.def"
"newpackages/l3pdffield-checkbox"
}
end
checkruns = 3
-- tl2020
print("TL2020 or later")
specialformats = specialformats or {}
specialformats["latex"] = specialformats["latex"] or
{
luatex = {binary="luahbtex",format = "lualatex-dev"},
pdftex = {format = "pdflatex-dev"},
xetex = {format = "xelatex-dev"},
latexdvips = {binary="latex.exe",format = "latex-dev"}
}
-- to try without dev-format
-- specialformats["latex"] = specialformats["latex"] or
-- {
-- luatex = {binary="luahbtex",format = "lualatex"},
-- pdftex = {format = "pdflatex"},
-- xetex = {format = "xelatex"},
-- latexdvips = {binary="latex.exe",format = "latex"}
-- }
-- packtdszip = true
checkengines = {"luatex","pdftex","xetex"}
checkconfigs = {"build",
"config-noxetex",
"config-luatex",
"config-dvips"
}