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
|
local function wipers(s)
return {
"tex/context/third/" ..s.. "/**",
"doc/context/third/" ..s.. "/**",
"source/context/third/" ..s.. "/**",
"tex/context/" ..s.. "/**",
"doc/context/" ..s.. "/**",
"source/context/" ..s.. "/**",
"scripts/" ..s.. "/**",
}
end
local defaults = {
"tex/latex/**",
"tex/plain/**",
"doc/latex/**",
"doc/plain/**",
"doc/generic/**",
"source/latex/**",
"source/plain/**",
-- "source/generic/**",
}
return {
name = "mtx-install-imp-tikz",
version = "1.00",
comment = "Tikz",
author = "Hans Hagen & others",
copyright = "ConTeXt development team",
lists = {
["tikz"] = {
url = "ctan",
zips = {
"graphics/pgf/base/pgf.tds.zip",
"graphics/pgf/contrib/pgfplots.tds.zip",
"graphics/pgf/contrib/circuitikz.tds.zip",
},
wipes = {
wipers("pgf"),
wipers("pgfplots"),
wipers("circuitikz"),
defaults,
}
},
},
}
|