diff options
Diffstat (limited to 'tex/context/base/lpdf-col.lua')
-rw-r--r-- | tex/context/base/lpdf-col.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/lpdf-col.lua b/tex/context/base/lpdf-col.lua index 2973f7e76..0e4f6e495 100644 --- a/tex/context/base/lpdf-col.lua +++ b/tex/context/base/lpdf-col.lua @@ -50,13 +50,13 @@ function lpdf.color(model,ca,default) -- todo: use gray when no color end end -function lpdf.transparency(ct,default) +function lpdf.transparency(ct,default) -- kind of overlaps with transparencycode -- beware, we need this hack because normally transparencies are not -- yet registered and therefore the number is not not known ... we -- might use the attribute number itself in the future local ct = transparenciesvalue(ct) if ct then - return format("/Tr%s gs",registertransparancy(nil,ct[1],ct[2])) + return format("/Tr%s gs",registertransparancy(nil,ct[1],ct[2],true)) else return "/Tr0 gs" end @@ -138,7 +138,7 @@ function lpdf.spotcode(model,n,f,d,p) end function lpdf.transparencycode(a,t) intransparency = true - return format("/Tr%s gs",registertransparancy(nil,a,t)) + return format("/Tr%s gs",registertransparancy(nil,a,t,true)) -- true forces resource end function lpdf.finishtransparencycode() if intransparency then |