From: Christoph Reller <christoph.reller@gmail.com>
To: ntg-context <ntg-context@ntg.nl>
Subject: Re: Support of PDF Optional Content Groups (Layers)
Date: Mon, 17 Nov 2014 11:51:09 +0100 [thread overview]
Message-ID: <CAO8LnPFa7nRvc92HYUaX9nSkvj3nbnGOoTU0uFF4KOUherBuzQ@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1349 bytes --]
On Sun, 16 Nov 2014 15:29:20 Hans Hagen wrote:
> On 11/16/2014 9:52 PM, Wolfgang Schuster wrote:
> > Am 16.11.2014 um 20:47 schrieb Christoph Reller
> > >
> > > 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
Many thanks to all of you Hans, Wolfgang, and Pablo!
\definelayer and \startviewerlayer is a nice interface to basic OCGs
construction.
Is there any way to construct "Set-OCG-State Actions" with ConTeXt? (See
Section 8.5 Actions in the PDF Reference.) I admit that this is an advanced
feature of PDF and that most viewers apart from the Adobe Reader are not
capable of handling OCGs correctly.
Kind Regards, Christoph
[-- Attachment #1.2: Type: text/html, Size: 1959 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2014-11-17 10:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-17 10:51 Christoph Reller [this message]
2014-11-17 12:43 ` Hans Hagen
-- strict thread matches above, loose matches on Subject: below --
2014-11-19 20:19 Christoph Reller
2014-11-19 21:48 ` Wolfgang Schuster
2014-11-16 19:47 Christoph Reller
2014-11-16 20:46 ` Pablo Rodriguez
2014-11-16 20:52 ` Wolfgang Schuster
2014-11-16 23:28 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAO8LnPFa7nRvc92HYUaX9nSkvj3nbnGOoTU0uFF4KOUherBuzQ@mail.gmail.com \
--to=christoph.reller@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).