ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Giuseppe Bilotta <bourbaki@bigfoot.com>
Subject: Outlines in ConTeXt?
Date: Tue, 20 Nov 2001 13:38:39 +0100	[thread overview]
Message-ID: <9211723848.20011120133839@bigfoot.com> (raw)

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


                 reply	other threads:[~2001-11-20 12:38 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=9211723848.20011120133839@bigfoot.com \
    --to=bourbaki@bigfoot.com \
    /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).