summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-05-17 12:39:55 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-05-17 12:39:55 +0200
commita7393f50fcc4f9bb8b46cfb3b270e71b07dbb5ba (patch)
tree17d163e63e40574df412a5c0f5d5bcca971e5119
parentd895b582ac05d251668adedc6542d2dbb8cecfd2 (diff)
downloadluaotfload-a7393f50fcc4f9bb8b46cfb3b270e71b07dbb5ba.tar.gz
load extralibs in main file
-rw-r--r--luaotfload-extralibs.lua1
-rw-r--r--luaotfload.dtx17
2 files changed, 9 insertions, 9 deletions
diff --git a/luaotfload-extralibs.lua b/luaotfload-extralibs.lua
index 6824e3c..2236631 100644
--- a/luaotfload-extralibs.lua
+++ b/luaotfload-extralibs.lua
@@ -367,7 +367,6 @@ collectgarbage"collect"
--[[example--
\input luaotfload.sty
-\RequireLuaModule{letterspace-support.lua}
\def\setcharacterkerning#1{% #1 factor : float
\directlua{typesetters.kerns.set(0.618)}%
}
diff --git a/luaotfload.dtx b/luaotfload.dtx
index 88cc599..2fd77e3 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -1815,14 +1815,14 @@ local resolvefile = fonts.names.crude_file_lookup
--local resolvefile = fonts.names.crude_file_lookup_verbose
function request_resolvers.file(specification)
- local name = resolvefile(specification.name)
- local suffix = file.suffix(name)
- if formats[suffix] then
- specification.forced = suffix
- specification.name = file.removesuffix(name)
- else
- specification.name = name
- end
+ local name = resolvefile(specification.name)
+ local suffix = file.suffix(name)
+ if formats[suffix] then
+ specification.forced = suffix
+ specification.name = file.removesuffix(name)
+ else
+ specification.name = name
+ end
end
@@ -1963,6 +1963,7 @@ elseif font_definer == "patch" then
end
loadmodule"features.lua" --- contains what was “font-ltx” and “font-otc”
+loadmodule"extralibs.lua" --- load additional Context libraries
loadmodule"auxiliary.lua" --- additionaly high-level functionality (new)
-- vim:tw=71:sw=4:ts=4:expandtab