From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Hiding PDF-Layer
Date: Wed, 10 Oct 2007 13:50:08 +0200 [thread overview]
Message-ID: <470CBC70.8050701@gmx.net> (raw)
In-Reply-To: <115224fb0710100335o48d17bb1o32a955d982753b55@mail.gmail.com>
Wolfgang Schuster schrieb:
> 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.
>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2007-10-10 11:50 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
2007-10-10 11:50 ` Peter Rolf [this message]
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=470CBC70.8050701@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).