emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] make new links show as figures?


From: Carsten Dominik
Subject: Re: [O] make new links show as figures?
Date: Thu, 24 Oct 2013 12:08:59 +0200

On 24.10.2013, at 09:28, Alan Schmitt <address@hidden> wrote:

> Hi Rick and John,
> 
> address@hidden writes:
> 
>> On 2013-10-22 21:53, John Kitchin wrote:
>>> Is it possible to define new links that would be rendered as inline 
>>> images?
>>> 
>>> I am imagining something like
>>> 
>>> chemdraw:benzene.png
>>> 
>>> which would show the benzene.png file inline, but when I click on it
>>> would open a chemdraw file for editing.
>> 
>> unfortunately, it seems that `org-display-inline-images' has a
>> hardcoded regex which searches only for =file:= links.
>> 
>> Wouldn't a better way be to define =chemdraw= as a babel language?
>> 
>> ob-plantuml, ob-dot and ob-mscgen are all examples of babel languages
>> which generate images.
> 
> This may be related to a question I had a couple weeks ago (see
> http://article.gmane.org/gmane.emacs.orgmode/77567). The current logic
> seems to be to display inline images when the link points to an image,
> it would be great to extend it when the description, or part of the
> link, points to an image.

Indeed, currently this is not possible.  I would be interested to get a patch 
to this effect.

- Carsten

> 
> Alan
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]