diff options
author | Hans Hagen <pragma@wxs.nl> | 2009-11-02 21:31:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2009-11-02 21:31:00 +0100 |
commit | f903426253431aaaf98c55ba9567d67a0193df65 (patch) | |
tree | be9f2f1a24dc802a9d439eefbaf1dbc5697a15fe /tex/context/base/colo-ext.mkiv | |
parent | e13c1d71259b390bbacfdbe45262091754bd71bc (diff) | |
download | context-f903426253431aaaf98c55ba9567d67a0193df65.tar.gz |
beta 2009.11.02 21:31
Diffstat (limited to 'tex/context/base/colo-ext.mkiv')
-rw-r--r-- | tex/context/base/colo-ext.mkiv | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/tex/context/base/colo-ext.mkiv b/tex/context/base/colo-ext.mkiv index f973af73a..3483c1536 100644 --- a/tex/context/base/colo-ext.mkiv +++ b/tex/context/base/colo-ext.mkiv @@ -86,15 +86,12 @@ % test {\mycolorb OEPS} test % \stoptext -\def\defineintermediatecolor - {\dodoubleempty\dodefineintermediatecolor} - -\def\dodefineintermediatecolor[#1][#2,#3,#4]% -- no checking +\def\defineintermediatecolor[#1]#2[#3,#4,#5]#6[#7]% no checking: \dotripleempty adds {} inside [] {\ifconditional\collectcolorsinlist\collectcolorinlist{#1}\fi - \ctxlua{colors.defineintermediate("#1",0#2, - \thecolorattribute{#3},\thecolorattribute{#4}, - \thetransparencyattribute{#3},\thetransparencyattribute{#4}, - \iffreezecolors true\else false\fi)}% + \ctxlua{colors.defineintermediatecolor("#1",0#3, + \thecolorattribute{#4},\thecolorattribute{#5}, + \thetransparencyattribute{#4},\thetransparencyattribute{#5}, + "#7",false,\iffreezecolors true\else false\fi)}% not global \dodefinecolorcommand\setvalue{#1}} \protect \endinput |