ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Hiding PDF-Layer
Date: Tue, 09 Oct 2007 17:36:46 +0200	[thread overview]
Message-ID: <470BA00E.2020808@gmx.net> (raw)
In-Reply-To: <115224fb0710090749s21cf16bdq82f76f28a736ca4@mail.gmail.com>

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


  reply	other threads:[~2007-10-09 15:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-09 14:49 Wolfgang Schuster
2007-10-09 15:36 ` Peter Rolf [this message]
2007-10-10 10:35   ` Wolfgang Schuster
2007-10-10 11:50     ` Peter Rolf
2007-10-10 12:57       ` Wolfgang Schuster

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=470BA00E.2020808@gmx.net \
    --to=indiego@gmx.net \
    --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).