diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-01-05 19:27:56 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-01-05 19:27:56 +0100 |
commit | 5e5b7116e78d1cb847434ef29a9fed154e49adf9 (patch) | |
tree | 4fe640ecbf5137c5c68d7730ae03b91c2169bd9a /tex/context/base/colo-ext.mkiv | |
parent | 551356b39d8dfbf10ed6542aa3281cb08cd36197 (diff) | |
download | context-5e5b7116e78d1cb847434ef29a9fed154e49adf9.tar.gz |
beta 2012.01.02 17:18
Diffstat (limited to 'tex/context/base/colo-ext.mkiv')
-rw-r--r-- | tex/context/base/colo-ext.mkiv | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tex/context/base/colo-ext.mkiv b/tex/context/base/colo-ext.mkiv index 12af6798a..c95c919aa 100644 --- a/tex/context/base/colo-ext.mkiv +++ b/tex/context/base/colo-ext.mkiv @@ -48,10 +48,10 @@ \unexpanded\def\registercolorintent#1#2% {\setevalue{\??colorintent#1}{\attribute\colorintentattribute\ctxcommand{registercolorintent('#2')} }} -\unexpanded\def\colors_trigger_intent +\unexpanded\def\colo_intents_set {\ctxcommand{enablecolorintents()}% - \unexpanded\gdef\colors_trigger_intent##1{\csname\??colorintent##1\endcsname}% - \colors_trigger_intent} + \unexpanded\gdef\colo_intents_set##1{\csname\??colorintent##1\endcsname}% + \colo_intents_set} \registercolorintent{knockout} {knockout} \registercolorintent{overprint}{overprint} @@ -62,7 +62,7 @@ \unexpanded\def\startcolorintent[#1]% {\pushattribute\colorintentattribute - \colors_trigger_intent{#1}} + \colo_intents_set{#1}} \unexpanded\def\stopcolorintent {\popattribute\colorintentattribute} @@ -77,17 +77,17 @@ \let\stoptextcolorintent \relax \appendtoks - \colors_set_text_intent + \colo_intents_set_text \to \everysetupcolors -\let\p_colors_intent\empty +\let\p_colo_intent\empty -\def\colors_set_text_intent - {\edef\p_colors_intent{\colorsparameter\c!intent}% - \ifx\p_colors_intent\v!none \else - \unexpanded\xdef\starttextcolorintent{\colors_trigger_intent{\p_colors_intent}}% - \glet\colors_set_text_intent\relax - \colors_trigger_intent\p_colors_intent +\def\colo_intents_set_text + {\edef\p_colo_intent{\colorsparameter\c!intent}% + \ifx\p_colo_intent\v!none \else + \unexpanded\xdef\starttextcolorintent{\colo_intents_set{\p_colo_intent}}% + \glet\colo_intents_set_text\relax + \colo_intents_set\p_colo_intent \fi} \appendtoks \starttextcolorintent \to \everystarttextproperties |