From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21270 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Hiding the content (drawing empty boxes?) Date: Fri, 08 Jul 2005 14:33:53 +0200 Message-ID: <42CE72B1.3050204@wxs.nl> References: <42CDA274.6030503@gmail.com> <42CDA543.7060809@wxs.nl> <42CDADC2.5060800@gmail.com> <20050707231309.15531@mail.comp.lancs.ac.uk> <42CE2741.9040407@wxs.nl> <20050708092323.5775@mail.comp.lancs.ac.uk> <42CE5A62.6090401@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120826062 11456 80.91.229.2 (8 Jul 2005 12:34:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2005 12:34:22 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 08 14:34:12 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dqs37-0007jn-Io for gctc-ntg-context-518@m.gmane.org; Fri, 08 Jul 2005 14:33:45 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1960F1287D; Fri, 8 Jul 2005 14:33:44 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11645-01; Fri, 8 Jul 2005 14:33:39 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1232012878; Fri, 8 Jul 2005 14:33:39 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5621912878 for ; Fri, 8 Jul 2005 14:33:37 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11624-01 for ; Fri, 8 Jul 2005 14:33:36 +0200 (CEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 3EED712871 for ; Fri, 8 Jul 2005 14:33:36 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j68CXXVX020046 for ; Fri, 8 Jul 2005 14:33:33 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 2F7A031212; Fri, 8 Jul 2005 13:57:36 +0200 (CEST) Original-Received: from [10.100.1.53] (unknown [10.100.1.53]) by server-1.pragma-net.nl (Postfix) with ESMTP id E6EBD1A0CE for ; Fri, 8 Jul 2005 11:57:34 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <42CE5A62.6090401@gmail.com> X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on mailrelay02 X-Virus-Status: Clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21270 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21270 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 -----------------------------------------------------------------