From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Hiding PDF-Layer
Date: Wed, 10 Oct 2007 12:35:48 +0200 [thread overview]
Message-ID: <115224fb0710100335o48d17bb1o32a955d982753b55@mail.gmail.com> (raw)
In-Reply-To: <470BA00E.2020808@gmx.net>
2007/10/9, Peter Rolf <indiego@gmx.net>:
> 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.
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
___________________________________________________________________________________
next prev parent reply other threads:[~2007-10-10 10:35 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
2007-10-10 10:35 ` Wolfgang Schuster [this message]
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=115224fb0710100335o48d17bb1o32a955d982753b55@mail.gmail.com \
--to=schuster.wolfgang@googlemail.com \
--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).