[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
>
- [O] make new links show as figures?, John Kitchin, 2013/10/22
- Re: [O] make new links show as figures?, Rick Frankel, 2013/10/23
- Re: [O] make new links show as figures?, Alan Schmitt, 2013/10/24
- Re: [O] make new links show as figures?,
Carsten Dominik <=
- Re: [O] make new links show as figures?, Rick Frankel, 2013/10/24
- Re: [O] make new links show as figures?, John Kitchin, 2013/10/24
- Re: [O] make new links show as figures?, Rick Frankel, 2013/10/25
- Re: [O] make new links show as figures?, John Kitchin, 2013/10/26
- Re: [O] make new links show as figures?, Rick Frankel, 2013/10/30
- Re: [O] make new links show as figures?, Alan Schmitt, 2013/10/31
- Re: [O] make new links show as figures?, Rick Frankel, 2013/10/31
- Re: [O] make new links show as figures?, Cook, Malcolm, 2013/10/31
- Re: [O] make new links show as figures?, Rick Frankel, 2013/10/31
- Re: [O] make new links show as figures?, Alan Schmitt, 2013/10/31