Am 14.02.10 14:32, schrieb Hans Hagen:
On 13-2-2010 11:45, Peter Münster wrote:
\setupinteraction[state=start]
\definesymbol[step1][AAA]
\definesymbol[step2][BBB]
\definefieldstack[test][step1, step2]
\starttext
\fieldstack[test]

Just click \goto{here}[JS(Walk_Field{test})] to walk through the fieldstack!
\goto{(restart)}[JS(Set_Field{test, 1})]
\stoptext
\def\dodefinefieldstack[#1][#2][#3]% name, symbols, settings
  {\ifcsname fieldstack:#1\endcsname \else
     \setgvalue{fieldstack:#1}{\dodofieldstack[#1][#2][#3]}%
   \fi}

\else missing
works but only the first symbol is shown, all others are invisible

Wolfgang



Attachment: test.pdf
Description: Adobe PDF document

Attachment: test.tex
Description: TeX document

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to