diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-01-13 16:11:53 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-01-13 16:11:53 +0100 |
commit | 994f088d3ef44b6d8bed9b32827842d9bb026c63 (patch) | |
tree | a87725cd3cbf1c2a0b2e717d8bbef56de6ab11fe /tex/context/base/mkiv/colo-ini.lua | |
parent | afc6f0a4de593d7164341006a7dfc5e1add977aa (diff) | |
download | context-994f088d3ef44b6d8bed9b32827842d9bb026c63.tar.gz |
2020-01-13 15:01:00
Diffstat (limited to 'tex/context/base/mkiv/colo-ini.lua')
-rw-r--r-- | tex/context/base/mkiv/colo-ini.lua | 9 |
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) |