After modifying the s-pre-05.tex example and replacing
\setupinteractionmenu[right] with \defineinteractionmenu[myMenu][right]
the menu doesn't show up anymmore in the pdf.
What's missing ?
Thanks,
Alan
%\usemodule[pre-general]
\setuppapersize[S6][S6]
\setupbodyfont[14.4pt]
\setuplayout
[width=430pt,
height=400pt,
header=0pt,
footer=0pt,
margin=0pt,
backspace=25pt,
topspace=25pt,
rightedgedistance=20pt,
rightedge=110pt]
\setupcolors[state=start]
%\setupinteractionscreen[option=max]
%\setupbackgrounds[state=repeat]
%\setupbackgrounds[page]
% [backgroundcolor=white]
\setupinteraction[
state=start,
menu=on]
% page=yes/no % what is that ?
\defineinteractionmenu[myMenu][right][
before=,
after=,
style=smallbold,
height=35pt,
offset=10pt,
frame=on]
%\startinteractionmenu[right]
\startinteractionmenu[myMenu]
\placelist[chapter][
criterium=all,
alternative=right, % what is "right" ?
maxwidth=.8\rightedgewidth,
% interaction=all, % what is this supposed to be for ?
before=,
after=]
\vfill
% \setupinteractionmenu[right]
\setupinteractionmenu[myMenu]
[height=30pt]
\but [CloseDocument] Close \\
\stopinteractionmenu
\setupwhitespace[big]
\setupblank[big]
%\defineoverlay[NextPage][\overlaybutton{forward}]
\def\StartTitlePage%
{
\setupbackgrounds[text][text][background=]
% \setupinteraction[menu=off]
\setupinteraction[menu=on]
% \setupinteractionbar[state=stop]
\setupinteractionbar[state=start]
\setuplayout[width=550pt,rightedge=0pt]
\startstandardmakeup
\switchtobodyfont[24pt]
\bfd\setupinterlinespace
\setupalign[middle]
\vfil
\let\\=\vfil}
\def\StopTitlePage%
{\vfil\vfil\vfil
\stopstandardmakeup
\setuplayout[width=430pt,rightedge=110pt]
\setupinteraction[menu=on]
\setupinteractionbar[state=start]
}
\def\TitlePage#1%
{\StartTitlePage#1\StopTitlePage}
\setuphead
[chapter, title]
[after={\blank[3*medium]},
number=no,
style=\tfb,
page=yes,
alternative=middle]
\setuphead
[section]
[after=\blank,
number=no,
page=yes,
continue=no,
style=\tfa]
\starttext
\TitlePage{Title Page}
Some Nice Quotes
\chapter{A Few}
\section{Knuth} \input knuth
\section{Tufte} \input tufte
\chapter{Some More}
\section{Zapf} \input zapf
\section{Bryson} \input bryson
\stoptext