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
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
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 -----------------------------------------------------------------
On Thu, Sep 4, 2008 at 10:12 AM, Hans Hagen
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 ?)
participants (2)
-
Alan Stone
-
Hans Hagen