diff options
Diffstat (limited to 'tex/context/base/colo-ini.tex')
-rw-r--r-- | tex/context/base/colo-ini.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tex/context/base/colo-ini.tex b/tex/context/base/colo-ini.tex index 9722c5e2d..790caac58 100644 --- a/tex/context/base/colo-ini.tex +++ b/tex/context/base/colo-ini.tex @@ -456,6 +456,8 @@ {\showmessage\m!colors4\colorstyle} {\showmessage\m!colors5\colorstyle}} +\let\usecolors\setupcolor + %D When typesetting for paper, we prefer using the \kap{CMYK} %D color space, but for on||screen viewing we prefer \kap{RGB} %D (the previous implementation supported only this scheme). @@ -1958,6 +1960,12 @@ {\doifdefined{\??pa#2} {\expanded{\dodefinepalet[#1][\getvalue{\??pa\??pa#2}]}}}} +\let\paletsize\!!zerocount + +\def\getpaletsize[#1]% + {\getcommacommandsize[\getvalue{\??pa\??pa#1}]% + \edef\paletsize{\number\commalistsize}} + %D \macros %D {setuppalet} %D |