Re: [NTG-context] how to implement buttons, navigator in context's presentation

2013-01-07 Thread Wolfgang Schuster
:= unitsquare xscaled OverlayWidth yscaled OverlayHeight ; fill p withcolor .8white ; draw p withcolor .625red ; \stopuseMPgraphic \defineoverlay[button][\useMPgraphic{wrong or right}] \setupbuttons[background=button,frame=off] \setupinteraction[state=start

Re: [NTG-context] LuaTex error attempt to index global 'lang' (a nil value)

2008-04-12 Thread Roland
' LuaTools | LuaTools | runtime: 10.399 seconds @Taco, I think my core-ref.tex contains the same as yours: 3165 \def\setupbuttons 3166{\dodoubleargument\getparameters[\??bt]} 3167 3168 \definecomplexorsimpleempty\button 3169 3170 \def\complexbutton 3171

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Å uklje
] \setupbodyfont[options] \setupbodyfontenvironment[settings][settings] \setupbottom[settings][settings] \setupbottomtexts[text|margin|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber] \setupbuffer[name][options] \setupbuttons[state][settings] \setupcapitals[title=yes|no][sc

Re: [NTG-context] How to display JavaScript's values in ConTeXt

2006-09-06 Thread Peter Rolf
][][ \setupfield [Results] [horizontal,frame] [width=fit, height=2cm, frame=on] [height=18pt,width=80pt,align=middle,frame=off] [height=18pt,width=80pt,color=red,align=right,style=type,frame=off] \setupbuttons [background=infobutton] \starttext Click \button{7}[JS(digit{7

Re: [NTG-context] How to display JavaScript's values in ConTeXt

2006-09-05 Thread Peter Rolf
=off] \setupbuttons [background=infobutton] \starttext Click \button{7}[JS(digit{7})] will get \field[Stack.1] \stoptext I only copied these codes from art-calc.pdf so there must be some other critical

Re: [NTG-context] How to display JavaScript's values in ConTeXt

2006-09-05 Thread Zhichu Chen
, height=2cm, frame=on] [height=18pt,width=80pt,align=middle,frame=off] [height=18pt,width=80pt,color=red,align=right,style=type,frame=off] \setupbuttons [background=infobutton] \starttext Click \button{7}[JS(digit{7})] will get \field[Stack.1] \stoptext

Re: [NTG-context] How to display JavaScript's values in ConTeXt

2006-09-05 Thread Zhichu Chen
, height=2cm, frame=on] [height=18pt,width=80pt,align=middle,frame=off] [height=18pt,width=80pt,color=red,align=right,style=type,frame=off] \setupbuttons [background=infobutton] \starttext Click \button{7}[JS(digit{7})] will get \field[Stack.1] \stoptext

[NTG-context] How to display JavaScript's values in ConTeXt

2006-09-04 Thread Zhichu Chen
,align=right,style=type,frame=off] \setupbuttons [background=infobutton] \starttext Click \button{7}[JS(digit{7})] will get \field[Stack.1] \stoptext I only copied these codes from art-calc.pdf so there must be some

[NTG-context] Movies

2006-02-08 Thread Hans van der Meer
were set with: \def\renderingmenu[#1]% {\hbox {\setupbuttons[width=2.5em]% \button{\symbol[StartMovie]} [StartMovie{#1}]\enspace \button{\symbol[StopMovie]} [StopMovie{#1}]\enspace \button{\symbol[PauseMovie]} [PauseMovie{#1}]\enspace \button{\symbol

Re: [NTG-context] Movies

2006-02-08 Thread Hans van der Meer
,preview=yes] That's what I had and somehow could not get working again. I therefore did some experimenting and now I have something working: \setupinteraction[menu=on,state=start] \def\renderingmenu[#1]% {\hbox {\setupbuttons[width=16mm,height=12mm]% \button{\symbol

Re: [NTG-context] U3D (embedded 3D objects)

2006-01-30 Thread Hans Hagen
][application/x-shockwave-flash][celebration.swf] \useexternalrendering[example-5][video/quicktime] [p1000726.mov] \useexternalrendering[example-6][application/smil] [quadratic_map.smi] \def\renderingmenu[#1]% {\hbox {\setupbuttons[width=2.5em]% \button{\symbol

Re: [NTG-context] U3D (embedded 3D objects)

2006-01-30 Thread Matthias Weber
] \def\renderingmenu[#1]% {\hbox {\setupbuttons[width=2.5em]% \button{\symbol[StartRendering]} [StartRendering{#1}]\enspace \button{\symbol[StopRendering]} [StopRendering{#1}]\enspace \button{\symbol[PauseRendering]} [PauseRendering{#1}]\enspace \button