summaryrefslogtreecommitdiff
path: root/tex/context/base/colo-ini.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/colo-ini.mkiv')
-rw-r--r--tex/context/base/colo-ini.mkiv5
1 files changed, 5 insertions, 0 deletions
diff --git a/tex/context/base/colo-ini.mkiv b/tex/context/base/colo-ini.mkiv
index 603dcdae2..164b39262 100644
--- a/tex/context/base/colo-ini.mkiv
+++ b/tex/context/base/colo-ini.mkiv
@@ -245,6 +245,10 @@
\ifconditional\c_colo_rgb_supported \colo_helpers_show_message\m!colors9\v!rgb \fi
\ifconditional\c_colo_cmyk_supported\colo_helpers_show_message\m!colors9\v!cmyk\fi
\colo_helpers_set_current_model
+ \ifproductionrun
+ \edef\p_pagecolormodel{\directcolorsparameter\c!pagecolormodel}%
+ \ctxcommand{synchronizecolormodel("\ifx\p_pagecolormodel\v!auto \currentcolormodel \else \p_pagecolormodel \fi")}%
+ \fi
\to \everysetupcolors
\appendtoks
@@ -949,6 +953,7 @@
\c!rgb=\v!yes,
\c!cmyk=\v!yes,
\c!spot=\v!yes,
+ \c!pagecolormodel=\v!none,
\c!expansion=\v!no,
\c!textcolor=,
\c!factor=\v!yes]