ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Denis B. Roegel" <Denis.Roegel@loria.fr>
Cc: roegel@lorraine.loria.fr
Subject: still having interaction problems
Date: Wed, 22 May 2002 20:34:41 +0200 (MET DST)	[thread overview]
Message-ID: <200205221834.UAA19704@bar.loria.fr> (raw)

[this is a test, hopefully my list problem is now solved]

I have made some progress, in that one menu bar appears.
But I don't get the second one (bottom) in the following example.
I certainly forgot something... 

Thanks,  

Denis

% output=pdftex 

\setupcolors[state=start]

\setupalign[hanging]

\setupinteraction
  [state=start,
   color=green,
   character=bold,
   menu=on]

\setuplayout
   [rightedge=3cm,rightmargin=0cm]

\setupinteractionmenu
  [bottom]
  [leftoffset=-3pt,
   rightoffset=-3pt]

\setupinteractionbar
  [framecolor=white,rulethickness=1pt,
   height=\bottomheight,strut=no]

\def\InteractionBar%
  {\ifnum\nofsubpages>1
     \framed
       [framecolor=white,rulethickness=1pt,
        height=\bottomheight,strut=no] 
       {\interactionbar[alternative=f,width=.5\makeupwidth,height=1ex]}
   \fi}

\def\InteractionButtons%
  {\interactionbuttons
     [width=15em]
     [PreviousJump,NextJump,
      firstpage,
      firstsubpage,previouspage,nextpage,lastsubpage,
      lastpage,
      CloseDocument]}

\startinteractionmenu[bottom]
  \txt \InteractionBar \\
  \txt \InteractionButtons \\
\stopinteractionmenu

\startinteractionmenu[right]
  \placelist
    [Topic]
    [alternative=f, % command, % none,
     maxwidth=\hsize,
     width=\hsize,
     offset=0pt,
     criterium=all,
     align=left,
     style=\setsmallbodyfont\bfx]
\stopinteractionmenu

\definehead [Topic]   [chapter]

\starttext

\Topic{One}

test 

\Topic{Two}

\stoptext


                 reply	other threads:[~2002-05-22 18:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200205221834.UAA19704@bar.loria.fr \
    --to=denis.roegel@loria.fr \
    --cc=roegel@lorraine.loria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).