summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-04-27 12:42:43 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-04-27 12:42:43 +0200
commitf80559dee34d3e2c01f5793541e1c6fb4b6b641b (patch)
treeca3f925387f04aaef5744c504c2740f2eef839c8 /otfl-font-nms.lua
parentc920ac08672ba41fcae65f1ce0d71212db36621e (diff)
downloadluaotfload-f80559dee34d3e2c01f5793541e1c6fb4b6b641b.tar.gz
Change the default cache path
Per Manuel's suggestion, we now use TEXMVAR/luatex/generic/luaotfload/ instead of TEXMVAR/luatex-cache/latex/.
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,
}