From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36952 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: Hiding PDF-Layer Date: Wed, 10 Oct 2007 13:50:08 +0200 Message-ID: <470CBC70.8050701@gmx.net> References: <115224fb0710090749s21cf16bdq82f76f28a736ca4@mail.gmail.com> <470BA00E.2020808@gmx.net> <115224fb0710100335o48d17bb1o32a955d982753b55@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 1192022434 12849 80.91.229.12 (10 Oct 2007 13:20:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Oct 2007 13:20:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 10 15:20:32 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 1IfbUG-0006HL-1m for gctc-ntg-context-518@m.gmane.org; Wed, 10 Oct 2007 15:20:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7FAB41FBC9; Wed, 10 Oct 2007 15:20:26 +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 17322-08; Wed, 10 Oct 2007 15:20:13 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A8ACE1FC1A; Wed, 10 Oct 2007 13:50:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3F8D21FC1A for ; Wed, 10 Oct 2007 13: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 09172-03-4 for ; Wed, 10 Oct 2007 13:50:09 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 070FF1FC07 for ; Wed, 10 Oct 2007 13:50:08 +0200 (CEST) Original-Received: (qmail invoked by alias); 10 Oct 2007 11:50:08 -0000 Original-Received: from i577ACEF9.versanet.de (EHLO [192.168.1.3]) [87.122.206.249] by mail.gmx.net (mp038) with SMTP; 10 Oct 2007 13:50:08 +0200 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX18XQGEHD6MXQBH72ApTiuMvxEthE/DPxdkuyw4G3f PuKptbo/cbb7yW User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <115224fb0710100335o48d17bb1o32a955d982753b55@mail.gmail.com> X-Enigmail-Version: 0.95.3 X-Y-GMX-Trusted: 0 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:36952 Archived-At: Wolfgang Schuster schrieb: > 2007/10/9, Peter Rolf : >> Hi Wolfgang, >> >> Wolfgang Schuster schrieb: >>> 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] >> ^^ >> [title={layer 1}, state=stop] >> >> should work. >> >> Best wishes, Peter >> >>> \button{HIDE L1}[HideLayer{L1}] >>> \button{VIDE L1}[VideLayer{L1}] >>> >>> \midaligned >>> {\definedfont[Mono at 150pt]% >>> \startproperty[L1] >>> TEST >>> \stopproperty} >>> >>> \stoptext >>> >>> Wolfgang > > Hi Peter, > > this did work but you can omit the braces around "title 1", > you need them only if you have brackets in the title. > Hi Wolfgang, Please allow an old man to emphasize a text block by putting it into braces. This way it is easier for me to recognize ;) Greetings, Peter > 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 > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 ___________________________________________________________________________________