-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.lua
More file actions
60 lines (51 loc) · 1.45 KB
/
Copy pathbuild.lua
File metadata and controls
60 lines (51 loc) · 1.45 KB
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
-- build script for codeanatomy.dtx
module = "codeanatomy"
bundle = ""
-- Typeset configuration
typesetexe = "lualatex"
typesetopts = "-interaction=nonstopmode --recorder"
typesetfiles = {"*.dtx"}
typesetdemofiles = {
"codeanatomy.usage.tex",
"codeanatomy.lstlisting.tex"
}
installfiles = {"*.tex", "*.sty"}
docfiles = {
"demo/*.tex"
}
uploadconfig = {
pkg = "codeanatomy",
version = "0.5-Beta",
author = "Hồng-Phúc Bùi",
uploader = "Hồng-Phúc Bùi",
email = "hong-phuc.bui@htwsaar.de",
license = "lppl1.3c",
summary = "draw code anatomy",
ctanPath = "/graphics/pgf/contrib/codeanatomy",
home = "https://github.com/hpb-htw/codeanatomy.git",
repository = "https://github.com/hpb-htw/codeanatomy.git",
bugtracker = "https://github.com/hpb-htw/codeanatomy/issues",
note = [[Uploaded automatically by l3build]]
}
function typeset_lstlisting_demo(file)
local name = jobname(file)
local dir = "build/doc"
local errorlevel = 0;
tex(file, dir)
tex(file, dir)
errorlevel = tex(file, dir)
if errorlevel == 0 then
errorlevel = (
biber ( name, dir ) +
tex ( file, dir ) +
bibtex(name, dir) +
tex(name, dir) +
tex(name, dir)
)
end
return errorlevel
end
specialtypesetting = specialtypesetting or {}
specialtypesetting["codeanatomy.lstlisting.tex"] = {
func = typeset_lstlisting_demo
}