summaryrefslogtreecommitdiff
path: root/tex/context/base/pack-rul.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-07-04 10:42:00 +0200
committerHans Hagen <pragma@wxs.nl>2012-07-04 10:42:00 +0200
commit6fab0bf5d80191fb0748006da3cbdf4561541484 (patch)
tree85ef2d4c3b8dd63bf3a1b27ec7eb621761efee73 /tex/context/base/pack-rul.mkiv
parent16a05ab43b53feac7c21bceccc2886857e9822a8 (diff)
downloadcontext-6fab0bf5d80191fb0748006da3cbdf4561541484.tar.gz
beta 2012.07.04 10:42
Diffstat (limited to 'tex/context/base/pack-rul.mkiv')
-rw-r--r--tex/context/base/pack-rul.mkiv19
1 files changed, 12 insertions, 7 deletions
diff --git a/tex/context/base/pack-rul.mkiv b/tex/context/base/pack-rul.mkiv
index 16b4460e9..e0be2db13 100644
--- a/tex/context/base/pack-rul.mkiv
+++ b/tex/context/base/pack-rul.mkiv
@@ -54,8 +54,16 @@
%D
%D \showsetup{setupscreens}
-\unexpanded\def\setupscreens
- {\dodoubleargument\getparameters[\??rs]}
+\installcorenamespace{screens}
+
+\installsetuponlycommandhandler \??screens {screens}
+
+\appendtoks
+ \edef\defaultbackgroundscreen{\directscreensparameter\c!screen}
+\to \everysetupscreens
+
+\setupscreens
+ [\c!screen=0.90] % was 0.95 but that's hardly visible
%D The parameter handler:
@@ -2492,7 +2500,7 @@
%\c!foregroundstyle=,
%\c!background=,
%\c!backgroundcolor=,
- \c!backgroundscreen=\@@rsscreen,
+ \c!backgroundscreen=\defaultbackgroundscreen,
\c!linecorrection=\v!on,
\c!depthcorrection=\v!on,
\c!margin=\v!standard]
@@ -2861,7 +2869,7 @@
%\c!foregroundcolor=,
%\c!foregroundstyle=,
%\c!background=,
- \c!backgroundscreen=\@@rsscreen,
+ \c!backgroundscreen=\defaultbackgroundscreen,
%\c!backgroundcolor=,
\c!backgroundoffset=\zeropoint,
%\c!framecolor=,
@@ -2890,7 +2898,4 @@
%\c!toffset=\zeropoint,
]%\c!boffset=\zeropoint]
-\setupscreens
- [\c!screen=0.95]
-
\protect \endinput