summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r--otfl-font-nms.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index dc8179b..27de2e7 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -10,12 +10,13 @@ fonts = fonts or { }
fonts.names = fonts.names or { }
local names = fonts.names
+local names_dir = "/luatex/generic/luaotfload/names"
names.version = 2.007 -- not the same as in context
names.data = nil
names.path = {
basename = "otfl-names.lua",
- localdir = kpse.expand_var("$TEXMFVAR") .. "/luatex-cache/latex/names/",
- systemdir = kpse.expand_var("$TEXMFSYSVAR") .. "/luatex-cache/latex/names/",
+ localdir = kpse.expand_var("$TEXMFVAR") .. names_dir,
+ systemdir = kpse.expand_var("$TEXMFSYSVAR") .. names_dir,
}