ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* interactionbuttons
@ 2008-09-03 10:12 Alan Stone
  2008-09-03 15:03 ` interactionbuttons Alan Stone
  2008-09-04  8:12 ` interactionbuttons Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Alan Stone @ 2008-09-03 10:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 425 bytes --]

What's missing for this to work ?

\definereference[GoToToC][\goto{ToC}[myToC]]

\def\myButtons
    {\interactionbuttons[width=1cm][
        GoToToC,CloseDocument]}

\setupinteraction[state=start]

\setupfooter[state=start]
\setupfootertexts
    [\hfill \myButtons \hfill]
%    [\hfill test \hfill]

\showframe
%\showsetups

\starttext
\reference[myToC]{}
\placecontent

\chapter{Chapter 1}
\input knuth
\stoptext

Thx,
Alan

[-- Attachment #1.2: Type: text/html, Size: 638 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: interactionbuttons
  2008-09-03 10:12 interactionbuttons Alan Stone
@ 2008-09-03 15:03 ` Alan Stone
  2008-09-04  8:12 ` interactionbuttons Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Alan Stone @ 2008-09-03 15:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 191 bytes --]

The correct question was "what's too much to make it work"...

\definereference[GoToToC][myToC]

The button contains the text "GoToToC". How do you assign
a symbol to it instead ?

Thx,
Alan

[-- Attachment #1.2: Type: text/html, Size: 265 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: interactionbuttons
  2008-09-03 10:12 interactionbuttons Alan Stone
  2008-09-03 15:03 ` interactionbuttons Alan Stone
@ 2008-09-04  8:12 ` Hans Hagen
  2008-09-04 10:34   ` interactionbuttons Alan Stone
  1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2008-09-04  8:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Alan Stone wrote:
> What's missing for this to work ?
> 
> \definereference[GoToToC][\goto{ToC}[myToC]]
> 
> \def\myButtons
>     {\interactionbuttons[width=1cm][
>         GoToToC,CloseDocument]}

see symb-nav.tex


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


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

* Re: interactionbuttons
  2008-09-04  8:12 ` interactionbuttons Hans Hagen
@ 2008-09-04 10:34   ` Alan Stone
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Stone @ 2008-09-04 10:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 640 bytes --]

On Thu, Sep 4, 2008 at 10:12 AM, Hans Hagen <pragma@wxs.nl> wrote:

> see symb-nav.tex


Got that Hans. Thanks.

Now I'd like to assign a command to a(nother) new button. However, from what
I understand from

\button[...,...=...,...]{...}[ref,ref,...]
http://texshow.contextgarden.net/command/detail/482

it works with a ref (*), not with a command. Following the links which lead
to

\setupframed
http://texshow.contextgarden.net/cmd/setupframed

the only parameters which accept a command are top and bottom. What are
these ?

Or must I proceed otherwise ?

Thanks,
Alan

(*) what's meant by ref,ref,... ? One button = one ref (or not ?)

[-- Attachment #1.2: Type: text/html, Size: 1220 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2008-09-04 10:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-03 10:12 interactionbuttons Alan Stone
2008-09-03 15:03 ` interactionbuttons Alan Stone
2008-09-04  8:12 ` interactionbuttons Hans Hagen
2008-09-04 10:34   ` interactionbuttons Alan Stone

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