Re: [NTG-context] interactionbuttons question

2008-12-17 Thread Alan STONE
How do you get the buttons within the edge's left and right margins while
keeping the button width=\rightedgewidth ?

\setuplayout[
 rightmargin=0mm,
 rightedge=15mm]

\showframe

\def\myButtons{
\vtop {
  \interactionbuttons[
   width=\rightedgewidth,
   height=20pt]
   [StartMovie]
  \blank
  \interactionbuttons[
   width=\rightedgewidth,
   height=20pt]
   [StartMovie]}}

\setupinteraction[state=start]

\setuptexttexts[edge]
 [][\myButtons]

\starttext
test
\stoptext

Best,
Alan
___
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
___


Re: [NTG-context] interactionbuttons question

2008-12-15 Thread Taco Hoekwater


Alan STONE wrote:
 Hi,
  
 Is it possible to make a column (a vertical alignment) of buttons with
 the interactionbuttons command ?

A simple solution could be \rotate[90], but that may look silly
depending on your style. Otherwise I guess you will have to do
the buttons by Hand, one at a time.

Best wishes,
Taco
___
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
___


[NTG-context] interactionbuttons question

2008-12-13 Thread Alan STONE
Hi,

Is it possible to make a column (a vertical alignment) of buttons with the
interactionbuttons command ?

If so, how to proceed ?

button 1
button 2
...
button x

-- 
Best,
Alan

* TeX engine = LuaTeX
*ConTeXt minimals ver: 2008.11.10 21:40 MKIV  fmt: 2008.11.21  int:
english/english
* Ubuntu 8.04 Hardy Heron
___
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
___


Re: [NTG-context] interactionbuttons

2008-09-04 Thread Hans Hagen
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
___


Re: [NTG-context] interactionbuttons

2008-09-04 Thread Alan Stone
On Thu, Sep 4, 2008 at 10:12 AM, Hans Hagen [EMAIL PROTECTED] 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 ?)
___
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
___


[NTG-context] interactionbuttons

2008-09-03 Thread Alan Stone
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
___
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
___


Re: [NTG-context] interactionbuttons

2008-09-03 Thread Alan Stone
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
___
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
___