From 4af09333cc14015426fc193878c1a35157207518 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Mon, 2 Dec 2019 18:57:49 +0100 Subject: 2019-12-02 18:38:00 --- metapost/context/base/mpiv/mp-luas.mpxl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'metapost/context/base/mpiv/mp-luas.mpxl') diff --git a/metapost/context/base/mpiv/mp-luas.mpxl b/metapost/context/base/mpiv/mp-luas.mpxl index c622582b8..421e82946 100644 --- a/metapost/context/base/mpiv/mp-luas.mpxl +++ b/metapost/context/base/mpiv/mp-luas.mpxl @@ -241,6 +241,10 @@ newinternal mfid_hour ; mfid_hour := scriptindex "hour" ; vardef hour = newinternal mfid_minute ; mfid_minute := scriptindex "minute" ; vardef minute = runscript mfid_minute enddef ; newinternal mfid_second ; mfid_second := scriptindex "second" ; vardef second = runscript mfid_second enddef ; +% You cannot overload a local color bu using a prefix works ok: +% +% \definecolor [ name = "mp:myred", r = .9 ] ; + newinternal mfid_definecolor ; mfid_definecolor := scriptindex "definecolor" ; def definecolor = runscript mfid_definecolor ; enddef ; % the semicolon prevents lookahead -- cgit v1.2.3