From 3d1e34092d1f6bb85a7e10540ad139ecb9228d7a Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 24 Mar 2010 13:47:25 +0200 Subject: Change the default database directory Now $TEXMFVAR/luatex-cache/latex/names/ which looks more logical than $TEXMFVAR/scripts/luatexfontdb/. --- mkluatexfontdb.lua | 2 +- otfl-font-nms.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mkluatexfontdb.lua b/mkluatexfontdb.lua index ad50996..984d767 100644 --- a/mkluatexfontdb.lua +++ b/mkluatexfontdb.lua @@ -53,7 +53,7 @@ Valid options: -h --help print this message The output database file is named otfl-fonts.lua. By default it is placed -in TEXMFVAR/scripts/luatexfontdb/. +in $TEXMFVAR/luatex-cache/latex/names/. ]], name)) end diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua index d742610..50e8b96 100644 --- a/otfl-font-nms.lua +++ b/otfl-font-nms.lua @@ -14,8 +14,8 @@ names.version = 2.005 -- not the same as in context names.data = nil names.path = { basename = "otfl-names.lua", - localdir = kpse.expand_var("$TEXMFVAR") .. "/scripts/luatexfontdb/", - systemdir = kpse.expand_var("$TEXMFSYSVAR") .. "/scripts/luatexfontdb/", + localdir = kpse.expand_var("$TEXMFVAR") .. "/luatex-cache/latex/names/", + systemdir = kpse.expand_var("$TEXMFSYSVAR") .. "/luatex-cache/latex/names/", } -- cgit v1.2.3