summaryrefslogtreecommitdiff
path: root/tex/context/base/scrp-ini.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-01-08 23:58:00 +0100
committerHans Hagen <pragma@wxs.nl>2010-01-08 23:58:00 +0100
commitb49a72625ea82574863b42d6b8782c9ce9aba4f7 (patch)
tree45307e33f4e1ff9c50aca46fb9fdc6f7455e378c /tex/context/base/scrp-ini.mkiv
parentf43952a7dc197eb796722c4ca4a5ccb5638b5165 (diff)
downloadcontext-b49a72625ea82574863b42d6b8782c9ce9aba4f7.tar.gz
beta 2010.01.08 23:58
Diffstat (limited to 'tex/context/base/scrp-ini.mkiv')
-rw-r--r--tex/context/base/scrp-ini.mkiv8
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/scrp-ini.mkiv b/tex/context/base/scrp-ini.mkiv
index 3382ef4b6..0d0c2c125 100644
--- a/tex/context/base/scrp-ini.mkiv
+++ b/tex/context/base/scrp-ini.mkiv
@@ -16,8 +16,8 @@
\registerctxluafile{scrp-ini}{1.001}
\registerctxluafile{scrp-cjk}{1.001}
-\definesystemattribute[preproc]
-\definesystemattribute[prestat]
+\definesystemattribute[preproc] \chardef\preprocattribute \dogetattributeid{preproc}
+\definesystemattribute[prestat] \chardef\prestatattribute \dogetattributeid{prestat}
%D Since scripts need specific \LUA\ code we use hard coded attribute
%D values, but we might have more tricks at some time, so we use a
@@ -73,9 +73,9 @@
\edef\currentscriptattribute{\scriptparameter\s!attribute}%
\ifx\currentscriptattribute\empty
\let\currentscript\empty
- \doresetattribute{preproc}%
+ \attribute\preprocattribute\attributeunsetvalue
\else
- \dosetattribute{preproc}\currentscriptattribute % we can speed this up by storing the attribute in ??ls:a:#1
+ \attribute\preprocattribute\currentscriptattribute\relax % we can speed this up by storing the attribute in ??ls:a:#1
\fi}
\def\setscript [#1]{\dosetscript{#1}}