ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Meer, Hans van der" <H.vanderMeer@uva.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: Re: Support for Optional Content Groups
Date: Sun, 22 May 2016 09:22:01 +0000	[thread overview]
Message-ID: <5CA36AC2-F205-4EDC-8CB0-834DDB2A4EE1@uva.nl> (raw)
In-Reply-To: <53B598D3.4050202@wxs.nl>


> On 03 Jul 2014, at 19:54, Hans Hagen <pragma@wxs.nl> wrote:
> 
> I tried this in acrobat:
> 
> \defineviewerlayer[visibleandprint]      [printable=yes,state=start]
> \defineviewerlayer[visibleandnotprint]   [printable=no, state=start]
> \defineviewerlayer[notvisibleandprint]   [printable=yes,state=stop]
> \defineviewerlayer[notvisibleandnotprint][printable=no, state=stop]
> 
> \setupinteraction[state=start]
> 
> \starttext
> 
> \startviewerlayer[visibleandprint]       visible and print \stopviewerlayer \blank
> \startviewerlayer[visibleandnotprint]    visible and not print \stopviewerlayer \blank
> \startviewerlayer[notvisibleandprint]    not visible and print \stopviewerlayer \blank
> \startviewerlayer[notvisibleandnotprint] not visible and not print \stopviewerlayer \blank
> 
> \stoptext
> 
> and found out that we need an extra piece of info for acrobat to be happy. I'll upload a beta with that addition.
> 
> I wonder if other viewers handle layers well.

I tried this today and report the results, curious to see how on my Apple Macintosh the following readers cope with this:

- Adobe Acrobat Reader DC version 15.016.20041 (most recent): does as is intended
- Apple Preview: shows all four, definitely a bad score for Apple here. 

Hans van der Meer




___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2016-05-22  9:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <947663393.140271.1404401839314.JavaMail.zimbra@pentandra.com>
2014-07-03 15:55 ` Chris Chapman
2014-07-03 16:33   ` Wolfgang Schuster
2014-07-03 17:54   ` Hans Hagen
2014-07-03 18:08     ` Chris Chapman
2016-05-22  9:22     ` Meer, Hans van der [this message]
2016-05-22  9:36       ` Framing multiline equations L.S.-Soc&Gam
2016-05-22 15:56         ` 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=5CA36AC2-F205-4EDC-8CB0-834DDB2A4EE1@uva.nl \
    --to=h.vandermeer@uva.nl \
    --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).