[NTG-context] Hiding PDF-Layer
Wolfgang Schuster
schuster.wolfgang at googlemail.com
Tue Oct 9 16:49:51 CEST 2007
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
More information about the ntg-context
mailing list