From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31402 Path: news.gmane.org!not-for-mail From: Renaud AUBIN Newsgroups: gmane.comp.tex.context Subject: Presentation style: customizing the right interaction menu (list-related thread) Date: Wed, 18 Oct 2006 14:01:57 +0200 Message-ID: <453617B5.9040407@nibua-r.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1418393327==" X-Trace: sea.gmane.org 1161175882 20318 80.91.229.2 (18 Oct 2006 12:51:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Oct 2006 12:51:22 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 18 14:51:18 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GaAsu-0008O2-L4 for gctc-ntg-context-518@m.gmane.org; Wed, 18 Oct 2006 14:51:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BCE281FE32; Wed, 18 Oct 2006 14:50:57 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25831-01; Wed, 18 Oct 2006 14:50:21 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 22A261FC61; Wed, 18 Oct 2006 14:50:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6AF211FC61 for ; Wed, 18 Oct 2006 14:50:04 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24859-06-2 for ; Wed, 18 Oct 2006 14:49:17 +0200 (CEST) Original-Received: from 42.mail-out.ovh.net (42.mail-out.ovh.net [213.251.189.42]) by ronja.ntg.nl (Postfix) with SMTP id 436A51FBB9 for ; Wed, 18 Oct 2006 14:49:17 +0200 (CEST) Original-Received: (qmail 27336 invoked by uid 503); 18 Oct 2006 12:11:30 -0000 Original-Received: from b6.ovh.net (HELO mail186.ha.ovh.net) (213.186.33.56) by 42.mail-out.ovh.net with SMTP; 18 Oct 2006 12:11:30 -0000 Original-Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 18 Oct 2006 12:02:04 -0000 Original-Received: from d83-179-99-76.cust.tele2.fr (HELO ?192.168.78.10?) (aubin@nibua-r.org@83.179.99.76) by ns0.ovh.net with SMTP; 18 Oct 2006 12:02:02 -0000 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: fr, en Original-To: ConTeXt Mailing List X-Ovh-Remote: 83.179.99.76 (d83-179-99-76.cust.tele2.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/N X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:31402 Archived-At: This is a multi-part message in MIME format. --===============1418393327== Content-Type: multipart/alternative; boundary="------------020802040705090308020303" This is a multi-part message in MIME format. --------------020802040705090308020303 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --------------020802040705090308020303 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
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


--------------020802040705090308020303-- --===============1418393327== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============1418393327==--