From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6225 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Outlines in ConTeXt? Date: Tue, 20 Nov 2001 13:38:39 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <9211723848.20011120133839@bigfoot.com> Reply-To: Giuseppe Bilotta NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035396765 8661 80.91.224.250 (23 Oct 2002 18:12:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:12:45 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:6225 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6225 Hello, Yet Another Dirty Question: my next requirement is "outlines". I really don't know if such a thing is possible in ConTeXt (or in TeX) though. By outline I mean a text (usually a list) which contains subtext that can be expanded and contracted: 1. item one 2. item two 3. item three || || \/ 1. item one This is item one expanded 2. item two This is item two expanded 3. item three This is item three expanded When I ask for outlines in ConTeXt of course I ask for *interactive* outlines: you click on one item, and the expansion show; you click again on it, and they roll up again. Something like help screens, but without hiding the current page. Such a thing ought to be used together with "elastic" page length (a page is longer when items are expanded). The only way I could think of to achieve a similar behavior is by typesetting the text repeatedly, expanding the various items, and then creating appropriate links. This is extremely long, slow, inefficient (unless objects are *heavily* reused), creates very big documents and provides just an "emulation". So the question is: is there any (probably JavaScript) way to implement "real" outlines? -- Giuseppe "Oblomov" Bilotta