> Am 19.11.2014 um 21:19 schrieb Christoph Reller <christoph.rel...@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
___________________________________________________________________________________ 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 ___________________________________________________________________________________