ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Support of PDF Optional Content Groups (Layers)
Date: Wed, 19 Nov 2014 22:48:00 +0100	[thread overview]
Message-ID: <498613AD-FDD3-4E16-B05C-44783AA68393@gmail.com> (raw)
In-Reply-To: <CAO8LnPHJqKk_oExWHMPSYpoROKmA29q-9EAmpnV_vYoX_p54vA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1129 bytes --]


> Am 19.11.2014 um 21:19 schrieb Christoph Reller <christoph.reller@gmail.com>:
> 
> On 11/17/2014 13:43 PM, Hans Hagen wrote:
> > On 11/17/2014 11:51 AM, Christoph Reller wrote:
> > > 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.
> > 
> > I'm not sure what you mean but with the \goto command you can do a lot,
> > including sequences of actions that enable/disable layers and so (often
> > these things are done via javascript actions).
> 
> Thank you Hans for the pointer to \goto. Unfortunately, javascript is not suitable for my purpose because the PDF will be converted to PDF/A2. I want to switch on and off OCGs but with Set-OCG-State actions. Even if this is beyond the capabilities of ConTeXt, it is nice to know that there is a javascript-based solution.

Can you show a example for this. At the moment you can disable layers when the document is printed.

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 3103 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
___________________________________________________________________________________

  reply	other threads:[~2014-11-19 21:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-19 20:19 Christoph Reller
2014-11-19 21:48 ` Wolfgang Schuster [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-11-17 10:51 Christoph Reller
2014-11-17 12:43 ` Hans Hagen
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=498613AD-FDD3-4E16-B05C-44783AA68393@gmail.com \
    --to=schuster.wolfgang@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).