diff options
author | Hans Hagen <pragma@wxs.nl> | 2010-01-08 23:58:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2010-01-08 23:58:00 +0100 |
commit | b49a72625ea82574863b42d6b8782c9ce9aba4f7 (patch) | |
tree | 45307e33f4e1ff9c50aca46fb9fdc6f7455e378c /tex/context/base/colo-ini.mkiv | |
parent | f43952a7dc197eb796722c4ca4a5ccb5638b5165 (diff) | |
download | context-b49a72625ea82574863b42d6b8782c9ce9aba4f7.tar.gz |
beta 2010.01.08 23:58
Diffstat (limited to 'tex/context/base/colo-ini.mkiv')
-rw-r--r-- | tex/context/base/colo-ini.mkiv | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/tex/context/base/colo-ini.mkiv b/tex/context/base/colo-ini.mkiv index 091ccc747..fc81908e4 100644 --- a/tex/context/base/colo-ini.mkiv +++ b/tex/context/base/colo-ini.mkiv @@ -716,7 +716,7 @@ \def\dosetcolormodel#1% no message {\currentcolormodel\ctxlua{tex.print(colors.setmodel('#1',\ifweightGRAY true\else false\fi))}% - \dosetattribute{colormodel}{\the\currentcolormodel}} + \attribute\colormodelattribute\currentcolormodel} \setcolormodel{all} @@ -826,7 +826,7 @@ \ifx\@@rastervalue\empty \let\@@rastervalue\@@rsscreen \fi - \dosetattribute\s!color{\ctxlua{tex.sprint(colors.definesimplegray("_raster_",\@@rastervalue))}}} + \attribute\colorattribute\ctxlua{tex.sprint(colors.definesimplegray("_raster_",\@@rastervalue))}\relax} \def\dodefinefastcolor[#1][#2]% still not fast but ok {\ctxlua{colors.defineprocesscolor("#1","#2",false,\iffreezecolors true\else false\fi)}% @@ -903,14 +903,6 @@ \ifx\maintextcolor\empty\else\doactivatecolor\maintextcolor\fi \to \everybeforeoutput -% \def\startregistercolor[#1]% probably obsolete -% {\doifelsenothing{#1} -% {\let\stopregistercolor\relax} -% {\edef\stopregistercolor -% {\dosetattribute\s!color {\dogetattribute\s!color }% -% \dosetattribute\s!transparency{\dogetattribute\s!transparency}}% -% \doactivatecolor{#1}}} - \def\registermaintextcolor{\ctxlua{colors.main = \thecolorattribute\maintextcolor}} \def\starttextcolor[#1]% |