mailing-list for TeXmacs Users

Text archives Help


Re: help-balloon -> html with tooltip


Chronological Thread 
  • From: Jeroen Wouters <address@hidden>
  • To: Murali Agastya <address@hidden>,Basile Audoly <address@hidden>
  • Cc: TeXmacs <address@hidden>
  • Subject: Re: help-balloon -> html with tooltip
  • Date: Sun, 07 Mar 2021 19:38:46 +0000

Hello,

For an example of an html tooltip implementation, see here:
https://www.w3schools.com/howto/howto_css_tooltip.asp

The body of the balloon has empty CSS style, it's simply not implemented in TeXmacs:
https://github.com/texmacs/texmacs/blob/ba5849c700bf956d2a518e2b449534657ddb046c/TeXmacs/progs/convert/html/tmhtml.scm#L170

I think it shouldn't be too hard to implement something like the example in the first link.

Best,
Jeroen

On 7 March 2021 09:52:00 GMT, Murali Agastya <address@hidden> wrote:
Hi Basile,
Yes it does. Looking at the exported html file leads me to think something about the CSS is not quite right, but that is just a guess. 
Murali


On Sun, 7 Mar 2021, 8:01 pm Basile Audoly, <address@hidden> wrote:
Hi Murali,
have you checked whether the "standard" html language allows this in a first place?
I am not convinced this is the case. But my understanding of html is very basic.
Best,
Basile

Le 7 mars 2021 à 01:21, Murali Agastya <address@hidden> a écrit :


Hello all,
I wonder if someone has a small hack so that the html conversion of
<help-balloon| X | small tooltip|Right|Top> with "X" displayed and "small tooltip" appears only when the mouse hovers over X.

At the moment, the conversion displays as
<image.png>
It would of course be fantastic, if the new functionality of preview-ref  can also be used to get html conversion with the appropriate tooltips.

Much thanks, and apologies if I should be addressing this to the texmacs-dev group.
Kind regards,
Murali




Archive powered by MHonArc 2.6.19.

Top of page