ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \fieldstack with mkiv
@ 2010-02-13 10:45 Peter Münster
  2010-02-14 13:32 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2010-02-13 10:45 UTC (permalink / raw)
  To: ConTeXt list

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/


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: \fieldstack with mkiv
  2010-02-13 10:45 \fieldstack with mkiv Peter Münster
@ 2010-02-14 13:32 ` Hans Hagen
  2010-02-14 16:45   ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2010-02-14 13:32 UTC (permalink / raw)
  To: ConTeXt list

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: \fieldstack with mkiv
  2010-02-14 13:32 ` Hans Hagen
@ 2010-02-14 16:45   ` Wolfgang Schuster
  2010-02-14 18:16     ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2010-02-14 16:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 698 bytes --]

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 #2: test.pdf --]
[-- Type: application/pdf, Size: 11488 bytes --]

[-- Attachment #3: test.tex --]
[-- Type: application/x-tex, Size: 279 bytes --]

[-- Attachment #4: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: \fieldstack with mkiv
  2010-02-14 16:45   ` Wolfgang Schuster
@ 2010-02-14 18:16     ` Hans Hagen
  2010-02-14 19:12       ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2010-02-14 18:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: \fieldstack with mkiv
  2010-02-14 18:16     ` Hans Hagen
@ 2010-02-14 19:12       ` Wolfgang Schuster
  2010-02-14 20:56         ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2010-02-14 19:12 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

Am 14.02.10 19:16, schrieb Hans Hagen:
> new attempt
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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: \fieldstack with mkiv
  2010-02-14 19:12       ` Wolfgang Schuster
@ 2010-02-14 20:56         ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2010-02-14 20:56 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

On 14-2-2010 20:12, Wolfgang Schuster wrote:
> Am 14.02.10 19:16, schrieb Hans Hagen:
>> new attempt
> 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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-02-14 20:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-13 10:45 \fieldstack with mkiv Peter Münster
2010-02-14 13:32 ` Hans Hagen
2010-02-14 16:45   ` Wolfgang Schuster
2010-02-14 18:16     ` Hans Hagen
2010-02-14 19:12       ` Wolfgang Schuster
2010-02-14 20:56         ` Hans Hagen

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).