From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3939 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Tooltips suggestions Date: Wed, 31 Jan 2001 10:51:03 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010131105103.01dffb80@server-1> References: <003101c08b08$2de73420$a3ccfea9@nuovo> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394642 21479 80.91.224.250 (23 Oct 2002 17:37:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:37:22 +0000 (UTC) Cc: "ConTeXt" Original-To: "Giuseppe Bilotta" In-Reply-To: <003101c08b08$2de73420$a3ccfea9@nuovo> Xref: main.gmane.org gmane.comp.tex.context:3939 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3939 At 10:45 PM 1/30/01 +0100, Giuseppe Bilotta wrote: >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 ... Some of these are on my todo list [actually what i also want is auto stick to the left/right handling which is doable]. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------