diff options
Diffstat (limited to 'tex/context/base/lpdf-col.lua')
-rw-r--r-- | tex/context/base/lpdf-col.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/lpdf-col.lua b/tex/context/base/lpdf-col.lua index 219188369..2973f7e76 100644 --- a/tex/context/base/lpdf-col.lua +++ b/tex/context/base/lpdf-col.lua @@ -125,16 +125,16 @@ local intransparency = false local pdfcolor = lpdf.color function lpdf.rgbcode(model,r,g,b) - return pdfcolor(model,registercolor('color',nil,'rgb',r,g,b)) + return pdfcolor(model,registercolor(nil,'rgb',r,g,b)) end function lpdf.cmykcode(model,c,m,y,k) - return pdfcolor(model,registercolor('color',nil,'cmyk',c,m,y,k)) + return pdfcolor(model,registercolor(nil,'cmyk',c,m,y,k)) end function lpdf.graycode(model,s) - return pdfcolor(model,registercolor('color',nil,'gray',s)) + return pdfcolor(model,registercolor(nil,'gray',s)) end function lpdf.spotcode(model,n,f,d,p) - return pdfcolor(model,registercolor('color',nil,'spot',n,f,d,p)) -- incorrect + return pdfcolor(model,registercolor(nil,'spot',n,f,d,p)) -- incorrect end function lpdf.transparencycode(a,t) intransparency = true |