[NTG-context] Presentation style: customizing the right interaction menu (list-related thread)

Renaud AUBIN aubin at nibua-r.org
Wed Oct 18 14:01:57 CEST 2006


Hi all,

I'm trying to make a custom presentation style using pre-original.
Considering the following piece of code extracted from s-pre-01.tex

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

I would like to know if it is possible to obtain the following behavior:
1. The sample code:
______________________________
\starttext

\TitlePage{Title Page\\pre-original}

\Topics{Some Nice Quotes}

\Topic{A Few}
\Subject{Knuth} \input knuth
\Subject{Tufte} \input tufte

\Topic{Some More}
\Subject{Zapf}   \input zapf
\Subject{Bryson} \input bryson

\stoptext
______________________________

2. The resulting right interaction menus:

(page 1) -> ok, placelist[Topic]...

(page 2) -> Topics page, idem

(page 3) -> \Topic{A few}, idem

(page 4) -> \Subject{Knuth}, here I would have the following right menu
(probably with smaller interline skips between the current Topic and his
Subject(s) and with a smaller font):
A few
  Knuth (highlighted)
  Tufte
Some more

(page 5) -> \Subject{Tufte}
A few
  Knuth
  Tufte (highlighted)
Some more

(page 6) -> \Topic{Some more}
A few
Some more (highlighted)

(page 7).... etc...

Now, I'm sure you all understand what I need  ;)

Possible ? (I defend my PhD soon and it'll be nice to have this nice
feature)

Renaud


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20061018/f9d553cc/attachment.html 


More information about the ntg-context mailing list