summaryrefslogtreecommitdiff
path: root/tex/context/base/lpdf-col.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2015-04-01 12:15:05 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2015-04-01 12:15:05 +0200
commitd48764d88ac59aa9b0130f1049892296a3eb4684 (patch)
tree5b442ba162ab03943a24c482e0c4b32a311a6c38 /tex/context/base/lpdf-col.lua
parentaab1c4e9206382c1a96d738fddabf3d98218f267 (diff)
downloadcontext-d48764d88ac59aa9b0130f1049892296a3eb4684.tar.gz
2015-04-01 12:02:00
Diffstat (limited to 'tex/context/base/lpdf-col.lua')
-rw-r--r--tex/context/base/lpdf-col.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tex/context/base/lpdf-col.lua b/tex/context/base/lpdf-col.lua
index a2fda8ca5..877c01a1c 100644
--- a/tex/context/base/lpdf-col.lua
+++ b/tex/context/base/lpdf-col.lua
@@ -532,6 +532,12 @@ end
lpdf.color = lpdfcolor
+interfaces.implement {
+ name = "lpdf_color",
+ actions = { lpdfcolor, context },
+ arguments = "integer"
+}
+
function lpdf.colorspec(model,ca,default)
if ca and ca > 0 then
local cv = colors.value(ca)