diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-12-04 16:56:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-12-04 16:56:00 +0100 |
commit | bdcabe6a278c35dd450221cb8f316a889b8685d2 (patch) | |
tree | 16b5bfeecb37a58466699c9eec740a7ffe35d6f8 /tex/context/base/colo-ini.mkiv | |
parent | 285b43a5386d2559e44b19434eb61773ed9dcfe1 (diff) | |
download | context-bdcabe6a278c35dd450221cb8f316a889b8685d2.tar.gz |
beta 2012.12.04 16:56
Diffstat (limited to 'tex/context/base/colo-ini.mkiv')
-rw-r--r-- | tex/context/base/colo-ini.mkiv | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tex/context/base/colo-ini.mkiv b/tex/context/base/colo-ini.mkiv index 629f2b96a..ed550987f 100644 --- a/tex/context/base/colo-ini.mkiv +++ b/tex/context/base/colo-ini.mkiv @@ -698,6 +698,25 @@ % test {\mycolord OEPS} test % test {\mycolorx OEPS} test % \stoptext +% +% Beware: if we say: +% +% \definecolor[one][two] +% +% only color one is actually defined and two is not seen at the +% \LUA\ end. This means that this doesn't work: +% +% \definecolor[ColorA][red] +% \definecolor[ColorB][.5(ColorA)] +% \definecolor[ColorC][.5(ColorB,white)] +% +% But this does work: +% +% \definecolor[ColorA][1.0(red)] +% \definecolor[ColorB][0.5(ColorA)] +% \definecolor[ColorC][0.5(ColorB,white)] +% +% because the fractional definition results in a new definition. \unexpanded\def\defineintermediatecolor {\dotripleempty\colo_basics_define_intermediate} |