On Tue, 2012-04-24 at 14:42 +0200, Hans Hagen wrote:
> as a prelude, the next beta will have
> 
> \setupcolors[pagecolormodel=rgb] % gray rgb cmyk auto none
> 
> and issue a warning when no model is set when using transparencies

Thanks Hans. I'll add that to my environment. When using the
aforementioned beta, I take it I can remove the inline lua?

    \startluacode
    backends                = backends                or { }
    backends.codeinjections = backends.codeinjections or { }

    function backends.codeinjections.rgbtransparencygroup()
        local d = lpdf.dictionary {
            S  = lpdf.constant("Transparency"),
            CS = lpdf.constant("DeviceRGB"),
            I  = true }
        lpdf.registerpagefinalizer(function()
    lpdf.addtopageattributes("Group",d) end)
    end

    backends.codeinjections.rgbtransparencygroup()
    \stopluacode

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

Attachment: signature.asc
Description: This is a digitally signed message part

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to