From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2865 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: buttons below visible area Date: Wed, 04 Oct 2000 11:04:50 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20001004110450.01519c90@pop.wxs.nl> References: <20001003224514.09428@spi.power.uni-essen.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035393640 12396 80.91.224.250 (23 Oct 2002 17:20:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:20:40 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: johannes.huesing@uni-essen.de In-Reply-To: <20001003224514.09428@spi.power.uni-essen.de> Xref: main.gmane.org gmane.comp.tex.context:2865 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2865 At 10:45 PM 10/3/00 +0200, Johannes Hüsing wrote: >Another problem I am experiencing: > >When compiling the following source text, the defined menu which should be >at the bottom of the page is off the page. If I set the height to value >3\bottomheight, the buttons are cut off at the bottom, but at last readable. > >Any idea what I am doing wrong? Sure, you define another level of menus, \setupinteractionmenu[bottom][distance=overlay] This command makes sure that the next level is layed over the previous one (being bottom) Also, I suggest that you use: \startinteractionmenu[nav] \but [PreviousJump] prev jump \\ \but [NextJump] next jump \\ \stopinteractionmenu since it is more powerful, Btw, I would do: \setupinteractionmenu [bottom] [background=screen, frame=on, height=\bottomheight, align=left, distance=overlay, style=small] \defineinteractionmenu [nav][bottom] [state=start] \startinteractionmenu[nav] \but [PreviousJump] prev jump \\ \but [NextJump] next jump \\ \stopinteractionmenu Now, if you're in for an experiment, try: \setuppapersize[S6][S6] \setupinteraction[state=start,menu=on] \setupcolors[state=start] \setuplayout [topspace=12pt,header=0pt,height=100pt,footer=0pt, bottomdistance=4pt,bottom=18pt, backspace=12pt,margin=0pt,width=fit,edgedistance=12pt,rightedge=96pt] \setupinteractionmenu [bottom] [background=screen,frame=on,height=\bottomheight, style=small,align=left,distance=6pt] \dorecurse {10} {\ExpandFirstAfter\defineinteractionmenu[\recurselevel][bottom][state=start] \ExpandFirstAfter\startinteractionmenu[\recurselevel] \but [PreviousJump] prev jump \\ \hfill Keep On Jumping \hfill \but [NextJump] next jump \\ \stopinteractionmenu} \starttext \chapter[intro]{Introduction} \section[intro.purpose]{Purpose} Just to type out some text which is unimportant. The bottom of the screen counts. \stoptext And you will see why the distance is important. Try this with distance=overlay and you'll find that you can define many many menu's, turn them on and off on pages, let them overlay, etc etc. So, what you saw as a problem, is actually a feature -) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------