summaryrefslogtreecommitdiff
path: root/tex/context/modules/third/mtx-install-imp-tikz.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/modules/third/mtx-install-imp-tikz.lua')
-rw-r--r--tex/context/modules/third/mtx-install-imp-tikz.lua50
1 files changed, 50 insertions, 0 deletions
diff --git a/tex/context/modules/third/mtx-install-imp-tikz.lua b/tex/context/modules/third/mtx-install-imp-tikz.lua
new file mode 100644
index 000000000..77b4d903f
--- /dev/null
+++ b/tex/context/modules/third/mtx-install-imp-tikz.lua
@@ -0,0 +1,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,
+ }
+ },
+ },
+}