summaryrefslogtreecommitdiff
path: root/tex/context/base/attr-ini.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2009-06-04 22:20:00 +0200
committerHans Hagen <pragma@wxs.nl>2009-06-04 22:20:00 +0200
commit2ccf824cf6614b771c4dd47bd09e7d4f1a59f271 (patch)
treea757114aa5d23f13d459b6319c36c1cb4fe2611a /tex/context/base/attr-ini.lua
parente9990ae7c22295e59c1d2c80c7e2717738b5c120 (diff)
downloadcontext-2ccf824cf6614b771c4dd47bd09e7d4f1a59f271.tar.gz
beta 2009.06.04 22:20
Diffstat (limited to 'tex/context/base/attr-ini.lua')
-rw-r--r--tex/context/base/attr-ini.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/attr-ini.lua b/tex/context/base/attr-ini.lua
index 3b2ed7791..7480da873 100644
--- a/tex/context/base/attr-ini.lua
+++ b/tex/context/base/attr-ini.lua
@@ -206,10 +206,11 @@ end
colors.none = nodeinjections.graycolor(0)
-function colors.setmodel(attribute,name)
+function colors.setmodel(attribute,name,weightgray)
colors.model = name
colors.selector = numbers[attribute]
colors.default = models[name] or 1
+ colors.weightgray = weightgray ~= false
return colors.default
end