From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36929 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Hiding PDF-Layer Date: Tue, 9 Oct 2007 16:49:51 +0200 Message-ID: <115224fb0710090749s21cf16bdq82f76f28a736ca4@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1191941477 28838 80.91.229.12 (9 Oct 2007 14:51:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Oct 2007 14:51:17 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 09 16:51:06 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IfGPc-0001Nt-5q for gctc-ntg-context-518@m.gmane.org; Tue, 09 Oct 2007 16:50:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B2AAB1FB82; Tue, 9 Oct 2007 16:50:13 +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 25966-04-17; Tue, 9 Oct 2007 16:50:02 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B81D71FB5B; Tue, 9 Oct 2007 16:50:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 371C01FB4F for ; Tue, 9 Oct 2007 16:50:00 +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 25966-04-16 for ; Tue, 9 Oct 2007 16:49:53 +0200 (CEST) Original-Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by ronja.ntg.nl (Postfix) with ESMTP id EACED1FB60 for ; Tue, 9 Oct 2007 16:49:52 +0200 (CEST) Original-Received: by wx-out-0506.google.com with SMTP id i27so1731102wxd for ; Tue, 09 Oct 2007 07:49:51 -0700 (PDT) Original-Received: by 10.90.56.11 with SMTP id e11mr6362134aga.1191941391442; Tue, 09 Oct 2007 07:49:51 -0700 (PDT) Original-Received: by 10.90.70.1 with HTTP; Tue, 9 Oct 2007 07:49:51 -0700 (PDT) Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36929 Archived-At: Hi, I want to include PDF layers in document and the should be hidden by default, the current behaviour is to show all layers I defined in my document and this should be later by the user and not when I open the file. The following shortened example from the modules show what I mean, the text "Text" can be seen when you open the document but it should appear only if you press the "VIDE" button. \starttext \setupinteraction[state=start] \defineproperty[L1][layer][title=layer 1] \button{HIDE L1}[HideLayer{L1}] \button{VIDE L1}[VideLayer{L1}] \midaligned {\definedfont[Mono at 150pt]% \startproperty[L1] TEST \stopproperty} \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________