ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Hiding the content (drawing empty boxes?)
Date: Fri, 08 Jul 2005 14:33:53 +0200	[thread overview]
Message-ID: <42CE72B1.3050204@wxs.nl> (raw)
In-Reply-To: <42CE5A62.6090401@gmail.com>

Mojca Miklavec wrote:

> Tu sum it up:
> - the adapted plain TeX trick with boxes doesn't place any content, but 
> only works for plain text (not useful)
> - \startproperty[mysecret] hides the content (works satisfactory in that 
> view), but only works on Adebe Acrobat, not even in the Wiki
> - \startproperty[hidden] works on more browsers, but has the same effect 
> as making fonts transparent: it doesn't influence any rules, figures, 
> ... only fonts.
> 
> 
> For those complaining that hiding doesn't work on other PDF viewers: 
> Adobe also gives up (one of those nice "undocummented features", one 
> could also call them bugs) if I try to save the resulting file as TXT. I 
> just wanted to check if the hidden content will be saved, but I didn't 
> manage to save anything anyway.

i've added printable support (was already there but no key available)

\setupinteraction[state=start]

\defineproperty [mojca] [layer] [state=stop]

\starttext

\input ward

\startproperty[mojca]I hate hacking TeX!\stopproperty

\input davis

\button{Show   Mojca's Secret}[VideLayer{mojca}]
\button{Hide   Mojca's Secret}[HideLayer{mojca}]
\button{Toggle Mojca's Secret}[ToggleLayer{mojca}]

\stoptext

the bad news is is that acrobat does not handle it (my guess is that such 
features don't work becausethey have no way of testing it)

Hans



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2005-07-08 12:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-07 21:45 Mojca Miklavec
2005-07-07 21:57 ` Hans Hagen
2005-07-07 22:33   ` Mojca Miklavec
2005-07-07 23:13     ` Adam Lindsay
2005-07-08  7:12       ` Hans Hagen
2005-07-08  8:40         ` Patrick Gundlach
2005-07-08  9:23         ` Adam Lindsay
2005-07-08 10:50           ` Mojca Miklavec
2005-07-08 12:33             ` Hans Hagen [this message]
2005-07-08 16:43               ` Mojca Miklavec

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=42CE72B1.3050204@wxs.nl \
    --to=pragma@wxs.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).