Dear al, let me try again: The following works in mkii but all the buttons get squeezed together in mkiv. I have the hunch that I'm doing something that I am not supposed to which just accidentally works in mkii. But I can't figure out what. Thanks, Matthias \setupbodyfont [10pt] % Colors \setupcolors [state=start] \setupcolor [rgb] \definecolor [HyperlinkColor] [r=.6,g=.1,b=.2] %Hyperlinks \definecolor [ContrastColor] [r=.1,g=.2,b=.2] % ? \definecolor [InteractionColor] [r=.1,g=.3,b=.2] %available actionbar bars \definecolor [ContrastColor2] [r=.1,g=.1,b=.4] %current actionbar bar \setupinteraction [ state=start, menu=on, page=yes, color=HyperlinkColor, contrastcolor=ContrastColor] \setupinteractionmenu [bottom] [leftoffset=+10pt, rightoffset=-10pt] \startinteractionmenu[bottom] \txt \InteractionButtons \\ \stopinteractionmenu \def\InteractionButtons% {\interactionbuttons [width=40em,height=1em] [PreviousJump,NextJump, firstpage, firstsubpage,previouspage,nextpage,lastsubpage, lastpage, CloseDocument]} \setupinteractionmenu [ state=start] % Page Layout \setuppapersize [S6][S6] \setuplayout [ bottomspace=.8cm, bottom=12pt] \starttext \dorecurse{10}{\input knuth\par} \stoptext
Hi Mathias, I played with your example. It looks like that the interactionbuttons option "width" works differentlty in MKIV. When replacing this with .9 \textwidth the buttons are placed over the whole area. However there is no spacing between the buttons. So we must ask Hans what has changed ... Kind regards Willi On 2 Apr 2010, at 23:08, Matthias Weber wrote:
\def\InteractionButtons% {\interactionbuttons [width=40em,height=1em] width=\.9\textwidth [PreviousJump,NextJump, firstpage, firstsubpage,previouspage,nextpage,lastsubpage, lastpage, CloseDocument]}
On 3-4-2010 4:08, Willi Egger wrote:
Hi Mathias,
I played with your example. It looks like that the interactionbuttons option "width" works differentlty in MKIV. When replacing this with .9\textwidth the buttons are placed over the whole area. However there is no spacing between the buttons.
So we must ask Hans what has changed ...
i remember changing something for the sake of configureablility but forgot what (i was actually thinking of moving that bit of code to a module and extend it it a bit) as i had to switch to do something else Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
So what do you recommend: - not use the interactionbuttons - pray that they will start working some time in the future - buy Hans a beer (I would have done that a while ago, but shipping is more expensive than the product. Maybe there is a service in Holland where you can have beer delivered like online florists do for flowers?) Matthias On Apr 3, 2010, at 12:14 PM, Hans Hagen wrote:
On 3-4-2010 4:08, Willi Egger wrote:
Hi Mathias,
I played with your example. It looks like that the interactionbuttons option "width" works differentlty in MKIV. When replacing this with .9\textwidth the buttons are placed over the whole area. However there is no spacing between the buttons.
So we must ask Hans what has changed ...
i remember changing something for the sake of configureablility but forgot what (i was actually thinking of moving that bit of code to a module and extend it it a bit) as i had to switch to do something else
Hans
----------------------------------------------------------------- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 5-4-2010 12:59, Matthias Weber wrote:
So what do you recommend:
- not use the interactionbuttons - pray that they will start working some time in the future - buy Hans a beer (I would have done that a while ago, but shipping is more expensive than the product. Maybe there is a service in Holland where you can have beer delivered like online florists do for flowers?)
well, i'm not that often drinking beers, mostly at tex conferences -) so patience works best i guess Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Matthias Weber
-
Willi Egger