summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/colo-ini.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/colo-ini.lua')
-rw-r--r--tex/context/base/mkiv/colo-ini.lua9
1 files changed, 2 insertions, 7 deletions
diff --git a/tex/context/base/mkiv/colo-ini.lua b/tex/context/base/mkiv/colo-ini.lua
index 7d946c729..6b3f515b9 100644
--- a/tex/context/base/mkiv/colo-ini.lua
+++ b/tex/context/base/mkiv/colo-ini.lua
@@ -1078,6 +1078,7 @@ colors.defineintermediatecolor = defineintermediatecolor
-- for the moment downward compatible
local patterns = {
+ CONTEXTLMTXMODE > 0 and "colo-imp-%s.mkxl" or "",
"colo-imp-%s.mkiv",
"colo-imp-%s.tex",
-- obsolete:
@@ -1086,13 +1087,7 @@ local patterns = {
}
local function action(name,foundname)
- -- could be one command
- context.startreadingfile()
- context.startcolorset { name }
- context.input(foundname)
- context.showmessage("colors",4,name)
- context.stopcolorset()
- context.stopreadingfile()
+ context.loadfoundcolorsetfile(name,foundname)
end
local function failure(name)