ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* HTML-like "title" attribute
@ 2011-02-17  0:03 Khaled Hosny
  2011-02-17  0:08 ` Khaled Hosny
  0 siblings, 1 reply; 6+ messages in thread
From: Khaled Hosny @ 2011-02-17  0:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I'm playing with some lua markdown parser[1], already added ConTeXt
output support except for two minor features.

HTML links and images can have a "title" attribute that shows like a
tooltip, but I don't seem to find a way to do similar trick in ConTeXt,
any ideas? \tooltip seems to be the closest but it requires JS which
means AR only, also seems one have to click for the tooltip ti show
which is not exactly the same behaviour.

Regards,
 Khaled

-- 
 Khaled Hosny
 Egyptian
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HTML-like "title" attribute
  2011-02-17  0:03 HTML-like "title" attribute Khaled Hosny
@ 2011-02-17  0:08 ` Khaled Hosny
  2011-02-17  4:33   ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Khaled Hosny @ 2011-02-17  0:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

The link https://github.com/jgm/lunamark :)

On Thu, Feb 17, 2011 at 02:03:04AM +0200, Khaled Hosny wrote:
> I'm playing with some lua markdown parser[1], already added ConTeXt
> output support except for two minor features.
> 
> HTML links and images can have a "title" attribute that shows like a
> tooltip, but I don't seem to find a way to do similar trick in ConTeXt,
> any ideas? \tooltip seems to be the closest but it requires JS which
> means AR only, also seems one have to click for the tooltip ti show
> which is not exactly the same behaviour.
> 
> Regards,
>  Khaled
> 
> -- 
>  Khaled Hosny
>  Egyptian

-- 
 Khaled Hosny
 Egyptian
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HTML-like "title" attribute
  2011-02-17  0:08 ` Khaled Hosny
@ 2011-02-17  4:33   ` Wolfgang Schuster
  2011-02-17 11:22     ` Khaled Hosny
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2011-02-17  4:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 181 bytes --]


Am 17.02.2011 um 01:08 schrieb Khaled Hosny:

> The link https://github.com/jgm/lunamark :)

How about making something like this: https://bitbucket.org/phg/context-rst

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 581 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HTML-like "title" attribute
  2011-02-17  4:33   ` Wolfgang Schuster
@ 2011-02-17 11:22     ` Khaled Hosny
  2011-02-17 11:25       ` Khaled Hosny
  0 siblings, 1 reply; 6+ messages in thread
From: Khaled Hosny @ 2011-02-17 11:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Feb 17, 2011 at 05:33:09AM +0100, Wolfgang Schuster wrote:
> 
> Am 17.02.2011 um 01:08 schrieb Khaled Hosny:
> 
> 
>     The link https://github.com/jgm/lunamark :)
> 
> 
> How about making something like this: https://bitbucket.org/phg/context-rst

I'm just playing, I actually have no need for it. I'm just experimenting
with the idea of taking a markdown and directly processing it in context
with no intermediate steps. But I'm sure I'll find some clever tricks
and interesting ideas in your rST code :)

Regards,
 Khaled

-- 
 Khaled Hosny
 Egyptian
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HTML-like "title" attribute
  2011-02-17 11:22     ` Khaled Hosny
@ 2011-02-17 11:25       ` Khaled Hosny
  2011-02-17 13:15         ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Khaled Hosny @ 2011-02-17 11:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Feb 17, 2011 at 01:22:28PM +0200, Khaled Hosny wrote:
> On Thu, Feb 17, 2011 at 05:33:09AM +0100, Wolfgang Schuster wrote:
> > 
> > Am 17.02.2011 um 01:08 schrieb Khaled Hosny:
> > 
> > 
> >     The link https://github.com/jgm/lunamark :)
> > 
> > 
> > How about making something like this: https://bitbucket.org/phg/context-rst
> 
> I'm just playing, I actually have no need for it. I'm just experimenting
> with the idea of taking a markdown and directly processing it in context
> with no intermediate steps. But I'm sure I'll find some clever tricks
> and interesting ideas in your rST code :)

Oops, I didn't look carefully, it is not yours, but still interesting
though :)

-- 
 Khaled Hosny
 Egyptian
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HTML-like "title" attribute
  2011-02-17 11:25       ` Khaled Hosny
@ 2011-02-17 13:15         ` Wolfgang Schuster
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2011-02-17 13:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 949 bytes --]


Am 17.02.2011 um 12:25 schrieb Khaled Hosny:

> On Thu, Feb 17, 2011 at 01:22:28PM +0200, Khaled Hosny wrote:
>> On Thu, Feb 17, 2011 at 05:33:09AM +0100, Wolfgang Schuster wrote:
>>> 
>>> Am 17.02.2011 um 01:08 schrieb Khaled Hosny:
>>> 
>>> 
>>>    The link https://github.com/jgm/lunamark :)
>>> 
>>> 
>>> How about making something like this: https://bitbucket.org/phg/context-rst
>> 
>> I'm just playing, I actually have no need for it. I'm just experimenting
>> with the idea of taking a markdown and directly processing it in context
>> with no intermediate steps. But I'm sure I'll find some clever tricks
>> and interesting ideas in your rST code :)
> 
> Oops, I didn't look carefully, it is not yours, but still interesting
> though :)

You should also take a look at Adityas filter module.

Using ConTeXt to convert markdown to PDF: http://randomdeterminism.wordpress.com/2011/01/09/markdowntopdf/

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 2249 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-17 13:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-17  0:03 HTML-like "title" attribute Khaled Hosny
2011-02-17  0:08 ` Khaled Hosny
2011-02-17  4:33   ` Wolfgang Schuster
2011-02-17 11:22     ` Khaled Hosny
2011-02-17 11:25       ` Khaled Hosny
2011-02-17 13:15         ` Wolfgang Schuster

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).