1local function wipers(s)
2 return {
3 "tex/context/third/" ..s.. "/**",
4 "doc/context/third/" ..s.. "/**",
5 "source/context/third/" ..s.. "/**",
6
7 "tex/context/" ..s.. "/**",
8 "doc/context/" ..s.. "/**",
9 "source/context/" ..s.. "/**",
10
11 "scripts/" ..s.. "/**",
12 }
13end
14
15local defaults = {
16 "tex/latex/**",
17 "tex/plain/**",
18
19 "doc/latex/**",
20 "doc/plain/**",
21 "doc/generic/**",
22
23 "source/latex/**",
24 "source/plain/**",
25
26}
27
28return {
29 name = "mtx-install-imp-tikz",
30 version = "1.00",
31 comment = "Tikz",
32 author = "Hans Hagen & others",
33 copyright = "ConTeXt development team",
34 lists = {
35 ["tikz"] = {
36 url = "ctan",
37 zips = {
38 "graphics/pgf/base/pgf.tds.zip",
39 "graphics/pgf/contrib/pgfplots.tds.zip",
40 "graphics/pgf/contrib/circuitikz.tds.zip",
41 },
42 wipes = {
43 wipers("pgf"),
44 wipers("pgfplots"),
45 wipers("circuitikz"),
46 defaults,
47 }
48 },
49 },
50}
51 |