[NTG-context] \fieldstack with mkiv

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Feb 14 17:45:58 CET 2010


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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pdf
Type: application/pdf
Size: 11487 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20100214/4eb32a81/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tex
Type: application/x-tex
Size: 279 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20100214/4eb32a81/attachment-0001.tex>


More information about the ntg-context mailing list