From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: make new links show as figures? Date: Wed, 23 Oct 2013 09:54:40 -0400 Message-ID: <20c923d8f003b0f570dad32bfb8adcbd@mail.rickster.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYyta-0000RB-SE for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 09:54:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYytU-0007Wb-U5 for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 09:54:46 -0400 Received: from [204.62.15.78] (port=40861 helo=mail.rickster.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYytU-0007WT-QI for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 09:54:40 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: emacs-orgmode@gnu.org 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. rick