summaryrefslogtreecommitdiff
path: root/web2c/contextcnf.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2015-05-16 00:15:04 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2015-05-16 00:15:04 +0200
commitb55577d0998160c0174e250b542016ecd6ca9056 (patch)
tree27093212d5ca3e6ffe4ae434c3ec094233ed37ba /web2c/contextcnf.lua
parent624cbb5da392e9403984dd1cf368c0d408b1c2a8 (diff)
downloadcontext-b55577d0998160c0174e250b542016ecd6ca9056.tar.gz
2015-05-15 23:06:00
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 = {