summaryrefslogtreecommitdiff
path: root/web2c/contextcnf.lua
diff options
context:
space:
mode:
Diffstat (limited to 'web2c/contextcnf.lua')
-rw-r--r--web2c/contextcnf.lua52
1 files changed, 17 insertions, 35 deletions
diff --git a/web2c/contextcnf.lua b/web2c/contextcnf.lua
index 366df01ac..af65f41d0 100644
--- a/web2c/contextcnf.lua
+++ b/web2c/contextcnf.lua
@@ -101,13 +101,18 @@ 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//",
- BSTINPUTS = ".;$TEXMF/bibtex/bst//",
+ BIBINPUTS = ".;$TEXMF/bibtex/bib//;$TEXMF/tex/context//",
+ BSTINPUTS = ".;$TEXMF/bibtex/bst//;$TEXMF/tex/context//",
-- Experimental
@@ -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,
},
@@ -211,6 +185,14 @@ return {
-- ["fonts.usesystemfonts"] = false,
+ -- You can permit loading modules with no prefix:
+
+ -- ["modules.permitunprefixed"] = "no",
+
+ -- You can permit loading files from anywhere in the TDS tree:
+
+ -- ["resolvers.otherwise"] = "no",
+
},
experiments = {