Hello, What is needed to get \fieldstack working in mkiv? The following example works with mkii, but not with mkiv: \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 TIA for any hints! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
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 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
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
On 14-2-2010 17:45, Wolfgang Schuster wrote:
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
new attempt ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
new attempt
Am 14.02.10 19:16, schrieb Hans Hagen: the stepper did now work but why are the symbol names shown on the terminal here is a example from another file with more symbols (the symbols have the names 'go!symbol!...') fonts : using map file: lm-math {/Users/wolf/context/tex/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {/Users/wolf/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}go!symbol!2 go!symbol!3 go!symbol!4 go!symbol!5 go!symbol!6 go!symbol!7 go!symbol!8 go!symbol!9 go!symbol!10 !pages : flushing realpage 1, userpage 1, subpage 1 systems : end file test-go-5 at line 15 system : cont-err loaded Wolfgang
On 14-2-2010 20:12, Wolfgang Schuster wrote:
new attempt
Am 14.02.10 19:16, schrieb Hans Hagen: the stepper did now work but why are the symbol names shown on the terminal
here is a example from another file with more symbols (the symbols have the names 'go!symbol!...')
fonts : using map file: lm-math {/Users/wolf/context/tex/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {/Users/wolf/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}go!symbol!2
go!symbol!3
go!symbol!4
go!symbol!5
go!symbol!6
go!symbol!7
go!symbol!8
go!symbol!9
go!symbol!10
!pages : flushing realpage 1, userpage 1, subpage 1 systems : end file test-go-5 at line 15 system : cont-err loaded
because i added a print for tracing; i'll remove it ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Peter Münster
-
Wolfgang Schuster