summaryrefslogtreecommitdiff
path: root/web2c
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2014-12-30 10:15:04 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2014-12-30 10:15:04 +0100
commitfa8e5e0451dd0e800f5133b4425042579e68a522 (patch)
tree42690aa293cd1bb0e03cc5c9003ab756a2c55b0a /web2c
parent58ef50aaa4e2f8acb02f7362f85aa5a958944c38 (diff)
downloadcontext-fa8e5e0451dd0e800f5133b4425042579e68a522.tar.gz
2014-12-30 09:50:00
Diffstat (limited to 'web2c')
-rw-r--r--web2c/contextcnf.lua40
1 files changed, 7 insertions, 33 deletions
diff --git a/web2c/contextcnf.lua b/web2c/contextcnf.lua
index abc141ec4..af65f41d0 100644
--- a/web2c/contextcnf.lua
+++ b/web2c/contextcnf.lua
@@ -101,9 +101,14 @@ return {
PERLINPUTS = ".;$TEXMF/scripts/context/perl",
PYTHONINPUTS = ".;$TEXMF/scripts/context/python",
RUBYINPUTS = ".;$TEXMF/scripts/context/ruby",
- LUAINPUTS = ".;$TEXINPUTS;$TEXMF/scripts/context/lua//",
+ LUAINPUTS = ".;$TEXINPUTS;$TEXMF/scripts/context/lua//;$TEXMF",
CLUAINPUTS = ".;$SELFAUTOLOC/lib/{context,$engine,luatex}/lua//",
+ -- texmf-local/tex/generic/example/foo :
+ --
+ -- package.helpers.trace = true
+ -- require("example.foo.bar")
+
-- Not really used by MkIV so they might go away.
BIBINPUTS = ".;$TEXMF/bibtex/bib//;$TEXMF/tex/context//",
@@ -118,38 +123,7 @@ return {
FONTCONFIG_FILE = "fonts.conf",
FONTCONFIG_PATH = "$TEXMFSYSTEM/fonts/conf",
- limiters = {
- input = {
- -- any = {
- -- { "permit", "*" },
- -- },
- -- restricted = {
- -- { "permit", "*" },
- -- },
- paranoid = {
- { "permit", "^[^/]+$" },
- { "permit", "^./" },
- { "forbid", ".." },
- { "tree" , "TEXMF" },
- -- { "tree" , "MPINPUTS" },
- -- { "tree" , "TEXINPUTS" },
- { "forbid", "^/.." },
- { "forbid", "^[a-c]:/.." },
- },
- },
- output = {
- -- any = {
- -- { "permit", "*" },
- -- },
- -- restricted = {
- -- { "permit", "*" },
- -- },
- paranoid = {
- { "permit", "^[^/]+$" },
- { "permit", "^./" },
- },
- }
- },
+ -- we now have a different subsystem for this,
},