ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Giuseppe Bilotta" <oblomov@freemail.it>
Subject: Tooltips suggestions
Date: Tue, 30 Jan 2001 22:45:15 +0100	[thread overview]
Message-ID: <003101c08b08$2de73420$a3ccfea9@nuovo> (raw)

Hello,

I'm now wasting my time on tooltips :-), I thing that I dreamt of for a long
time; and wosh! lots of ideas! Since I like complicated things, I thought of the
following possible spoilments ...er, enhancements... for the tooltips:

* tooltips with non-fixed height (this can be achieved by changing an \inframed
into \framed), so that they can hold mathematics too;

* [connected with the above] multi-line tooltips (\\ does nothing in a tooltip);
this should also imply allowing for multi-paragraph text, and
allowing the user to choose a fixed width for the tooltip; note that the
multiline tooltip can be obtained by passing as argument
{\vbox{\hbox{first line}\hbox{second line}}, but if \box\tooltipbox has been
defined that way, passing {\box\tooltipbox} fails (too many }'s); why is this?

* customizable tooltips (custom background, mostly, and allowing them to appear
also above (not below, as they are now) the text, etc);

* "fixable" tooltips: clicking on the active zone or on them would "fix" them,
clicking again would restore them to tooltip status;

* now the hardest one: foottips/toolnotes or whatever: footnotes that also act
as tooltips (the footnote still being available at the bottom of the page, but
the footnote number being an active); a not-at-all good approximation of this is
the following code:

\def\FootNote#1{\setbox0=\hbox{\postponefootnotes\footnote{#1}}
\tooltip[middle]{\box0}{#1}}

Actually all the above suggestions can be achieved handcrafting a few macros
based on the ConTeXt predefined ones, but I thought it would be nice to have
them prepackaged ...

Giuseppe Bilotta

Using Microsoft products is like
having sex without condoms---but
much less pleasurable


             reply	other threads:[~2001-01-30 21:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-30 21:45 Giuseppe Bilotta [this message]
2001-01-31  9:51 ` Hans Hagen

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='003101c08b08$2de73420$a3ccfea9@nuovo' \
    --to=oblomov@freemail.it \
    /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).