On 11/16/2014 9:52 PM, Wolfgang Schuster wrote:

Am 16.11.2014 um 20:47 schrieb Christoph Reller
<christoph.rel...@gmail.com <mailto:christoph.rel...@gmail.com>>:

Hi,

Has ConTeXt any support for producing a PDF with "optional content
groups" (OCGs)?

In Adobe's jargon OCGs are also known as "layers" (not to confuse with
layers in ConTeXt). See Section "4.10.2 Making Graphical Content
Optional" in the PDF Reference 1.7 available at
http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/pdf_reference_1-7.pdf

I cannot find anything on the Wiki nor in the ntg-context emails and
grepping through the source code for "ocg" does not give reasonable
results.

You have to look for \defineviewerlayer and \startviewerlayer.

A quick test if your pdf viewer supports is is:

\showlayoutcomponents

\starttext
    \input tufte
\stoptext

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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