From 994f088d3ef44b6d8bed9b32827842d9bb026c63 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Mon, 13 Jan 2020 16:11:53 +0100 Subject: 2020-01-13 15:01:00 --- tex/context/base/mkiv/colo-ini.lua | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'tex/context/base/mkiv/colo-ini.lua') 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) -- cgit v1.2.3